Jump to content
Sign in to follow this  
supergg02

IE.au3 and bookmarklet

Recommended Posts

supergg02

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 :sorcerer: ), 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 bookmarklet

but the result is that ie load an empty page with the value "autoit" :o:geek:

so my question is how we can inject and execute a js script in a given web page ?

thinks for any help

Edited by supergg02

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.