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 9–Nov 16 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/16/2026, 4:35:25 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

6 sources
Safari's ad-blockers are not really comparable[0] to what's currently possible on Firefox, Chrome, or other Chromium-based browsers. They rely on declarative blocking and/or system-wide interception (ie, you run them as an entirely separate app outside of Safari). The majority of them are not going to be able to handle things like CNAME unmasking or page source rewrites[1]. The declarative blocking API in Safari isn't built to support those kinds of features. [0] https://github.com/el1t/uBlock-Safari/issues/158 [1] The exception to this being maybe AdGuard when you run it system-wide? I vaguely remember reading that it sets itself as a MITM for all of your web traffic at an OS level, which allows it to do page-source rewrites. I could be wrong about that though.
In Can't you just right click?
uBlock Origin is not available for Safari in its original form. It only exists as a (somewhat neutered) fork that's basically dead[0]. There's a disconnect in the sense that a lot of people think that adblocking in Safari is fine, even though it is pretty objectively less capable than Firefox/Chrome in this area right now. There's no disconnect in saying that Manifest v3 is going to hurt adblockers, because the same changes in Safari also hurt adblockers, and (as of last time I checked) Chrome's proposed changes go even farther than Safari's did. But in general, yes, you should already be avoiding Safari today if you want to use the best adblockers on the market. Safari suffers from the exact same problems, that's why I use Firefox even when I'm on a Mac -- because the adblockers and security extensions for Firefox are just a lot better.
Read the rest
In Let's guess what Google requires in 14 days or they kill our extension
Apple came up with a better way to mine your personal data through its Safari browser. They introduced a feature (Intelligent Tracking Protection - ITP) that they claim blocks ads / trackers from tracking you online on the various sites that you visit. A simplistic explanation: Every time you visit a website with an ad or a tracker, it leaves a cookie on your browser that identifies you. You could block many of them by telling your browser to block cookies from third-party domains. This coupled with ad blockers is one effective way to tackle online tracking. What Apple did was to deliberately take away this control from us and ask us to trust them to deicide which cookie is allowed and which is not. They REMOVED the feature to allow us to block third-party cookies. So now you have only 2 option in Safari - allow ALL cookies or block all c
Read the rest
ookies. You cannot block all cookies as it breaks nearly all websites. Apple claims that you should allow websites to set cookies so it can research and find out which cookies track you. And so every time you visit a website, and it sets a cookie, Apple collects this information "anonymously". So in effect, this "privacy feature" is designed to let Apple know about every website you visit. Ofcourse, Apple claims all this data is anonymously stored (i.e. not tied to any of your personal information like Apple id). (This idea of anonymous collection of data has already been debunked and proven false as it can be "deanonymised"). Second, Apple claims that its anti-tracking feature will not work in private browsing mode because private browsing mode doesn't save cookies once you close a tab. So in effect, Apple deliberately cripples private browsing mode, in effect, advocating that all its users use normal browsing mode (so that Apple, and others, can mine more data from its users) Third, by taking away cookie control, Apple now is in full control of deciding which cookie can stay in the browser. This means that if you visit a website regularly, Apple will decide how its cookies should be treated, regardless of whether you want it deleted it or not. All in all, Apples anti-tracking feature is just designed to give their competitors a harder time while giving Apple the ability to mine their users data better and also taking control away from them. Google researchers also found that Safari's anti-tracking feature was broken and quite weak: > ... According to the Google researchers, the vulnerabilities left personal data exposed “because the ITP list implicitly stores information about the websites visited by the user”. > ... The researchers also identified a flaw that allowed hackers to “create a persistent fingerprint that will follow the user around the web”, while others were able to reveal what individual users were searching for on search engine pages. Apple claims to have fixed this. But the fact remains that the feature is still not quite effective because most online trackers have moved on to browser finger printing. The developer of the popular ad-blocker uBlock Origin has also stated that Safari / webkit ad-blocking abilities leave a lot to be desired. Source: - https://www.theguardian.com/technology/2019/jul/23/anonymise... - https://www.fastcompany.com/90278465/sorry-your-data-can-sti... - https://www.nytimes.com/2019/07/23/health/data-privacy-prote... - https://www.ft.com/content/916a766a-3d27-11ea-a01a-bae547046... - https://www.theregister.co.uk/2020/01/22/apple_intelligent_t... - https://github.com/el1t/uBlock-Safari/issues/158
In Sensor Tower owns ad blocker and VPN apps that collect user data
This is from an ad-blocking community and shows that Apple is NOT serious about supporting ad-blocking and is in fact even sabotaging it on Safari: > uBlock Origin was ported for Safari in 2016, and was updated regulary (mostly changes from the main project) until 2018 when development completley stopped. Since then Apple has begun phasing out Safari extensions as extensions, and has instead been implenting a new extensions framework which is extremley limited in adblocking functions, only allowing "content blockers", which are just links bundled as an app which Safari enforces. From Safari 12 / macOS Mojave, old legacy Safari extensions were still allowed, but came with warnings saying that they will slow down your browsing (they infact won't, or at least not noticably). ... Though it is still curently possible to install uBlock Origin b
Read the rest
y downloading the extension from Github (edit: must follow these instructions, it will not be starting from Safari 13 / macOS Catalina, when the legacy entension API will be fully deprecated. Source: https://github.com/el1t/uBlock-Safari/issues/158
In Are ad blockers doomed or have we already won? A history lesson

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.