3.0.4 • Published 2 years ago

blocking-extension v3.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

npm

No, WBX3 is not usable as a dependency in npm. We've just published it as a package.

webRequestBlocking for Manifest V3

Extension Manifest V3 might have made webRequestBlocking a pain in the ass to migrate, but it isn't impossible to use.

How to use this

  1. Fork or clone the repo
  2. Go to /Extension/src/block.json
  3. In line 9, change example.com to the domain you want to block.
  4. Finally, npm run build at /Extension/.
  5. Done! You now have a blocking extension in .zip, .xpi, and .crx format.
  6. Remember, if you're using this as production software, remember to sign the .CRX file (Go to chrome://extensions, enable Developer Mode, and use Pack Extension).

How this is done:

Using MV3 declarativeNetRequest rules, we can block requests.

Google's documentation:

3.0.4

2 years ago

3.0.3

2 years ago

3.0.2

2 years ago

3.0.1

2 years ago

3.0.0

2 years ago