Adblock Plus for Safari Beta released · 2014-01-21 15:56 by Sebastian Noack
I spent the past months porting Adblock Plus to Safari. And by now, we’ve got something that is stable enough to release as a beta. Adblock Plus for Safari uses mostly the same codebase as Adblock Plus for Chrome/Opera. So it has the same features and every improvement we do in the future for either browser extension will automatically land in the extension for the other browsers.
To achieve this I added an abstraction layer to the code of Adblock Plus for Chrome/Opera. This way most of the code is browser-agnostic and only the abstraction layer needs to know the APIs provided by the respective browser. That was actually quite a challenge, since Safari has a very limited API.
Adblock Plus for Safari is compatible with following versions of Safari:
- Safari 5.1 (works, but will break functionality on some websites due to a WebKit bug, usually affects image magnifiers)
- Safari 6.0
- Safari 6.1
- Safari 7.0 (works, but has still some issues, see below)
However it is still a beta, so here is what doesn’t work, yet:
- Popups aren’t blocked.
- The number of ads blocked for the current page will sometimes not be reset when navigating to a new page (Safari 7.0 only).
- Icon popup contents will sometimes not update when loading a page into a new tab (Safari 7.0 only).
Beside that Safari’s extension API is more limited than those of other browsers and therefore:
- Requests issued by third-party plugins like Flash can’t be blocked (however we found a way to still block video ads on YouTube).
- XHR requests can’t be blocked.
Commenting is closed for this article.