惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Y
Y Combinator Blog
GbyAI
GbyAI
爱范儿
爱范儿
H
Hackread – Cybersecurity News, Data Breaches, AI and More
C
Check Point Blog
M
MIT News - Artificial intelligence
量子位
宝玉的分享
宝玉的分享
MongoDB | Blog
MongoDB | Blog
V
Visual Studio Blog
罗磊的独立博客
F
Fortinet All Blogs
美团技术团队
博客园_首页
博客园 - 【当耐特】
L
LangChain Blog
月光博客
月光博客
腾讯CDC
The Cloudflare Blog
D
Docker
博客园 - 聂微东
Stack Overflow Blog
Stack Overflow Blog
WordPress大学
WordPress大学
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报

Hacker News

GitHub - SeanFDZ/macmind: Single-layer transformer in HyperTalk for the classic Macintosh Show HN: Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis Bonsai 1-bit WebGPU - a Hugging Face Space by webml-community Moving a large-scale metrics pipeline from StatsD to OpenTelemetry / Prometheus GitHub - Nightmare-Eclipse/RedSun: The Red Sun vulnerability repository GitHub - SethPyle376/hiraeth: Local AWS emulator focused on fast integration testing, with SQS support, SQLite-backed state, and a debug-friendly web UI. GitHub - macOS26/Agent: Any AI, replaces Claude Code, Cursor, OpenClaw. Over 18 LLM providers (Claude, OpenAI, Gemini, Ollama, Zai, HF, Qwen) wired into a native Mac app that writes code, builds Xcode projects, bumps versions, manages git, automates Safari, use AppleScript, JS or Accessibility, extend Agent! w/ MCP Servers, run tasks from your iPhone via Messages. YouTube now lets you turn off Shorts I Made a Terminal Pager Burgers | マクドナルド公式 Commands — HackerNews CLI documentation ChatGPT for Excel PiCore - Raspberry Pi Port of Tiny Core Linux Live Nation illegally monopolized ticketing market, jury finds Google Broke Its Promise to Me. Now ICE Has My Data. Founding Engineer at Adaptional | Y Combinator CRISPR takes important step toward silencing Down syndrome’s extra chromosome GitHub - saffron-health/libretto: The AI toolkit for building reliable browser automations US v. Heppner (S.D.N.Y. 2026) no attorney-client privilege for AI chats [pdf] Retrofitting JIT Compilers into C Interpreters IPv6 – Google The Accursèd Alphabetical Clock Cybersecurity Looks Like Proof of Work Now Fragments: April 14 Cal.com Goes Closed Source: Why AI Security Is Forcing Our Decision | Cal.com - Scheduling Software for Online Bookings Laravel raised money and now injects ads directly into your agent When moving fast, talking is the first thing to break Too much Discussion of the XOR swap trick – Heather Cafe Introduction to Spherical Harmonics for Graphics Programmers The Grand Line
GitHub - alex-w-developer/GetBlocked: Lightweight, local-...
sudo_cowsay · 2026-06-27 · via Hacker News

GetBlocked! logo

Cleaner pages. Fewer trackers. Local-only.

GetBlocked! is a lightweight, local-only Chrome extension that helps reduce common third-party website tracking by blocking known tracker requests, cleaning tracking links, and explaining tracking attempts.

It is built as a small, inspectable Manifest V3 project for people who want a friendly privacy tool and for contributors who want quick, useful pull requests.

What GetBlocked! Does

  • Blocks a curated starter list of known third-party tracker domains using Chrome declarativeNetRequest.
  • Cleans common tracking URL parameters such as utm_source, fbclid, gclid, dclid, mc_cid, and similar campaign IDs.
  • Detects visible tracking attempts such as pixels, suspicious scripts, tracking iframes, and tracking links.
  • Shows a compact popup report with:
    • Blocked on this page
    • Tracking links cleaned
    • Visible tracking attempts detected
    • Detected categories
  • Keeps report data local in chrome.storage.local.

