I’m trying to take a look at a scamming website, but it’s using the debugger spamming to make reverse engineering difficult. Is there a way to just disable the debugger keyword? I don’t really like to give the websites control over whatever I want to view.
Someone made a build that replaces it here: https://github.com/Sec-ant/anti-anti-debugging-debugger-firefox
There is also a userscript but I haven’t tested how well it works: https://greasyfork.org/en/scripts/440060-anti-anti-debugger
Some searches of the addon store come up with similar anti debugger extensions, again not tested.
I used the greasymonkey script with tampermonkey without any modification. And it seems like that script magically worked even though the code doesn’t look like it applies to all of the cases. Thanks, this helped a lot.
Update: After further testing, the script doesn’t really help a lot, because it broke all the JavaScript used on that website all together, which explains why the debugger stopped spamming. Disabling all the JavaScript is not what I want; I want to be able to use the browser tools to trace certain functions.