{"repo":"ghostery/adblocker","free":true,"listed":false,"github":"https://github.com/ghostery/adblocker","clone":"git clone https://github.com/ghostery/adblocker.git","description":"Efficient embeddable adblocker library","language":"TypeScript","stars":992,"topics":["content-blocking","javascript","adblocker","easylist","adblock","puppeteer","privacy"],"license":"MPL-2.0","category":"scrapers-browser-automation","readme_excerpt":"Adblocker Efficient · Minimal · JavaScript · TypeScript · uBlock Origin- and Easylist-compatible Node.js · Puppeteer · Electron · WebExtension --- The Ghostery adblocker is a JavaScript library for blocking ads, trackers, and annoyances with a strong focus on efficiency. It was designed with compatibility in mind and integrates seamlessly with the following environments: Block ads in Puppeteer , Block ads in Electron , Block ads in Chrome and Firefox , Or as a standalone JavaScript library. Getting Started The Ghostery adblocker is the easiest and most efficient way to block ads and trackers in your project. Only a few lines of code are required to integrate smoothly with Puppeteer, Electron, a Chrome- and Firefox-compatible browser extension, or any environment supporting JavaScript (e.g. Node.js or React Native). Here is how to do it in two steps for a Chrome- and Firefox-compatible WebExtension: 1. Install: npm install --save @ghostery/adblocker-webextension 2. Add the following in your background script: Congratulations, you are now blocking all ads and trackers! :tada: Compatibility The library supports 99% of all filters from the Easylist and uBlock Origin projects. Check the compatibility matrix on the wiki for more details. Contributing This project makes use of lerna and yarn workspaces under the hood. Quickly get started with: 1. Fork and clone the repository, 2. Enable corepack: corepack enable , 3. Install dependencies: yarn install --immutable , 4. Build: yarn bu","default_branch":null,"files":null,"tree":[],"storefront":"/r/ghostery","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ghostery/adblocker/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}