Alerts log to the console instead of popping up.
// ==UserScript==
// @name Quiet JavaScript Alerts
// @namespace timpartridge
// @version 0.1
// @description Alerts log to the console instead of popping up.
// @author Tim Partridge
// @match your url/*
// @grant none
// @run-at document-start
// ==/UserScript==
(function() {
'use strict';
quietAlerts()
})();
function quietAlerts () {
window.alert = function alert (message) {
console.log (message);
}
}