Recent Blog Posts
Override alert() && confirm()
Februar 17th, 2009 Read more ...
I never tried it before: It's possible to override the javascript built-in functions alert() and confirm(). I think this can be a useful feature in some cases. For instance you can write a function to display all alerts in the Firebug console with this code:It's possible to override the javascript built-in functions alert() and confirm(). I think this can be a useful feature in some cases. For instance you can write a function to display all alerts in the Firebug console with this code: