# theajack/disable-devtool

Disable web developer tools from the f12 button, right-click and browser menu

Repository: https://github.com/theajack/disable-devtool
Canonical: https://ross.abutalabs.com/products/disable-devtool
Homepage: https://theajack.github.io/disable-devtool/
Language: TypeScript
License: MIT
License Family: permissive
Topics: disable-devtool
Last push: 2026-05-29T02:22:03+00:00

## Health v2 (maintenance only)
Score: 61/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 84, release rhythm 8, longevity 100
- inputs: {"age_days": 2142, "days_push": 97, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3504, forks 302 (observed 2026-08-28T04:08:07.587393+00:00)

## What it is
A lightweight TypeScript library that disables browser developer tools with one line of code, blocking F12, right-click, and browser menu access. It supports npm and CDN usage with configurable bypass via URL token.

## Use cases
- disable f12 developer tools on my website
- prevent users from opening devtools
- block right-click and inspect element
- protect frontend source code from inspection
- one line of code to disable web developer tools
- stop users from debugging my web page

## When to choose
- You want a simple, drop-in way to deter casual devtools access on a public web page
- You need npm or CDN integration with minimal configuration
- You want a configurable bypass token for trusted users

## When to avoid
- You need real security against determined attackers, since devtools blocking is trivially bypassed
- You want to block server-side inspection or API abuse
- Your users legitimately need browser accessibility tools

## Facets
- artifact type: library
- maturity: active
- function: security, developer-tools
- domain: web-development, frontend, security
- platform: browser
- tags: devtools-blocking, anti-debugging, f12-disable, right-click-disable, browser-protection, web-server

## Member repositories
- theajack/disable-devtool (main) score 61

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:07.587393+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-29T18:35:47.150010+00:00, confidence not recorded.
  - readme: https://github.com/theajack/disable-devtool (fetched 2026-08-28T04:08:07.587393+00:00, sha 7b2a595ef4ae)
  - homepage: https://theajack.github.io/disable-devtool/ (fetched 2026-08-29T09:29:59.615880+00:00, sha b61f84a8a5a0)
  - registry_npm: https://registry.npmjs.org/disable-devtool (fetched 2026-08-29T09:29:59.618297+00:00, sha 9f298c680830)
- Data as of 2026-08-30T08:39:29.467469+00:00.
