How to use JavaScript to fill a form on another page

前端 未结 4 1520
猫巷女王i
猫巷女王i 2020-11-29 05:08

I am trying to fill out the fields on a form through JavaScript. The problem is I only know how to execute JavaScript on the current page so I cannot redirect to the form a

4条回答
  •  鱼传尺愫
    2020-11-29 05:43

    If it would be possible to manipulate target websites without access to the target's system/source/mitm-methods then this would really be an open highway for malware in combination with clickjacking! I do not want your script to tell the form of my bank what to do. ;-)

    Use some kind of automation tools like AutoIt (www.autoitscript.com) for this purpose. Easy to learn and it hast good Form integration. If standard is not enough, look for UDFs like winhttp for AutoIt.

提交回复
热议问题