# AEPKILL/devtools-detector

Detect if DevTools is open

Repository: https://github.com/AEPKILL/devtools-detector
Canonical: https://ross.abutalabs.com/products/devtools-detector
Homepage: https://blog.aepkill.com/demos/devtools-detector/
Language: TypeScript
License: MIT
License Family: permissive
Last push: 2025-08-26T14:23:15+00:00

## Health v2 (maintenance only)
Score: 40/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 38, release rhythm 8, longevity 100
- inputs: {"age_days": 3142, "days_push": 372, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_readme
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1358, forks 115 (observed 2026-08-28T04:04:29.643676+00:00)

## What it is
A TypeScript browser library that detects whether browser DevTools is open. It lets developers trigger actions like crashing the page or logging when a user opens developer tools.

## Use cases
- detect if devtools is open in the browser
- prevent users from inspecting my web page
- crash the page when devtools opens
- log when someone opens developer tools
- protect frontend code from inspection

## When to choose
- You need to detect DevTools opening in a browser environment
- You want a lightweight, actively maintained TypeScript library with MIT license
- You want to trigger custom behavior (redirect, crash, warning) when DevTools is detected

## When to avoid
- You need real security - DevTools detection is trivially bypassed and not a protection mechanism
- You are working in Node.js or non-browser environments
- You need detection guaranteed across all browsers - the library itself notes it is only tested on Chrome

## Facets
- artifact type: library
- maturity: active
- function: developer-tools, monitoring, security
- domain: developer-tools, web-development, security
- platform: browser
- tags: devtools-detection, anti-debugging, typescript, browser-library, web-server

## Member repositories
- AEPKILL/devtools-detector (main) score 40

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:29.643676+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:41:44.517394+00:00, confidence not recorded.
  - homepage: https://blog.aepkill.com/demos/devtools-detector/ (fetched 2026-08-29T11:59:59.767892+00:00, sha 6adfc80792a7)
  - registry_npm: https://registry.npmjs.org/devtools-detector (fetched 2026-08-29T11:59:59.776923+00:00, sha 4ecc0376d5bc)
- Data as of 2026-08-30T08:39:29.467469+00:00.
