JavaScript::XRay

See What JavaScript is Doing
Download

JavaScript::XRay Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Jeff Bisbee
  • Publisher web site:
  • http://search.cpan.org/~jbisbee/Email-Filter-Rules-1.121/lib/Email/Filter/Rules.pm

JavaScript::XRay Tags


JavaScript::XRay Description

See What JavaScript is Doing JavaScript::XRay is a Perl module that allows you to see what JavaScript is doing.SYNOPSIS #!/usr/bin/perl use strict; use warnings; use JavaScript::XRay; # HTML page with a and tag and some javascript functions my $html_page = do { local $/; }; # create a new instance my $jsxray = JavaScript::XRay->new(); # to inline/filter external javascript files you'll need 'abs_uri' # my $jsxray = JavaScript::XRay->new( # abs_uri => $abs_url_or_local_file_path # ); # use switches to change filtering behavior # $jsxray->switches( only => 'onData' ); # use inlining to inline/filter external javascript files # $jsxray->inline_methods( 'dir1', 'dir2', &callback, 'HTTP_GET' ); # filter page print $js_xray->filter($html_page);JavaScript::XRay is an HTML source filter. It was developed as a tool to help figure out and debug large JavaScript frameworks.The main idea is that you hook it into your application framework and give you the ability to 'flip a switch' an inject a JavaScript function tracing console into your outgoing page. Requirements: · Perl


JavaScript::XRay Related Software