WWW-Scripter-Plugin-JavaScript-0.005 (alpha) A plugin for WWW::Scripter that provides JavaScript support This distribution contains: WWW::Scripter::Plugin::JavaScript 0.005 — The JavaScript plugin WWW::Scripter::Plugin::JavaScript::JE 0.006 — A back end for JE RECENT CHANGES (See the Changes file for the long version.) 0.005 ----- • Incompatible changes: • set now expects a WWW::Scripter object as the first argument. • new_function now adds the function to all JS environments. • New back_end method • The eval method is now public. • A piece of JavaScript code calling a method on another global object no longer dies. • JE is now the default back end, not SpiderMonkey. This is temporary. 0.004 ----- Scripts in frames now run in the context of the frame, not the top- level window. 0.003 ----- • Support for HTML::DOM 0.032’s new event handler model. This fixes various bugs involving event handler properties (‘theForm .onsubmit’). • The JE back end now supports those utterly useless HTML-generating methods of string objects that have been part of JavaScript since the very beginning. • The scope of an event handler now includes the document object. • HTML::DOM’s UTF-16 methods are now used, so textNode.data.length is equivalent to textNode.length. • The havoc caused by JavaScript accessing frames whose documents con- tain no scripts has been mostly cleaned up. • Various other bug fixes INSTALLATION The easiest way to install this module is to use the CPAN module or the cpan script: [sudo] perl -MCPAN -e "install WWW::Scripter::Plugin::JavaScript" [sudo] cpan WWW::Scripter::Plugin::JavaScript Or you can use the following: perl Makefile.PL make make test [sudo] make install DEPENDENCIES This module requires: - perl 5.8.3 or higher (5.8.4 or higher recommended) - JE 0.038 or higher - HTML::DOM 0.032 or higher - CSS::DOM - WWW::Scripter 0.007 or higher - Hash::Util::FieldHash::Compat - URI - LWP 5.815 or higher DOCUMENTATION After installing, you can find documentation for these modules with the perldoc command. perldoc WWW::Scripter::Plugin::JavaScript perldoc WWW::Scripter::Plugin::JavaScript::JE Or try using man (it's faster, in my experience): man WWW::Scripter::Plugin::JavaScript man WWW::Scripter::Plugin::JavaScript::JE COPYRIGHT AND LICENCE Copyright © 2009 Father Chrysostomos This program is free software; you may redistribute it and/or modify it under the same terms as perl.