supergg02 Posted March 3, 2006 Share Posted March 3, 2006 (edited) As bookmarklet technique in witch you can "inject" a javascript code in a given web page (ie just put the js code in IE url and hit OK buttom ), i tryed to do same thing with the great DaleHohm IE.au3 libarary but i have a strange result ( the js code was excuted but it load an other ie window )Here is my code:$o_IE=_IEAttach("http://www.google.com","url") ; google page was loaded before executing code$url="java script:document.forms.f.q.value=autoit;" $o_IE.navigate($url) ; here we inject js code just like bookmarkletbut the result is that ie load an empty page with the value "autoit" so my question is how we can inject and execute a js script in a given web page ?thinks for any help Edited March 3, 2006 by supergg02 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now