Global Anti-Debugger

Removes and neutralizes any `debugger;` commands before the site runs them

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

May akda
FabioSmuu
Mga pang araw araw na pag install
0
Kabuuan na installs
70
Mga Rating
0 0 0
Bersyon
1.0
Nilikha
2025-10-14
Na update
2025-10-14
Laki
1.22 KB
Lisensya
MIT
Nalalapat sa
Lahat sites

Global Anti-Debugger

A UserScript for contentReference that automatically removes the debugger command from web pages, preventing crashes or forced pauses when opening DevTools.

Ideal for developers analyzing sites with anti-inspection or anti-debug protections.


Features

  • Removes debugger; from inline and external scripts.
  • Neutralizes Function("debugger;") and eval("debugger;").
  • Acts before the scripts run (@run-at document-start).
  • Avoids forced breakpoints, crashes and common anti-debug protections.
  • Works on any website (*://*/*).

How it works

The script:

  • Intercept the construction of dynamic functions and eval to remove debugger.
  • Monitors mutations in the DOM (script injected after load) and cleans debugger before they run.
  • Removes optional semicolon — covers debugger with or without ;.

Example:

//Original
debugger;
Function("debugger;")();
eval("debugger");

**Thank you for your attention**