Content
- Faster trim() in JavaScript
- How to sort an array of custom JavaScript objects
- IE freezes up or crashes when docuement.write javascript function is used
- Let Google serve your common JS files
JavaScript Compressors
JS Minifier![]()
An online web utility which provides the ability to compress JavaScript so that it is optimized for download efficiency. We have used this utility on a large portal project and never had any issues with the compressed code when using the conservative compression option.
ShrinkSafe![]()
Select one (or more) JavaScript files to upload for shrinking and they will be condensed into a single file and compressed. ShrinkSafe can typically reduce the size of your scripts by a third or more, depending on your programming style. ShrinkSafe is considered safer than compressors that rely on brittle regular expressions because it is instead based on Rhino, a JavaScript interpreter.
YUI Compressor![]()
Minifies both JavaScript code and CSS. This is the best minifier we've found, but it requires that you download and execute it as a Java program.
JavaScript Syntax Checkers
JSLint![]()
A JavaScript syntax checker and validator.
JavaScript Profiling and Debugging Tools
Firebug Firefox Add-on![]()
Includes a JavaScript profiler and several incredibly useful features for JavaScript debugging. How did we ever get by without Firebug?
Browser Memory Leak Analysis Tools
Drip (a memory leak detector for Internet Explorer)![]()
Drip can catch the most common causes of memory leaks in Internet Explorer to help you remove them from your code.
IE Sieve - Memory Leak detector for Internet Explorer![]()
'sIEve' is a project to get rid of memory leaks due to some limitations of the garbage collector in Internet Explorer. Executing AJAX kind of applications (like Cordys Explorer) will stress the browser heavily. Internet Explorer is not very strong in Memory Management. With other words; It is very easy to introduce serious memory leaks in Internet Explorer by executing JavaScript? and DHTML manipulation. 'sIEve' is and extended version of 'Drip'
Related Articles
- Understanding and Solving Internet Explorer Leak Patterns

- Fixing Leaks

- Memory Leakage in Internet Explorer - revisited

In JavaScript, you can use console.log('msg') to send output to the FireBug console in FireFox. It's a handy alternative to using JavaScript alerts for debugging!
Add Comment