Built with 
HomeBrave Tech WorldAbout SiteMarcelo Calbucci

Brave Tech World

Week 22
SMTWTFS
3456789

Entries for June 7, 2006


June 7, 2006


WED
7
JUN
2006

Web Devs: Enable your browser script alert!

By Marcelo

 

     I'm surprised at the number of sites that have plain stupid JavaScript bugs on them. How do I know about it? Well, I have script error notification enabled on both my browsers (IE and Firefox).

     The latest error that I found was on News.comOpen in a new window.

     Ok, most users will never see that error and it will not bother them or prevent them from navigate on the site, but clearly, there is a bug on the site script and maybe some neat feature is not working because of that.

 

     What I say is that if you ever do JavaScript development, turn on the errors notifications.

     On IE, go to Tools -> Options -> Advanced and select "Display a notification about every script error".

     On Firefox, install the WebDeveloper extension, and on it's option dialog, click on Miscellaneous, and check "Open the JavaScript console...".

 

     This way, whenever you are developing your code, you'll be sure to see the syntax/runtime errors that you've been missing before. And, you'll get annoyed by other sites that have bug as well, so, do the world a favor and send a feedback to site with the error and ask them to fix it.

 



Similar Content
Powered by Google