How to block a function from being called?

Viewed 46
1 Answers

You can overwrite the function with window.magnify = () => {}; since it's a global.

// ==UserScript==
// @name        NewScript-kp6ekq7m
// @description This is your new file, start writing code
// @match       *://hibid.com/*
// @inject-into page
// ==/UserScript==

window.magnify = () => {};
Related