Javascript Obfuscation
June 25th, 2008
6 comments
Code obfuscators will strip out the unnecessary characters like white space, tabs, newlines and comments. The modern flock of javascript obfuscators will also go through and replace every command and variable in the file with some random key that points to an array which then gets eval’d back out at run time. Generally speaking the code you see in an obfuscated javascript file looks like completely gobbledygook which is sorta the point.
My stance on it is simple; Don’t do it — If you ever catch me encoding or obfuscating my javascript, come kick me square in the jimmy.. I simply cannot abide by people who think they need be secretive with javascript.. And lets be completely honest here, that’s what it’s about. Read more…

Recent Comments