J
Jon
I've written a perl script which parses a variety of webmail sites.
Unfortunately most of the work is hardcoded and picked out in regex's
because I can't seem to figure out a good way to either parse or
execute JavaScript within perl.
There is a JavaScript.pm on CPAN which I tried to use but had to code
all the DHTML classes into it using the bind_class function and began
to run into problems with things like: parent.document.frames[1].href
= 'http://www.google.com'
Right now I'm thinking about creating my own module and trying to tie
in some of mozilla's c functions/modules to execute the javascript I'm
parsing out of webpages.
Anyone know of a project that already does this or can think of a good
way to solve this problem? Thanks for any help...
Jon
Unfortunately most of the work is hardcoded and picked out in regex's
because I can't seem to figure out a good way to either parse or
execute JavaScript within perl.
There is a JavaScript.pm on CPAN which I tried to use but had to code
all the DHTML classes into it using the bind_class function and began
to run into problems with things like: parent.document.frames[1].href
= 'http://www.google.com'
Right now I'm thinking about creating my own module and trying to tie
in some of mozilla's c functions/modules to execute the javascript I'm
parsing out of webpages.
Anyone know of a project that already does this or can think of a good
way to solve this problem? Thanks for any help...
Jon