in reply to Browser Emulation

Maybe the Inline::Java family of modules can help with rendering the javascripted bits.

Warning, I've never tried it.

Update: Inline::Java should be able to to parse javascript syntax. You would need to provide it a navigator class, OnThisNThat methods, etc, which I think could be written in Perl with that module. Inline is a remarkable namespace.

After Compline,
Zaxo

Replies are listed 'Best First'.
Re: Re: Browser Emulation
by theorbtwo (Prior) on Feb 02, 2002 at 21:42 UTC

    Java and JavaScript are completly different languages. However, Netscape Navigator (I don't know about mozilla) has fairly good bridging.

    Also, it may be possible to perlify Mozilla's JavaScript engine. (Which is designed to be used as a library seperate from mozilla, IIRC.) That would certianly be a worthwhile, and probably rather difficult, project.

    Update: I actualy did Recall Correctly. The javascript interpreter mozilla uses is called JSRef, AKA SpiderMonkey. There is also Rhino, which is pure Java, and thus probably harder for you to use.

    Update: Fixed links.

    TACCTGTTTGAGTGTAACAATCATTCGCTCGGTGTATCCATCTTTG ACACAATGAATCTTTGACTCGAACAATCGTTCGGTCGCTCCGACGC