The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Changes for version 0.99_5

  • Used 'perlcritic' to start to apply PBP to the source.
    • moved all pod into the __END__ block
    • fixed regexes to add the m prefix and x suffix to most
    • changed all open statements to use the 3 argument open

Changes for version 0.99_4

  • Don't insert newlines when adding javascript code.

Changes for version 0.99_3

  • Fixed broken code in jsxray. Method call should have been 'inline_methods' and not 'set_inline_methods'
  • Fix documentation of jsxay to change switch 'filter' to 'match'

Changes for version 0.99_2

  • Added EXED_FILES => [ 'bin/jsxray' ] to the Makefile.PL to install jsxray.
  • Fix documentation of jsxay to change switch 'filter' to 'match'

Changes for version 0.99_1

  • Wanted to get this code out there before I write more tests.
  • Renamed the 'filter' switch to 'match'
  • Cleaned up the whole switches setting interface to make things a bit more clear.
  • Fixed a bug where javascript was attempting to log before the DOM was ready (couldn't find the logging IFrame yet). Setup a queue to log messages until IFrame was found.
  • Streamlined the documentation.
  • New 'abs_uri' attribute to aid in inlining relative src javascript files.
  • Now handles both both relative and absolute URI (http and files) to inline external javascript
  • New command line script 'jsxray' to filter HTML on your local disk (ie save a page and filter it to see how it works)
  • New verbose attribute so you can see whats going on.
  • Additional required modules
    • URI
    • Pod::Usage
    • Getopt::Long
    • File::Spec::Functions
    • File::Basename

Documentation

A command-line tool for filtering HTML with JavaScript::XRay

Modules

See What JavaScript is Doing