Hacker News new | ask | show | jobs
by WhitneyLand 3369 days ago
Are there any good tools for deobfuscating css/js if you want to study a technique used on some web page?
3 comments

If you're using Crass, it has a --pretty flag that will pretty-print your CSS, even after minification. You can play with it online here, too:

http://www.mattbasta.com/crass/

Not sure it's a great solution for deep study, but if you just need a quick peek, the Chrome developer tools include a pretty print/ format option when applicable: https://developers.google.com/web/tools/chrome-devtools/java...
There are browser extensions that will beautify source code:

https://chrome.google.com/webstore/detail/javascript-and-css...