Disable JavaScript alerts for a page
Aug 28, 2013 · 1 minute readCategory: javascript
If you encounter a webpage that is generating a lot of alerts, the following bookmark will prevent them from stealing focus but still allow you to see what is being said.
javascript:alert = function ( text ) { console.log( text ); return true; };