There are two scripts, xss.js and slimer.js and they are similar. They should be identical since SlimerJS is theorically almost 100% compatible with PhantomJS. At least, what xss.js does should work with SlimerJS. If something does not work with SlimerJS, please fill issues on project github.com/laurentj/slimerjs. There is at least some few things to fix: [This deprecate way](http://phantomjs.org/api/webpage/) ``` wp = new WebPage(); ``` should be replaced by ``` wp = require("webpage").create(); ``` And also many variables are not declared with the var keyword (this may cause warnings in verbose mode).
There are two scripts, xss.js and slimer.js and they are similar.
They should be identical since SlimerJS is theorically almost 100% compatible with PhantomJS. At least, what xss.js does should work with SlimerJS.
If something does not work with SlimerJS, please fill issues on project github.com/laurentj/slimerjs.
There is at least some few things to fix:
This deprecate way
should be replaced by
And also many variables are not declared with the var keyword (this may cause warnings in verbose mode).