10

Is there any way to install uBlock Origin on Safari?

I'm currently using macOS 10.11.2 with Safari 9.0.2 on a 2012 MacBook Pro.

6

Now there is, thanks to a new fork of uBlock Origin for Safari by el1t. As of writing, as it's still in alpha, you will need to download the extension from GitHub and then install it by clicking on the downloaded file.

6

2019 Update: uBlock Origin is no longer available as of Safari 13.

More detail can be found in this GitHub Issue:

uBO will no longer [work] with Safari, use Firefox or a new "content blocker" app.


2018 Update

uBlock-Safari 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.

  • With Safari 13 it's not possible, unfortunately. Apple has removed it. – Rostyslav Druzhchenko Sep 20 at 10:30
  • @RostyslavDruzhchenko - thanks for prompting an update! Updated. – JBallin Sep 30 at 2:58
2

Nope, but you can install uBlock. Unfortunately, it seems like its development has stalled recently, but it still works for the most part.

1

As of Safari 12.0, with the switch from the Extension Gallery to the Safari Extensions, uBlock Origin is no longer officially supported. You can read a more detailed discussion of the situation here: Safari 12 compatible versions of ad blockers fail to block many ads

There is, at least for now, an officially supported workaround on the uBlock-Safari Github page:

  1. Clone uBlock-Safari and uAssets into the same parent directory
  2. Build by running ./tools/make-safari.sh in uBlock-Safari's directory 3.Install the unpacked extension through Safari's Extension Builder
    • Show the Develop menu in Safari by going to Preferences > Advanced and checking Show Develop menu in menu bar
    • 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 repeat step 3 each time you restart Safari, but your settings will be saved, so it's only a few extra clicks.

It's impossible to know how long Apple will allow this to work, but for for now it seems to be the least bad option (and much better than using uBlock which is shady and unrelated to uBlock Origin)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .