Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Electron
  3. adblocker-electron

adblocker-electron

MPL-2.0TypeScriptv2.18.2

An efficient, embeddable JavaScript library for blocking ads, trackers, and annoyances across multiple environments.

Visit WebsiteGitHubGitHub
1.0k stars122 forks0 contributors

What is adblocker-electron?

Adblocker is an efficient, embeddable JavaScript library for blocking ads, trackers, and annoyances in web applications. It provides seamless integration across environments like Puppeteer, Electron, and WebExtensions, solving the need for performant ad-blocking in custom projects. The library is compatible with popular filter lists like Easylist and uBlock Origin.

Target Audience

Developers building applications that require embedded ad-blocking, such as custom browsers (Electron), headless browsing tools (Puppeteer), browser extensions, or mobile apps using React Native.

Value Proposition

Developers choose Adblocker for its high efficiency, minimal performance overhead, and broad compatibility with existing filter standards. Its modular design allows easy integration into diverse environments without reinventing the wheel.

Overview

Efficient embeddable adblocker library

Use Cases

Best For

  • Embedding ad-blocking in Electron-based desktop applications
  • Adding ad and tracker blocking to Puppeteer headless browsers
  • Building Chrome or Firefox extensions that block ads
  • Integrating ad-blocking into React Native mobile apps
  • Processing batch requests for ads/trackers in Node.js
  • Creating custom browsers with built-in privacy features

Not Ideal For

  • Projects needing a ready-to-use, GUI-based adblocker for end-users without coding
  • Server-side applications requiring HTTP-level ad-blocking without JavaScript execution
  • Environments with strict content security policies that block dynamic filter downloads
  • Teams seeking drag-and-drop configuration tools with minimal technical setup

Pros & Cons

Pros

Optimized Performance Efficiency

Uses algorithms designed for minimal performance impact, backed by linked studies showing it's among the most efficient adblockers.

Wide Environment Compatibility

Seamlessly integrates with Puppeteer, Electron, WebExtensions, and standalone JavaScript via dedicated packages, as shown in the multi-package structure.

High Filter List Compatibility

Supports 99% of filters from Easylist and uBlock Origin, ensuring comprehensive blocking without reinventing filter standards.

Pre-built Filter Simplicity

Includes methods like `fromPrebuiltAdsAndTracking()` for quick integration, reducing initial setup complexity.

Production-Proven Reliability

Powers adblockers for Ghostery and Cliqz, used by millions in production, demonstrating battle-tested robustness.

Cons

External Filter Dependency

Relies on third-party filter lists like Easylist, which could change or become unavailable, requiring manual updates and maintenance.

JavaScript-Limited Portability

As a JavaScript/TypeScript library, it cannot be easily used in non-JavaScript environments without significant workarounds or porting efforts.

Complex Custom Integration

While basic setup is simple, advanced use cases in non-standard environments may require deep understanding of the library's internals and additional configuration.

Frequently Asked Questions

Quick Stats

Stars1,000
Forks122
Contributors0
Open Issues23
Last commit15 hours ago
CreatedSince 2017

Tags

#adblocker#puppeteer#privacy#ad-blocker#typescript#javascript-library#javascript#content-filtering#webextension#adblock#electron

Built With

J
JavaScript
T
TypeScript
L
Lerna
Y
Yarn Workspaces
N
Node.js

Links & Resources

Website

Included in

Electron27.1k
Auto-fetched 8 hours ago

Related Projects

rxdbrxdb

The local-first database that runs on every JS runtime and replicates with your existing backend - no vendor, no lock-in - https://rxdb.info/

Stars23,376
Forks1,175
Last commit18 hours ago
gotgot

🌐 Human-friendly and powerful HTTP request library for Node.js

Stars14,944
Forks998
Last commit6 days ago
electron-builderelectron-builder

A complete solution to package and build a ready for distribution Electron app with “auto update” support out of the box

Stars14,659
Forks1,873
Last commit17 hours ago
NeDBNeDB

The JavaScript Database, for Node.js, nw.js, electron and the browser

Stars13,533
Forks1,011
Last commit1 year ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub