Bypass DevTools Detection

Prevent websites from detecting DevTools (Inspect Element) is open

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
Cristion Kjeldgard (Frisk)
日安装量
3
总安装量
198
评分
0 0 0
版本
1.1
创建于
2025-05-05
更新于
2025-06-02
大小
5.2 KB
许可证
暂无
适用于
所有网站

Bypass DevTools Detection

Tampermonkey userscript that prevents websites from detecting when browser Developer Tools (DevTools) are open. This script is useful for developers, researchers, or curious users who want to inspect web pages without triggering anti-debugging mechanisms.


⚠️ Disclaimer

This script is intended for educational and ethical use only.
Do not use this script to bypass protections on websites where such behavior violates terms of service or laws. Always respect the rights of content owners and follow legal and ethical guidelines.


🧩 Features

  • Blocks debugger statements from executing
  • Prevents interception of DevTools hotkeys (F12, Ctrl+Shift+I, etc.)
  • Fakes window dimensions to fool screen size checks
  • Overrides console logging traps
  • Blocks image-based inspection detection
  • Prevents detection via performance.navigation reload tracking

🚀 Installation

  1. Install Tampermonkey (if you haven't already):

  2. Install the script via Tampermonkey:

    • Copy the script from bypass-devtools-detection.user.js
    • Paste it into a new Tampermonkey script tab
    • Save and enable

📜 Script Metadata

// @name         Bypass DevTools Detection
// @namespace    http://tampermonkey.net/
// @version      1.0
// @description  Prevent websites from detecting DevTools (Inspect Element) is open
// @author       Serial Desegnation J
// @match        *://*/*
// @grant        none