HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
el1t
uBlock-Safari
JavaScript2016–2025
el1t / uBlock-Safari

uBlock-Safari

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

48Distinct people
54Mentions
0Explicit recommenders
2.7KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

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

GitHub

Where it is used

No documented product use was verified in the last source check.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 5:04:57 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year54 dated mentions

Observed mentions: 2016-12-05 13:47:56 UTC to 2025-08-05 18:43:32 UTC.

0369122016-01-01 00:00:00 UTC to 2017-01-01 00:00:00 UTC (exclusive): 5 mentions; 2 submissions, 3 comments20162017-01-01 00:00:00 UTC to 2018-01-01 00:00:00 UTC (exclusive): 3 mentions; 0 submissions, 3 comments2018-01-01 00:00:00 UTC to 2019-01-01 00:00:00 UTC (exclusive): 5 mentions; 0 submissions, 5 comments2019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 10 mentions; 1 submissions, 9 comments2020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 6 mentions; 0 submissions, 6 comments20202021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 12 mentions; 2 submissions, 10 comments2022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 8 mentions; 0 submissions, 8 comments2023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 4 mentions; 0 submissions, 4 comments2024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-01-01 00:00:00 UTC to 2026-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2025

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20162016-01-01 00:00:00 UTC2017-01-01 00:00:00 UTC523
20172017-01-01 00:00:00 UTC2018-01-01 00:00:00 UTC303
20182018-01-01 00:00:00 UTC2019-01-01 00:00:00 UTC505
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC1019
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC606
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC12210
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC808
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC404
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC000
20252025-01-01 00:00:00 UTC2026-01-01 00:00:00 UTC101

From the project README

An excerpt from the repository, fetched Nov 13, 2026.

Read the project’s introduction
uBlock Origin for Safari pronounced you-block origin (/ˈjuːˌblɒk/) — you decide what enters your browser. An efficient blocker add-on for various browsers. Fast, potent, and lean. Regarding this Safari port The majority of this code is shared with upstream. Platform specific portions are under development. Much of the platform shim from the original uBlock Safari version is still being used. Installation Building Release History Further Documentation About License Installation The preferred method of installation is to install from the extension gallery. This allows the extension to update automatically, and the submissions are approved by Apple. To learn more about installation and updates, visit the wiki. Compatible with Safari 11, untested on older versions (but should work). Note To benefit from uBlock Origin's higher efficiency, it's advised that you don't use other inefficient blockers at the same time (such as AdBlock or Adblock Plus). uBlock₀ will do as well or better than most popular ad blockers. Other blockers can also prevent uBlock₀'s privacy or anti-blocker features from working properly. Building Development To build and load an unpacked extension for development: Clone uBlock-Safari and uAssets into the same parent directory Build by running ./tools/make-safari.sh in uBlock-Safari's directory Install the unpacked extension through Safari's Extension Builder In Safari, load the Extension Builder (Develop > Show Extension Builder) Click the + button in the bottom left corner and "Add Extension" Select dist/build/uBlock0.safariextension Click install and enter your password You will have to reinstall from this panel every time you restart Safari If you don't see a Develop menu in Safari, you can run defaults write com.apple.Safari IncludeDevelopMenu -bool true or go to Preferences > Advanced > Show Develop menu in menu bar. Example clone and build: # Clone git clone https://github.com/uBlockOrigin/uAssets.git git clone https://github.com/el1t/uBlock-Safari.git # Build cd uBlock-Safari ./tools/make-safari.sh echo 'Output is in dist/build/uBlock0.safariextension' Release To build and sign for release (certificates required): Clone uBlock-Safari and uAssets into the same parent directory Build by running ./tools/make-safari.sh all in uBlock-Safari's directory Requires xar-mackyle, which will be built if not found Release History See the releases pages for a history of releases and highlights for each release. Further Documentation Visit the upstream uBlock Origin wiki for further documentation. About uBlock Origin's manifesto. Free. Open source. For users by users. No donations sought. Without the preset lists of filters, this extension is nothing. So if ever you really do want to contribute something, think about the people working hard to maintain the filter lists you are using, which were made available to use by all for free. You can contribute by helping translate uBlock₀ on Crowdin. License GPLv3.
Read the full README on GitHub

What Hacker News says

54 sources
You are mistaken. Safari removed the APIs necessary for an uBlock port (there used to be one), see https://github.com/el1t/uBlock-Safari/issues/158. Injecting code via Web Extensions is too late for reliable blocking - by then, either the malicious JS you are trying to defuse has already ran (if it wasn't blocked declaratively), or if not then the rest of the page's JS depending on it has already exploded and "fixing" it after the fact (by substituting a neutered shim via Web Extensions) doesn't fix the rest of the page.
In uBlock Origin Lite now available on Firefox
Oh for fuck’s sake. Safari has had extensions since 2010, and uBlock Origin supported it until 2018. The problem vis-a-vis uBO that in 2018, Safari switched its extension framework. It no longer supports the WebExtensions framework, instead using a native (proprietary) implementation. The new framework requires extensions to be packaged as apps, and is less featureful in terms of what extensions can do and access than the older framework. Consequently, uBlock Origin decided not to support the new extension framework (https://github.com/el1t/uBlock-Safari/issues/158).
In Ask HN: Why does Firefox have such a low market share anyways?
Looks like the answer is no, Safari is not supported. > ..as of 2022, uBlock Origin’s extension is available for several of the most widely used browsers, including: Chrome, Chromium, Edge, Opera, Firefox and all Safari releases prior to 13. https://ublockorigin.com/ Explanation of the state of uBlock Origin (and other blockers) for Safari - https://github.com/el1t/uBlock-Safari/issues/158 Apparently, the only WebKit-based browser that can run uBO is Orion browser (beta, Mac only). https://browser.kagi.com/
In DuckDuckGo for Mac beta now open to the public
I don't know if it is cartelisation (both Apple and Google have an ad division and it is in their interest to work together on some aspects of this business) or Google bribed Apple (through its ios search engine deal), but Safari webkit also has limitations in ad blocking through the content blocking API which Apple created for Safari. (See Explanation of the state of uBlock Origin (and other blockers) for Safari #158 - https://github.com/el1t/uBlock-Safari/issues/158?ysclid=l7g3... ).
In AdGuard publishes the first ad blocker built on Manifest V3
The nerfed experience of addons only specifying a significantly limited list of blocking rules, giving up being able to autonomously allow or deny each request with arbitrary parameters, surrogate scripts (replacing the original, tracking ones with privacy-friendly reimplementations) and cosmetically alter the webpage (e.g. fixing the layout with missing ads). Partial source: https://github.com/el1t/uBlock-Safari/issues/158
In Apple's claim is that it bans other browsers for security
You can't¹. There is a new browser called Orion² currently in private beta that uses the same engine as Safari, which you can use Firefox and Chrome extensions on. It works both on Mac, and surprisingly on iOS. I believe it's the only browser on iOS that allows you to use -some- desktop extensions. I use uBlock Origin with it on iOS and it works good enough. ¹ https://github.com/el1t/uBlock-Safari/issues/158 ² https://browser.kagi.com/
In Show HN: Let's Block It – Custom uBlock Origin Filters Made Easy

Showing the 15 most recent of 54 sources. Enable JavaScript to search and browse every indexed mention.

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.