in reply to fetch HTML page, do javascript, read output from alert/msgbox
You "just" need to inject your own Javascript code into the fetched URL, and in that Javascript code redefine window.alert() to be the function you want.
If you're not tied to using Internet Explorer, you can easily do that with WWW::Mechanize::FireFox, but I'm biased, because I'm the author of that module :).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: fetch HTML page, do javascript, read output from alert/msgbox
by TheFlyingCorpse (Novice) on Nov 11, 2009 at 07:26 UTC | |
by Corion (Patriarch) on Nov 11, 2009 at 08:17 UTC | |
by TheFlyingCorpse (Novice) on Nov 11, 2009 at 10:55 UTC | |
by Corion (Patriarch) on Nov 11, 2009 at 12:05 UTC | |
by TheFlyingCorpse (Novice) on Nov 11, 2009 at 14:37 UTC | |
|