Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Weaselboy

Moderator
Staff member
Jan 23, 2005
34,482
16,197
California
Check out the Safari extensions gallery, that’s the likely place where you will find them.
https://safari-extensions.apple.com/?category=mostrecent

I just had a look at some of the recent adblockers in the Safari extensions gallery. The following extensions use the new content blocker APIs (I’ve had a glance at the source code):
  • Adamant
  • Ka-Block!
  • Roadblock
  • Wipr
  • NoThirdParty
AdBlock, Adblock Plus, Adguard and Ghostery don’t use the new method yet.

Thanks for this list. :)

Based your review of the source code, do you have a favorite among these as a potential replacement for AdBlock?
 
  • Like
Reactions: PowerBook-G5

KALLT

macrumors 603
Sep 23, 2008
5,380
3,415
Thanks for this list. :)

Based your review of the source code, do you have a favorite among these as a potential replacement for AdBlock?

No, they’re all pretty basic. Like on iOS they basically just send a block list in JSON format to Safari which will compile it into bytecode. They’re pretty unspectacular. NoThirdParty blocks all external resources, so it isn’t an adblocker. The others:
  • Adamant: No dynamic updating of the block list, the preloaded one is 2.5 MB in size.
  • Ka-Block!: idem, the preloaded block list is 62 KB in size.
  • Roadblock: Surprisingly has no preloaded block list and I can’t see any mechanism for fetching remote ones. Not sure how they do this!
  • Wipr: No preloaded block list, but it fetches the JSON file remotely. The current version is 8.5 MB in size.
 

Wheelie4

macrumors regular
Jun 6, 2007
242
36
NC, USA
No, the previous mechanism is deprecated but it still works. They will have to update eventually, but I don’t think that Apple will be as strict as with the App Store. As long as extensions don’t do anything weird, they will be distributed. Without the gallery, big extensions like Adblock Plus won’t be updated automatically, so the gallery is the only option to make the transition seamless for users.

I just looked at the extension tab Safari preferences and it alerted me at the bottom that there were two updates for extensions for (1Password and Adguard). It removed the old Adguard and sent me to Safari extension page to download the new Adguard extension. That was pretty cool. I'm guessing this new extension supports the new content blocking API.
 
  • Like
Reactions: Verloc

KALLT

macrumors 603
Sep 23, 2008
5,380
3,415
I just looked at the extension tab Safari preferences and it alerted me at the bottom that there were two updates for extensions for (1Password and Adguard). It removed the old Adguard and sent me to Safari extension page to download the new Adguard extension. That was pretty cool. I'm guessing this new extension supports the new content blocking API.

No, it doesn’t, I checked. 1Password was automatically updated for me, sometimes the gallery version seems to replace the previous version seamlessly, but sometimes it doesn’t.
 
  • Like
Reactions: Wheelie4

Verloc

macrumors member
Nov 9, 2009
81
8
No, they’re all pretty basic. Like on iOS they basically just send a block list in JSON format to Safari which will compile it into bytecode. They’re pretty unspectacular. NoThirdParty blocks all external resources, so it isn’t an adblocker. The others:
  • Adamant: No dynamic updating of the block list, the preloaded one is 2.5 MB in size.
  • Ka-Block!: idem, the preloaded block list is 62 KB in size.
  • Roadblock: Surprisingly has no preloaded block list and I can’t see any mechanism for fetching remote ones. Not sure how they do this!
  • Wipr: No preloaded block list, but it fetches the JSON file remotely. The current version is 8.5 MB in size.

"idem"?

Think I'll test them...was really hoping uBlock would get going on this. It's the same guy that did Purify on iOS, but he seems to have not done anything recently for uBlock.

How useful can any of these be without updating blocklists?
 

KALLT

macrumors 603
Sep 23, 2008
5,380
3,415
"idem"?

Think I'll test them...was really hoping uBlock would get going on this. It's the same guy that did Purify on iOS, but he seems to have not done anything recently for uBlock.

How useful can any of these be without updating blocklists?

Idem is Latin for ‘the same’. Well, most of the development of uBlock is undertaken by the original and actual developer who now maintains uBlock Origin. Unfortunately, he won’t release a Safari version. The developer of Purify could easily release a Safari extension, since the APIs are so similar, but I suspect it is much more lucrative to maintain Purify for now.

Since these are gallery extensions, they can just be updated in the background. They could push updated block lists in this way without having to cover the costs for hosting the block lists themselves.
 
  • Like
Reactions: Weaselboy

Verloc

macrumors member
Nov 9, 2009
81
8
Idem is Latin for ‘the same’. Well, most of the development of uBlock is undertaken by the original and actual developer who now maintains uBlock Origin. Unfortunately, he won’t release a Safari version. The developer of Purify could easily release a Safari extension, since the APIs are so similar, but I suspect it is much more lucrative to maintain Purify for now.

Since these are gallery extensions, they can just be updated in the background. They could push updated block lists in this way without having to cover the costs for hosting the block lists themselves.

The original developer (uBlock Origin) no longer contributes to uBlock. There was a big hullabaloo a few months ago. The developer of the uBlock fork is also the developer of Purify and pretty much a one-man shop.
 

Somnesis

macrumors newbie
Original poster
May 23, 2015
18
3
Installed Wipr, seems to work pretty well :) And fast page loads!

Strange though none of these extensions seem to present themselves with any kind of options whatsoever. They also install on Yosemite just fine without any warning.
 
  • Like
Reactions: PowerBook-G5

KALLT

