I was fiddling around with downloading some files from one of the files sharing sites. Generally, you need to open each URL in a browser and download the file or copy the text to your download client. This gets tedious when the file you want is split into chunks.
So I started fiddling around with a script to download these things automatically. Most of the parsing, mucking with wget and similar things were standard and trivial code-grinding. One part was cute though.
When you visit the initial URL it puts part of the URL string into two javascript variables and then builds it from there.
example:
var d = String.fromCharCode(Math.abs(-56));
var g = '1' String.fromCharCode(Math.sqrt(3249));
document.getElementById("download_html").innerHTML =
'
Click here to download';
If you have javascript off, or are a script or download program, there is a fake URL.
If you use the URL it supplies without javascript, it just hangs your connection forever.
I thought it was cute anyway. Not that it actually deterred me for very long.