PDA

View Full Version : obfuscated javascript



kradrekcah
08-03-2007, 01:37 AM
anybody here who can help me decode my obfuscated code..
i compressed my codes in javascriptcompressor.com
but i forgot to make a backup copy.. please help.. :(
here is my file..

http://h1.ripway.com/wakokokz/file.js (http://h1.ripway.com/wakokokz/file.js)

i hope someone will help out.. im serious..

Twey
08-03-2007, 02:00 AM
Haha, oh dear. It's still a bit of a mess, but damned if I'm going through it cleaning it up. By the way, I believe you're violating DD's terms of use by using these scripts obfuscated. And how exactly does storing strings backwards reduce code size? :-\

Compressors aren't worth the trouble. Even the most verbose Javascript is probably several hundred times smaller than the smallest image on your site. It's CPU and memory usage you've got to worry about more -- and compressing your scripts increases those.

If you really feel you want to squeeze the most out of your bandwidth, enable an HTTP compression module such as mod_gzip or mod_deflate. These will compress all your code, markup, and style -- in fact, anything downloaded from your site -- transparently to both yourself and the user.