Skip to content
Advertisement

Tag: tampermonkey

How to block a function from being called?

I’m trying to figure out how to block the magnify function whenever you hover over an item on this page: https://hibid.com/lots?q=cisco&status=OPEN I see that is is loaded in this script function magnify(o,t,e=””): https://cdn.hibid.com/cdn/pwa/1.15.3.34/scripts.6a4acc6484fe8adf.js Any help is appreciated, Thanks Answer You can overwrite the function with window.magnify = () => {}; since it’s a global.

Clear all cookies in a userscript?

How to clear all cookies or at least restart the browser in a tampermonkey/greasemonkey script? Answer To clear the cookies edit your Chrome shortcut (or write a shell script in Linux/MacOS) and add (or use a random port number that’s not used by other processes) so you can send Network.clearBrowserCookies RDP command:

Advertisement