this post was submitted on 08 Aug 2023
70 points (100.0% liked)

Firefox

17302 readers
63 users here now

A place to discuss the news and latest developments on the open-source browser Firefox

founded 4 years ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] SleweD@lemmy.ml 7 points 1 year ago (1 children)

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.

[โ€“] tkperson@lemm.ee 1 points 1 year ago* (last edited 1 year ago)

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.