NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name BlockPopups // @namespace http://your.homepage/ // @version 0.1 // @description This script blocks page alert messages // @author You // @match http://*.imperiaonline.org/* // @run-at document-start // @grant none // ==/UserScript== window.alert = function ( text ) { console.log( 'tried to alert: ' + text ); return true; };