Re:Evil.js: A JavaScript library for thwarting hot-linkers
by matthuggins on Monday March 31, 2014 @11:31AM
(#7502067)
The documentation is lacking.
[ Parent
| on HN ]
Re:Evil.js: A JavaScript library for thwarting hot-linkers
by kirkbackus on Monday March 31, 2014 @11:50AM
(#7502195)
The non-minified source is pretty self-explanatory. It modifies a lot of the standard javascript functions. My favorite is the document.write(element) is modified to surround the element with <marquee> and <blink> tags and then write that to the DOM.
Re:Evil.js: A JavaScript library for thwarting hot-linkers
by Jgrubb on Monday March 31, 2014 @11:57AM
(#7502238)
I like
Math.pow = function() { return "pow pow pow!"; }
Re:Evil.js: A JavaScript library for thwarting hot-linkers
by matthuggins on Monday March 31, 2014 @05:30PM
(#7504333)
To an extent, yes. I already looked at the source. But it just says to include evil.js on my site. How is that protecting my site from bandwidth thieves? Won't it also screw up my own site's functions?