macrumors 603
Sep 23, 2008
5,380
3,415
Installed Wipr, seems to work pretty well :) And fast page loads!

Strange though none of these extensions seem to present themselves with any kind of options whatsoever. They also install on Yosemite just fine without any warning.

But Safari 9 is available on Yosemite too, no?
 

Wheelie4

macrumors regular
Jun 6, 2007
242
36
NC, USA
At least Adblock is working on it.
Main Window 2015-10-01 16-33-26.png
 
  • Like
Reactions: Weaselboy

Verloc

macrumors member
Nov 9, 2009
81
8
Preliminary testing. Wipr/Roadblock seem the fastest so far. Adguard the slowest.

Wipr may be a little better at blocking pop-ups.

The rest pretty much equal, but Ka-Block the only one that has had a massive failure blocking (multiple pop-ups etc).
 
Last edited:

PowerBook-G5

macrumors 65816
Jul 30, 2013
1,244
1,183
Check out the Safari extensions gallery, that’s the likely place where you will find them.
https://safari-extensions.apple.com/?category=mostrecent

I just had a look at some of the recent adblockers in the Safari extensions gallery. The following extensions use the new content blocker APIs (I’ve had a glance at the source code):
  • Adamant
  • Ka-Block!
  • Roadblock
  • Wipr
  • NoThirdParty
AdBlock, Adblock Plus, Adguard and Ghostery don’t use the new method yet.

No, they’re all pretty basic. Like on iOS they basically just send a block list in JSON format to Safari which will compile it into bytecode. They’re pretty unspectacular. NoThirdParty blocks all external resources, so it isn’t an adblocker. The others:
  • Adamant: No dynamic updating of the block list, the preloaded one is 2.5 MB in size.
  • Ka-Block!: idem, the preloaded block list is 62 KB in size.
  • Roadblock: Surprisingly has no preloaded block list and I can’t see any mechanism for fetching remote ones. Not sure how they do this!
  • Wipr: No preloaded block list, but it fetches the JSON file remotely. The current version is 8.5 MB in size.

This is great information! Perhaps we should make a new Wiki thread in the El Capitan forum to make this information more visible.
 
  • Like
Reactions: Weaselboy

Wheelie4

macrumors regular
Jun 6, 2007
242
36
NC, USA
All of the new style blockers (Adamant et. al.) seem to break Youtube, which is obviously rather unfortunate.

YouTube plays fine for me using Wipr. On some videos there is a delay before the video starts but I believe that's just were the video ad is.
 

notrack

macrumors 6502
Feb 19, 2012
446
94
Roadblock blocks photos on iCloud.com. My photo gallery shows grey rectangles with the spinning wheel instead of the actual photos. They won't load. No issue with the others from that list.
 
Last edited:

valdikor

macrumors 6502
Aug 21, 2012
388
215
Slovakia
I don't know if you guys heard the news, but Chris Aljoudi, the developer of Purify, has announced that Purify is coming to OS X soon. That's great news.
I'm currently on ABP, but I'm ready to ditch it and switch to native content blocking when Purify is released, I have had the best experience with it on iOS.
 
  • Like
Reactions: Weaselboy

Mr. Wonderful

macrumors 6502a
Feb 19, 2009
571
34
I don't know if you guys heard the news, but Chris Aljoudi, the developer of Purify, has announced that Purify is coming to OS X soon. That's great news.
I'm currently on ABP, but I'm ready to ditch it and switch to native content blocking when Purify is released, I have had the best experience with it on iOS.
I'm eagerly anticipating this. Do we have any sort of rough date as to when it might be released?
 

Weaselboy

Moderator
Staff member
Jan 23, 2005
34,482
16,197
California
He has not mentioned any date. Also be aware it's not going to be free. The OS X version will only be free if you paid for the iOS version.
I think the ios version was only 1.99. So if he tosses in both for that price, I'd say that is a prety decent deal.
 

valdikor

macrumors 6502
Aug 21, 2012
388
215
Slovakia
I think the ios version was only 1.99. So if he tosses in both for that price, I'd say that is a prety decent deal.

Agreed. I wouldn't mind paying a nominal fee again for such a well-made app/plugin. I wonder, though, how he's gonna implement the paywall. Safari Extensions are free by design. Maybe you can also distribute them on the Mac App Store? And that STILL wouldn't provide a way to give it for free to those who own it on iOS. I'm intrigued. :)
 

Weaselboy

Moderator
Staff member
Jan 23, 2005
34,482
16,197
California
Agreed. I wouldn't mind paying a nominal fee again for such a well-made app/plugin. I wonder, though, how he's gonna implement the paywall. Safari Extensions are free by design. Maybe you can also distribute them on the Mac App Store? And that STILL wouldn't provide a way to give it for free to those who own it on iOS. I'm intrigued. :)
I too was wondering how he is going to implement that. I did not know there was a way to link the purchase together like that.
 

Wheelie4

macrumors regular
Jun 6, 2007
242
36
NC, USA
I think the ios version was only 1.99. So if he tosses in both for that price, I'd say that is a prety decent deal.

I agree it's a decent price. I wasn't complaining about having to pay for it. I was just informing people. I also like to be clear that because of what he mentioned about it being free to the people that bought the iOS blocker I just assumed the OS X version would not be free but I could be wrong about that.
 

rnbwd

macrumors regular
Jul 6, 2015
111
38
Seattle
ka-block isn't that great - but it's open source, customizable, so submit a pull request or fork it to play with alternative blocking rules!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.