This is one of those kinds of questions where the gut level reaction is "this person is not likely to get a satisfactory answer" ...
Hopefully, the gut is wrong, but on the off chance that a more direct and satisfying solution is not forthcoming, perhaps you can try an alternative approach. The alternative is to use 'perlscript' directly in a web browser page hosted in Internet Explorer. If you want it, here is a sample that does what you were asking about. Admittedly, it is a far cry from the (apparently a spider?) application that you are working on.
<html xmlns:ie="http://www.microsoft.com/windows/ie"> <head> <title>insert_title_here</title> <script language="perlscript"> sub captureClick{ if( $window->{event}{srcElement}{tagName} eq 'A'){ alert('someone clicked a link!!'); }; }###end_sub </script> </head> <body onclick="captureClick()"> <a href="#">foo link</a> </body> </html>
In reply to Re: Capturing a browser event in an ActiveX Browser Window
by dimar
in thread Capturing a browser event in an ActiveX Browser Window
by slloyd
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |