Open laurentj opened 9 years ago
Hi @laurentj,
Thanks for the feedback. Ideally we would just leverage a single script, but when we built the slimer functionality originally there were a few functions we were getting held up with.
I'll modify the slimer script to use the non-derecated version of the webpage creation, and properly define JS variables, then see where we're at.
It looks like once this issue is resolved, they will be compatible: https://github.com/laurentj/slimerjs/issues/284
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).