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.
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.
Until relatively stable, this extension must be installed manually.
Compatible with Safari 10, untested on older versions.
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.
To build and load an unpacked extension for development:
- Clone
uBlock-Safari
anduAssets
into the same parent directory - Build by running
./tools/make-safari.sh
inuBlock-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 toPreferences > 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'
To build and sign for release (certificates required):
- Clone
uBlock-Safari
anduAssets
into the same parent directory - Build by running
./tools/make-safari.sh all
inuBlock-Safari
's directory- Requires
xar-mackyle
, which will be built if not found
- Requires
See the releases pages for a history of releases and highlights for each release.
Visit the upstream uBlock Origin wiki for further documentation.
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.