Tags: Javascript , debugging , deminifier
Recently I have been working on a project that has presented me with a new and interesting challenge. It hasn't been easy but I knew I had seen the feature I was dealing with somewhere before. I found the website and did some research to work out how they applied it. I tried to do the same thing on my computer but it didn't work. I then tried to debug it and was able to find where the issue was but still didn't know why it was happening. So then I went to my favorite debugging tool (firebug) to look at the website's code and see where I was going wrong. That's when I found that their javascript code is minified so I couldn't read it or debug it. I was stuck. I did some research on how to deminify minified javascript on live websites and I found this awesome website: jsbeautifier You can either copy the minified code to it and immediately get a readable code for development or even better you can download it as a browser extension and it will deminify minified javascript on the live website script panel. I tried Javascript deminifier by Ben Murphy for Firefox and it worked really well for me.