- Professional Skills
- Articles
- Bookmarklets
- Javascript Console For IE
- Neural Net Extension for Ruby
- Writing a PDF Generation Framework In Ruby
- Developing Mambo Components
- PayPal Website Payments Pro
- Bulk File Renaming
- Displaying a Maintenance Page
- Ruby: escape, unescape
- Clojure Tutorial For the Non-Lisp Programmer
- Complex mocking with PHPUnit
- PHP Coding Tips
- Simple CRUD Application
- External Links
- Recent posts
Javascript Console For IE
Submitted by moxley on Mon, 2006-12-04 20:25
New Version: 0.4
I love Firebug for Firefox, but I really don't like debugging Javascript in IE.
I wrote this little console so that I can kind of see what's going on when scripts in IE don't behave the same way as in Firefox. It's inspired by one of my most favorite web development tools ever, Firebug, which is a Firefox extension.
It has three features:
- Outputs messages from anywhere in your javascript code.
- Provides a console to display the messages and evaluate Javascript expressions.
- Has a history of all the Javascript expressions entered. You can navigate the history with the up and down arrows.
Download it: ie-console.js
Try it!. You don't need IE to try it out. However, the history feature doesn't work in Firefox.
Enter this into the console:
document.body.childNodes
Instructions
- Download and save ie-console.js to your website
- Include the script in your HTML like this:
<script type="text/javascript" src="/js/ie-console.js"></script>
- Press F12 to open the console.
- Or, use
console.log()in your JavaScript code to output debugging messages, just like Firebug. - Press F12 again to close the console.


Cape Cod Cottage for Rent