我正在使用一个脚本,该脚本正确地从我当前查看的页面中抓取数据。现在我需要知道让我将这些值注入(并提交)到在不同页面上找到的表单中的语法。
小书签的代码:
javascript:var%20s=document.createElement('script');s.setAttribute('src',%20'http://jquery.com/src/jquery-latest.js');document.getElementsByTagName('body')[0].appendChild(s);void(s);var%20s=document.createElement('script');s.setAttribute('src',%20'http://juststeve.com/test.js');document.getElementsByTagName('body')[0].appendChild(s);void(s);
可以针对: http: //juststeve.com/testData.htm 需要将其注入到表单中:http: //juststeve.com/testform.htm
谢谢