Greasy Fork is available in English.
Runs on every single page
// ==UserScript==
// @name Universal JS Injector
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Runs on every single page
// @author You
// @match *://*/*
// @grant none
// ==/UserScript==
(function() {
'use strict';
run
const noop = () => {};
window.debugger = noop;
window.alert = noop;
window.confirm = () => true;
window.prompt = () => null;
// Block specific known anti-debug functions
window.devtoolsDetector = { isOpen: false };
window.disableDevtool = noop;
// Prevent redirects
const realAssign = window.location.assign;
window.location.assign = (url) => {
console.log('Blocked redirect to:', url);
// Uncomment to allow: realAssign.call(window.location, url);
};
console.log("Script successfully injected on: " + window.location.href);
})();