Skip to content

Latest commit

 

History

History

adblocker-webextension-example

Blocking ads in WebExtension (Chrome and Firefox support) using @ghostery/adblocker-webextension.

  1. yarn build will build the extension
  2. Open your browser and load "unpacked extension" from this folder
  3. On re-build, reload the extension in browser

Alternatively, using the following two commands:

  • yarn start:firefox
  • yarn start:chromium

Checkout background.ts and content-script.ts for more details!