function stopError() { return true; } window.onerror = stopError;