AntiDebug Breaker AntiDebug Breaker
  • Home
  • Overview
  • Installation
  • Quickstart
  • Scripts
  • 🔒 AntiDebug
  • Bypass Debugger
  • hook log
  • Hook table
  • hook clear
  • hook close
  • hook history
  • Fixed window size
  • Locate navigation code
  • 🔐 Crypto Hooks
  • Hook CryptoJS
  • Hook JSEncrypt
  • Hook SM-crypto
  • 🪝 API Hooks
  • Fixed-value Hooks
  • Observation Hooks
  • Keyword-filtered Hooks
  • 🟢 Vue
  • Get routes
  • Clear redirects
  • Clear navigation guards
  • Enable Vue Devtools
  • 🔵 React
  • Get routes
  • Use cases
  • FAQ
  • Team tools
  • Sponsors
  • GitHub (opens new window)
Home
Overview
Installation
Quickstart
  • 🔒 AntiDebug

    • Bypass Debugger
    • hook log
    • Hook table
    • hook clear
    • hook close
    • hook history
    • Fixed window size
    • Locate navigation code
  • 🔐 Crypto Hooks

    • Hook CryptoJS
    • Hook JSEncrypt
    • Hook SM-crypto
  • 🪝 API Hooks

    • Fixed-value Hooks
    • Observation Hooks
    • Keyword-filtered Hooks
  • 🟢 Vue

    • Get routes
    • Clear redirects
    • Clear navigation guards
    • Enable Vue Devtools
  • 🔵 React

    • Get routes
Use cases
FAQ
Team tools
Sponsors
GitHub (opens new window)
  • 简体中文
  • English
  • Home
  • Overview
  • Installation
  • Quickstart
  • Scripts
  • 🔒 AntiDebug
  • Bypass Debugger
  • hook log
  • Hook table
  • hook clear
  • hook close
  • hook history
  • Fixed window size
  • Locate navigation code
  • 🔐 Crypto Hooks
  • Hook CryptoJS
  • Hook JSEncrypt
  • Hook SM-crypto
  • 🪝 API Hooks
  • Fixed-value Hooks
  • Observation Hooks
  • Keyword-filtered Hooks
  • 🟢 Vue
  • Get routes
  • Clear redirects
  • Clear navigation guards
  • Enable Vue Devtools
  • 🔵 React
  • Get routes
  • Use cases
  • FAQ
  • Team tools
  • Sponsors
  • GitHub (opens new window)
Home
Overview
Installation
Quickstart
  • 🔒 AntiDebug

    • Bypass Debugger
    • hook log
    • Hook table
    • hook clear
    • hook close
    • hook history
    • Fixed window size
    • Locate navigation code
  • 🔐 Crypto Hooks

    • Hook CryptoJS
    • Hook JSEncrypt
    • Hook SM-crypto
  • 🪝 API Hooks

    • Fixed-value Hooks
    • Observation Hooks
    • Keyword-filtered Hooks
  • 🟢 Vue

    • Get routes
    • Clear redirects
    • Clear navigation guards
    • Enable Vue Devtools
  • 🔵 React

    • Get routes
Use cases
FAQ
Team tools
Sponsors
GitHub (opens new window)
  • 简体中文
  • English
BestProxy BestProxy · 10% off code ZCTYUH90 RapidProxy RapidProxy · 10% off code 0xsdeo
  • 🔒 AntiDebug
    • Bypass Debugger
    • hook log
    • Hook table
    • hook clear
    • hook close
    • hook history
    • Fixed window size
      • Description
      • When to use it
    • Locate Page Redirect Code
  • 🔐 Crypto Hooks
  • 🪝 API Hooks
  • 🟢 Vue
  • 🔵 React
  • Script Reference
  • AntiDebug Scripts
  • Fixed window size
0xsdeo
2026-06-02
Contents

Fixed window size

BestProxy BestProxy · 10% off code ZCTYUH90 RapidProxy RapidProxy · 10% off code 0xsdeo

# Fixed window size

# Description

Fixes the browser's reported width and height to bypass frontend checks for an open DevTools window.

The fixed dimensions are:

innerHeight:660
innerWidth:1366

outerHeight:760
outerWidth:1400
1
2
3
4
5

# When to use it

Enable this script when a website uses browser width and height to detect whether DevTools is open. For example:

(function() {
  let threshold = 160; // Difference threshold; adjust based on testing

  function detectDevTools() {
      const widthDiff = window.outerWidth - window.innerWidth;
      const heightDiff = window.outerHeight - window.innerHeight;

      if (widthDiff > threshold || heightDiff > threshold) {
      debugger;
      window.close();
      window.history.go();
      window.history.back();
      }
  }

  // Check periodically
  setInterval(detectDevTools, 1);
  })();
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

1780551108853

This example closes the page as soon as DevTools opens. Enable the script to try bypassing similar checks:

You can then open DevTools normally.
hook history
Locate Page Redirect Code

← hook history Locate Page Redirect Code→

Theme by Vdoing | Copyright © 2025-2026 0xsdeo
  • System
  • Light
  • Dark
  • Reading