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

License

GPL-3.0

Created

01 Apr 15

Last Updated

12 Jul 26

Latest version

npm_0.1.11

Primary Language

JavaScript

Size

164,827 KB

Stars

66,174

Forks

4,213

Watchers

66,174

Language Usage

Language Usage

Star History

Star History

Recent Commits

  • Raymond Hill (11 Jul 26)

    Import translation work from https://crowdin.com/project/ublock

  • Raymond Hill (10 Jul 26)

    Make Firefox dev build auto-update

  • Raymond Hill (10 Jul 26)

    New revision for dev build

  • Raymond Hill (10 Jul 26)

    Minor code review

  • Raymond Hill (10 Jul 26)

    Improve `prevent-clipboard-write` scriptlet As per feedback from team.

  • Raymond Hill (09 Jul 26)

    Make Firefox dev build auto-update

  • Raymond Hill (09 Jul 26)

    New revision for dev build

  • Raymond Hill (09 Jul 26)

    Update changelog

  • Raymond Hill (09 Jul 26)

    Add `prevent-clipboard-write` scriptlet Requires a trusted source. * @scriptlet prevent-clipboard-write * * @description * Prevent the clipboard from being overwritten. * * @param needle * A pattern or regex to match against the text for the prevention to occur. * * @param domAlert * Optional. A vararg to be used to alert the user in case a clipboard write * operation was prevented. The parameter is composed of two parts separated by * `|`: the first part is a CSS selector used to target a DOM element which * content will be replaced with the text found in the second part. * * @example * ##+js(prevent-clipboard-write, /^bash <<</, domAlert, body|Clickfix attempt defused) As discussed with filter list maintainers.

  • Raymond Hill (09 Jul 26)

    [mv3] Enforce `*##...`-like cosmetic filters as generic cosmetic filters

  • Raymond Hill (09 Jul 26)

    [mv3] Code review of scriptlet filters-related template Move the various data structures inside the code block in which they are used, this ensures the data will be candidate for garbage collection as soon as the code block ends.

  • Raymond Hill (09 Jul 26)

    [mv3] Minor code reivew

  • Raymond Hill (09 Jul 26)

    Update changelog

  • Raymond Hill (09 Jul 26)

    Improve `prevent-bab` scriptlet Related issue: https://github.com/uBlockOrigin/uBlock-issues/discussions/4054

  • Raymond Hill (08 Jul 26)

    [jsonpath] Increase RFC9535 compliance Return error on: - unquoted identifier in bracket notation - leading or trailing comma in bracket notation Related feedback: https://github.com/uBlockOrigin/uBlock-issues/issues/4052#issuecomment-4916578066

  • Raymond Hill (08 Jul 26)

    [jsonpath] Dot notation before bracket notation is not valid Related issue: https://github.com/uBlockOrigin/uBlock-issues/issues/4052

  • Raymond Hill (08 Jul 26)

    Add support to collapse unchanged lines in jsonpath tool

  • Raymond Hill (07 Jul 26)

    [mv3] Add support for excluded hostnames in `popup` filters Related issue: https://github.com/uBlockOrigin/uAssets/issues/33581

  • Raymond Hill (07 Jul 26)

    [mv3] Code review of code paths used to fetch lists

  • Raymond Hill (07 Jul 26)

    [mv3] Fix processing of preparse directives in imported lists Related discussion: https://github.com/DandelionSprout/adfilt/discussions/163#discussioncomment-17473914

  • Raymond Hill (05 Jul 26)

    Import translation work from https://crowdin.com/project/ublock

  • Raymond Hill (05 Jul 26)

    [mv3] Discard rules with `topDomains` condition when not supported Related issue: https://github.com/uBlockOrigin/uBOL-home/issues/715

  • Raymond Hill (03 Jul 26)

    Make Firefox dev build auto-update

  • Raymond Hill (03 Jul 26)

    Update changelog

  • Raymond Hill (03 Jul 26)

    New revision for dev build

  • Raymond Hill (03 Jul 26)

    Add missing test against `null` object Related issue: https://github.com/uBlockOrigin/uBlock-issues/issues/4047

  • Raymond Hill (03 Jul 26)

    [mv3] De-duplicate ruleset minimization code

  • Raymond Hill (28 Jun 26)

    Make Firefox dev build auto-update

  • Raymond Hill (28 Jun 26)

    New revision for stable release

  • Raymond Hill (28 Jun 26)

    Import translation work from https://crowdin.com/project/ublock

uBlock Origin Security

4/10

Repo Security Summary

Updated 29 Jun 26

  • Code-Review 0/10
  • Token-Permissions 10/10
  • Maintained 10/10
  • Dangerous-Workflow 10/10
  • Packaging N/A
  • CII-Best-Practices 0/10
  • SAST 0/10
  • Security-Policy 0/10
  • License 10/10
  • Binary-Artifacts 6/10
  • Pinned-Dependencies 0/10
  • Branch-Protection 0/10
  • Signed-Releases 0/10
  • Fuzzing 0/10

uBlock Origin Reviews

More Ad Blockers

About the Data: uBlock Origin

Change History

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!

View Ad Blockers (7)