Web Request Blocking

webRequestBlocking
High RiskCategory: Web Traffic ControlView Official Docs

Technical Context

Extends webRequest with the ability to synchronously intercept, modify, redirect, or cancel network requests. This powerful capability is used by ad blockers, privacy tools, and security extensions to filter web traffic.

What This Means For You

The extension can block, redirect, or modify any request your browser makes before it happens. This is how ad blockers work, but it also means the extension controls what data reaches websites.

Related APIs

This permission enables access to these Chrome APIs:

chrome.webRequest

Common Use Cases

  • Ad blockers
  • Privacy shields
  • Parental controls

⚠ Red Flags When Combined With

How to Declare in manifest.json

Add the "webRequestBlocking" permission to your extension manifest:

{
  "manifest_version": 3,
  "name": "My Extension",
  "permissions": [
    "webRequestBlocking"
  ]
}

Related Permissions