What GetBlocked! Can Block

GetBlocked! blocks a curated starter list of known third-party tracker domains and tracking URL parameters.

Current coverage includes:

  • Analytics trackers
  • Ad and retargeting trackers
  • Social media pixels
  • Session replay and heatmap tools
  • Affiliate and attribution trackers
  • Email marketing trackers
  • Tracking URL parameters

The tracker list is intentionally conservative. Rules are limited to third-party requests to reduce website breakage.

What GetBlocked! Cannot Do

  • It does not block every tracker.
  • It does not make users anonymous.
  • It does not stop tracking after logging into an account.
  • It does not stop server-side tracking.
  • It does not fully prevent advanced fingerprinting.
  • It is not meant to replace full-featured ad blockers.

How GetBlocked! Is Different

GetBlocked! is:

  • Lightweight: small ruleset, simple popup, minimal moving parts.
  • Local-only: no external analytics, telemetry, or remote logging.
  • Open source: the rules, popup, and generation scripts are inspectable.
  • Educational: categories and wording are designed to explain common tracking clearly.
  • Beginner-friendly: small PRs can improve the tracker catalog, docs, tests, or UI.
  • Not a replacement for full ad blockers: it focuses on common trackers and clear explanations.

Why All Data Stays Local

GetBlocked! does not send browsing data to any server. The extension uses:

  • declarativeNetRequest for local Chrome-managed request blocking.
  • chrome.storage.local for page report data.
  • A content script that scans the current page locally for visible tracking signals.

There are no external analytics, telemetry endpoints, remote logs, or bundled remote assets in the extension.

Install Locally In Chrome

  1. Download or clone this repository.
  2. Open chrome://extensions.
  3. Turn on Developer mode.
  4. Choose Load unpacked.
  5. Select the GetBlocked! project folder.
  6. Pin GetBlocked! and open the popup on normal web pages.

The production build avoids debug-only DNR feedback permissions. The popup uses local page signals plus Chrome's production DNR action-count badge as a page-level estimate, while blocking and URL-cleaning rules remain enforced by MV3 declarativeNetRequest.

Contribute In 10 Minutes

The easiest way to contribute is to add one tracker domain.

  1. Edit shared/tracker-catalog.json.
  2. Add one fixture in test/tracker-test-set.json.
  3. Run npm run generate:rules.
  4. Run npm run test:evidence.
  5. Open a PR.

PRs are welcome for tracker-domain additions, broken-site tests, UI polish, docs, and test improvements. You do not need to ask before opening a small, focused PR.

How The Tracker Catalog Works

Tracker domains are maintained in shared/tracker-catalog.json.

Each tracker entry includes:

  • domain
  • category
  • label
  • notes

Tracking URL parameters are maintained in shared/tracking-params.json.

After changing the catalog or tracking parameter list, regenerate the derived extension files:

This updates:

Do not edit generated rules/config by hand unless you also update the generator or source catalog.

Run Tests

Regenerate rules:

Run the local ruleset evidence test:

Useful syntax checks:

node --check background.js
node --check content-script.js
node --check popup/popup.js
node --check scripts/generate-rules.mjs
node --check scripts/evaluate-test-set.mjs

Useful JSON checks:

node -e "for (const f of ['manifest.json','rules/rules.json','shared/tracker-catalog.json','shared/tracking-params.json','test/tracker-test-set.json','package.json']) JSON.parse(require('fs').readFileSync(f,'utf8')); console.log('JSON OK')"

Manual Browser Check

After loading the unpacked extension, start a simple local server from this folder:

python -m http.server 8080

Then open:

http://localhost:8080/test/manual-test.html?utm_source=demo&utm_medium=test&fbclid=manual

With GetBlocked! enabled, the tracking parameters should be removed from the page URL and the popup should show page-level tracker activity. For a before/after check, compare the browser Network panel with the extension disabled and then enabled.

Contributor Links

License

MIT License. See LICENSE.