# sitexw/FuckAdBlock

Detects ad blockers (AdBlock, ...)

Repository: https://github.com/sitexw/FuckAdBlock
Canonical: https://ross.abutalabs.com/products/fuckadblock
Language: JavaScript
License: MIT
License Family: permissive
Topics: adblock, adblocker, fuckadblock
Last push: 2024-02-17T10:57:04+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4816, "days_push": 928, "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 1898, forks 249 (observed 2026-08-28T04:05:51.250967+00:00)

## What it is
A small JavaScript library that detects whether visitors are using ad blockers like AdBlock. It works by placing bait elements and checking whether they are hidden or blocked, then triggering callbacks.

## Use cases
- detect if a visitor has an ad blocker enabled
- show a message asking users to disable their ad blocker
- conditionally hide or show content based on ad blocker presence
- track how many site visitors block ads
- prevent site features from loading when ads are blocked

## When to choose
- you need a lightweight, dependency-free ad blocker detection script
- you want broad browser support including older browsers like IE8+
- you want a simple callback-based API with configurable bait elements

## When to avoid
- you need guaranteed detection against modern, sophisticated ad blockers
- you want to block or punish users rather than just detect
- your project requires actively maintained software with frequent updates

## Facets
- artifact type: library
- maturity: maintenance
- function: developer-tools
- domain: web-development, frontend
- platform: browser
- tags: adblock-detection, advertising, javascript, browser-detection, web-server

## Member repositories
- sitexw/FuckAdBlock (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:51.250967+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-30T03:12:47.214280+00:00, confidence not recorded.
  - readme: https://github.com/sitexw/FuckAdBlock (fetched 2026-08-28T04:05:51.250967+00:00, sha 8a2a46c024d0)
  - registry_npm: https://registry.npmjs.org/fuckadblock (fetched 2026-08-29T10:51:52.771669+00:00, sha 95a118affbdb)
- Data as of 2026-08-30T08:39:29.467469+00:00.
