uBlock Origin

github.com/gorhill/uBlock
uBlock Origin

Light-weight, fast browser extension for Firefox and Chromium (Chrome, Edge, Brave Opera etc), that blocks tracking, ads and known malware. uBlock is easy-to-use out-of-the-box, but also has a highly customisable advanced mode, with a point-and-click firewall which can be configured on a per-site basis.

Open Source

uBlock Origin Source Code

Author

gorhill

Description

uBlock Origin - An efficient blocker for Chromium and Firefox. Fast and lean.

#blocker#browser-extension#chromium#firefox#javascript#ublock#ublock-origin

Homepage

Repository

  • LicenseGPL-3.0
  • Created01 Apr 15
  • Primary languageJavaScript
  • Size159,858 KB
  • Stars68,387
  • Forks4,380
  • Watchers68,387

Language Usage

Language Usage

Project Health

  • Last commit6 days ago
  • Open issues15
  • Latest releasenpm_0.1.11

Recent Commits

  • Raymond Hill(07 Oct 26)

    Make Firefox dev build auto-update

  • Raymond Hill(07 Oct 26)

    Update changelog

  • Raymond Hill(07 Oct 26)

    Make Chromium build auto-update

  • Raymond Hill(07 Oct 26)

    New revision for dev build

  • Raymond Hill(07 Oct 26)

    Add missing dependency in new `trusted-edit-inbound-element` scriptlet

  • Raymond Hill(07 Oct 26)

    Fix regressions related to usage of new `publicSuffix` API Related issue: https://github.com/uBlockOrigin/uBlock-issues/issues/4149

  • Raymond Hill(07 Oct 26)

    Improve `googlesyndication_adsbygoogle.js` shim Related issue: https://github.com/uBlockOrigin/uAssets/issues/34741

  • Raymond Hill(06 Oct 26)

    Make Firefox dev build auto-update

  • Raymond Hill(06 Oct 26)

    Make Chromium build auto-update

  • Raymond Hill(06 Oct 26)

    New revision for dev build

  • Raymond Hill(06 Oct 26)

    Update changelog

  • Raymond Hill(06 Oct 26)

    Use new `publicSuffix` API when available Reference: https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/publicSuffix

  • Raymond Hill(05 Oct 26)

    Make Firefox dev build auto-update

  • Raymond Hill(05 Oct 26)

    Make Chromium build auto-update

  • Raymond Hill(05 Oct 26)

    New revision for dev build

  • Raymond Hill(05 Oct 26)

    Update changelog

  • Raymond Hill(05 Oct 26)

    Update makefile

  • Raymond Hill(05 Oct 26)

    Add `trusted-edit-inbound-element` sriptlet * @scriptlet trusted-edit-inbound-element.js * * @description * Edit properties of an element passed as an argument to a method. * Properties can be assigned new values. * * @param propChain * Property chain of the method to trap. * * @param argPos * 0-based position of the argument. Use negative integer for position relative * to the end. * * @param selector * The selector the element must match for the JSONPath query to be applied. * * @param jsonq * A uBO-flavored JSONPath query.

  • Raymond Hill(05 Oct 26)

    Odds and ends related to scriptlet injection refactoring Related commit: https://github.com/gorhill/uBlock/commit/9af8ef4c6bf3df0a1e1841554114099f9cf7d10e

  • Raymond Hill(04 Oct 26)

    Fix minor regression re user=defined scriptlets Related commit: https://github.com/gorhill/uBlock/commit/9af8ef4c6b

  • Raymond Hill(04 Oct 26)

    Make Firefox dev build auto-update

  • Raymond Hill(04 Oct 26)

    Make Chromium build auto-update

  • Raymond Hill(04 Oct 26)

    New revision for dev build

  • Raymond Hill(04 Oct 26)

    Fix regression related to user-defined scriptlets Related commit: https://github.com/gorhill/uBlock/commit/9af8ef4c6b

  • Raymond Hill(04 Oct 26)

    Make Firefox dev build auto-update

  • Raymond Hill(04 Oct 26)

    Make Chromium build auto-update

  • Raymond Hill(04 Oct 26)

    Invalidate selfie if compiled scriptlets serialization is not present

  • Raymond Hill(04 Oct 26)

    New revision for dev build

  • Raymond Hill(04 Oct 26)

    Update changelog

  • Raymond Hill(04 Oct 26)

    Refactor scriptlet injection code - Eliminate scriptlet-related race conditions in Firefox - Reduce scriptlet injection delay at browser launch in Chromium - Eliminate scriptlet-related spurious CSP violations in Firefox - Related issue: https://github.com/uBlockOrigin/uBlock-issues/issues/4061 - Fix issues related to cached ancestor-based scriptlets (the `>>##`-related scriptlets in "uBO Lite Test Page")

uBlock Origin Security

4/10

Repo Security Summary

Updated 24 Aug 26

  • PackagingN/A
  • Code-Review0/10
  • Maintained10/10
  • Token-Permissions10/10
  • Dangerous-Workflow10/10
  • CII-Best-Practices0/10
  • SAST0/10
  • Security-Policy0/10
  • Binary-Artifacts6/10
  • License10/10
  • Pinned-Dependencies0/10
  • Branch-Protection0/10
  • Signed-Releases0/10
  • Fuzzing0/10

uBlock Origin Reviews

More Ad Blockers

  • Self-hosted, network-wide DNS server that blocks ads and trackers for every device on your network, comparable to Pi-hole. Open source, with a web dashboard, encrypted DNS, and parental controls. Needs an always-on machine, and some setup knowledge.

  • Blokada

    Blokada

    blokada.org

    Open source mobile ad-blocker that acts like a firewall. Since it's device-wide, once connected all apps will have ads/ trackers blocked, and the blacklist can be edited. The app is free, but there is a premium option, which has a built-in VPN.

  • A shell script application to manage ad-blocking, Dnsmasq logging, Entware and pixelserv-tls installations and more on supported routers running Asuswrt-Merlin firmware, including its forks.

  • A POSIX-compliant shell script, designed for Unix-like systems, that gets a list of domains that serve ads, tracking scripts and malware from multiple sources and creates a hosts file (alternative formats are also supported) that prevents your system from connecting to them. Aimed at improving security and privacy through blocking advert, tracking and malware associated domains.

  • Pi-Hole

    Pi-Hole

    pi-hole.net

    Incredibly powerful, network-wide ad-blocker. Works out-of-the-box, light-weight with an intuitive web interface, but still allows for a lot of advanced configuration for power users. As well as blocking ads and trackers, Pi-Hole speeds up your network speeds quite significantly. The dashboard has detailed statistics, and makes it easy to pause/ resume Pi-Hole if needed.

  • Free and open source ad-blocker and a firewall for Android 6+ (no root required).

About the Data: uBlock Origin

Change History

Edit uBlock Origin Data

You can edit uBlock Origin's entry in this section of awesome-privacy.yml by submitting a PR to our GitHub repo.
Note that some of the information shown above has been aggregated from external sources, a list of these can be found data documentation.

Origin Data

Modify Data

API

You can access uBlock Origin's data programmatically via our API. Simply make a GET request to:

https://api.awesome-privacy.xyz/v1/services/ublock-origin

The REST API is free, no-auth and CORS-enabled. To learn more, view the API Docs or read the API Usage Guide.

Share uBlock Origin

Help your friends compare Ad Blockers, and pick privacy-respecting software and services.
Share uBlock Origin and Awesome Privacy with your network!