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 :).
In reply to Re: fetch HTML page, do javascript, read output from alert/msgbox
by Corion
in thread fetch HTML page, do javascript, read output from alert/msgbox
by TheFlyingCorpse
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |