-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Explanation of the state of uBlock Origin (and other blockers) for Safari #158
Comments
What differentiates an "ad-blocker" from a "content-blocker" that makes it impossible for this change? Isn't an "ad-blocker" just a "content-blocker" that only blocks a very specific type of content? |
thanks for u summation. it's so sad:( i have used it for three years and it's time to say goodbye... |
I must admit the the terminology isn't very clear. A Safari "content-blocker" app sends a list to Safari, and Safari blocks it. A regular blocker (like uBO) blocks content itself. Safari content blockers aren't all bad, they are more secure in that they can't possibly collect your browsing history (not that uBO does), but lack the level of customisation and power that a regular blocker like uBO can provide. |
Thanks! You should pin this issue. |
Just FIY I would not recommend buying 1Blocker. I paid both for the initial version and the "1Blocker X" one on IOS but I had the constant feeling the filter lists weren't being updated and I wasn't sure of their origin (I'm assuming they use EasyList for the ads, but which one do they use for privacy & annoyances?). AdGuard for Safari is free, open-source and is compatible with uBlock-style filter lists (it has code that does its best to convert them to Safari content blocking lists). You can choose to use EasyList, EasyPrivacy, Fanboy's lists or any of the regional lists so I would recommend it over 1Blocker. |
You can take a look - https://github.com/AdguardTeam/AdGuardForSafari |
Thank you for responding. Ive updated the post and corrected my errors. Based on point 2, for filters to update, the electron part needs to be running. Does leaving this running for filters to update have any serious power or performance issues? |
thats odd, when I wrote this post, everything I could find had it as the best or one of the best. This guy tested them quite thoroughly from 2015 to 2018, and found 1Blocker to stand out. Looking at it again now, it seems that 1Blocker requires an app update to update their lists (entirely based on the changelog), which would explain the slow rate of updates. Tommorow I will investigate further and update my list once again. |
AdGuard is SLOOOOOOOOW. Horrible piece of software. Typical of garbage created with Electron.
… On Sep 20, 2019, at 7:48 AM, Andre Borie ***@***.***> wrote:
Just FIY I would not recommend buying 1Blocker. I paid both for the initial version and the "1Blocker X" one on IOS but I had the constant feeling the filter lists weren't being updated and I wasn't sure of their origin (I'm assuming they use EasyList for the ads, but which one do they use for privacy & annoyances?).
AdGuard for Safari is free, open-source and is compatible with uBlock-style filter lists (it has code that does its best to convert them to Safari content blocking lists). You can choose to use EasyList, EasyPrivacy, Fanboy's lists or any of the regional lists so I would recommend it over 1Blocker.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#158?email_source=notifications&email_token=ABG2XK6YVNHD3TOMSJCNLA3QKS2BJA5CNFSM4IUSZ4XKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7GOCOQ#issuecomment-533520698>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ABG2XK75SB54BJJIQT2KCTTQKS2BJANCNFSM4IUSZ4XA>.
|
For anyone claiming AdGuard is “fine”…
When you first click on the AdGuard toolbar button you get this:
Click on the Run button and you have to wait 8 seconds for this monstrosity to load:
Close that eyesore and go back to Safari. Clock on the AdGuard button again and it always takes a full 2 seconds for the following pop-up to appear:
And of course then you have to go through a multi-step process for selecting a screen element on the page, experimenting with the slider, previewing, and then saving your change. Nothing responds to keyboard commands like hitting the Escape button because of course it doesn’t.
… On Sep 20, 2019, at 9:37 AM, Walter A ***@***.***> wrote:
AdGuard is SLOOOOOOOOW. Horrible piece of software. Typical of garbage created with Electron.
> On Sep 20, 2019, at 7:48 AM, Andre Borie ***@***.*** ***@***.***>> wrote:
>
> Just FIY I would not recommend buying 1Blocker. I paid both for the initial version and the "1Blocker X" one on IOS but I had the constant feeling the filter lists weren't being updated and I wasn't sure of their origin (I'm assuming they use EasyList for the ads, but which one do they use for privacy & annoyances?).
>
> AdGuard for Safari is free, open-source and is compatible with uBlock-style filter lists (it has code that does its best to convert them to Safari content blocking lists). You can choose to use EasyList, EasyPrivacy, Fanboy's lists or any of the regional lists so I would recommend it over 1Blocker.
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub <#158?email_source=notifications&email_token=ABG2XK6YVNHD3TOMSJCNLA3QKS2BJA5CNFSM4IUSZ4XKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7GOCOQ#issuecomment-533520698>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ABG2XK75SB54BJJIQT2KCTTQKS2BJANCNFSM4IUSZ4XA>.
>
|
What about building uBlockOrigin as either a proxy with a root certificate or using applescript and making it a Mac app? |
Further options are being discussed in uBlockOrigin/uBlock-issues#145. |
@p4t44, you may want to link to the HackerNews discussion of the whys and pros and cons of Apple's change to Safari: https://news.ycombinator.com/item?id=21025252 |
Just FYI for anyone reading this thread: AdGuard for Mac requires installing a kernel extension which as far as I know none of the other options do. I didn't feel comfortable with that so I went with one of the other options. |
I would also suggest Little Snitch or some free equivalent, using block lists. Since it's a firewall, it won't be impacted by any changes in Safari. |
I was using a manually installed build of uBlock Origin on Safari, but Safari crashed twice, and uBlock was dissabled. |
@p4t44 @freediverx Do you need nifty macos app or just good ad blocker ? |
@El-Fitz but functionality of this ad blocker will be limited to blocking hosts when real ad blockers much more powerful and it will diffidently slow down your browser. Better use dnscrypt-proxy with blocklist in this case if you could satisfied by host blockers. |
@p4t44
Why? It seems settled that the UI is slow as it's Electron-based, and I don't argue with that. It just has nothing to do with ad blocking performance, and there's no one on this thread complaining about that. Also, "slow" does not mean that it consumes additional energy or whatever. It simply takes more time to render when you decide to use it. |
Just wanted to leave this here: https://thehackernews.com/2019/09/browser-chrome-extension-adblock.html |
It used to be that it was slower even without the UI open before a recent update. It is also reccomended that you leave the app open constantly for filters to update (which or may not slow it down). I can link you to a dozen reports of AdGuard going slow, so I think it is unreasonable not to mention it in the list. Slow means that 1) it takes longer to use, 2) uses excessive CPU and memory to make the rest of your computer go slower and 3) use more battery. I'm really not sure wether it is significantly slower then alternatives, and I don't have the time or will to figure it out. I've linked to this thread so anybody unsure can read the comments of the AdGuard developer and decide for himself. I think that if you are considering AdGuard, download it. Check activity monitor, if it takes up a lot of CPU or battery, uninstall and get something else. If it doesn't, then don't and use it. |
I would just like to mention a couple of advantages that Wipr has over Ka-Block:
Note that with the new Content Block API you don't need to have a white-list option built into the extension, because you can exclude content blocking on specific websites directly from Safari going to Preferences -> Websites -> Content Blockers |
Yes with OpenWRT. It's not as convenient as blocking at the browser though as exceptions take longer to input and can't be temporarily added with a single click. Best for devices that don't support system-wide blocking, e.g. iOS. |
Would the Chromium MV3 style work with the new Safari extension model? |
Is there are some plans to make a port of new experimental uBOLite MV3 API-based content blocker to Safari? |
Just a heads up that full (or nearly full) uBO experience is possible in a WebKit-based browser. Orion browser, a WebKit-based Mac browser (still in beta) supports Chrome/Firefox extensions natively. |
I have been using Orion and it's been great so far. |
My god orion did it 😫 |
The biggest problem with what everyone has mentioned with using FireFox or a different browser that supports uBlock Origin is that on iOS and iPadOS; those browsers don't support extensions that are available for those browsers, because Apple has forced them to wrap their browser in webkit so that it is basically a skinned version of Safari. The OP's message suggestions is the best that I've found. For the past 2 years, I've been looking for a way to get rid of all the tracking and ads and such on my iPhone but I've not had any success; until now - when I found this post that detailed everything. I decided to bite the bullet at take the subscription to AdGuard (bought the lifetime license). Because of what the OP mentioned about AdGuard using the same syntax as uBlock Origin, all I had to do was migrate my filters into my AdGuard on my phone and now everything is working as it should; balance has been restored 😁 From all the reading that I've done the past week, AdGuard is my number 1 recommendation, but all the suggestions that the OP mentioned in the original message are good choices too 😊 |
Has anyone ever verified this in the source code? |
@F1248 Your comment appears to be way off-topic for this very old issue which has largely been abandoned by anybody that matters. The quotes you used are not even found in this discussion, so you might have better luck getting help with your request if you started a new Issue. |
any news on this? |
There has been no real news on this topic since the developer's original posting over four years ago, so I don't anticipate there will ever be. |
thats sad, I really like safari, but without proper adblockewr it is kind of mehhh |
2024 and I'm wondering why uBlock O can't be ported to Safari still. Didn't Apple make improvements in this area? |
Plugin extension api is not fully supported in Safari, UBlock O uses this api for its core functionality, It can't be ported cuz that
|
How does Adguard manage it to make it work ? |
Adguard uses content blocking functionality in WebKit which is less powerful than native requests-based web extension APIs used by uBO. If you want to see full uBO functionality in a WebKit browser, Orion browser has implemented web extensions API on top of WebKit and natively supports Chrome and Firefox extensions. This support is still in beta but most popular extensions work (including uBO). Disclaimer: I am one of the devs of Orion. |
I dont care which engine :) I just want to use privacy gateway of safari and its convenient macos integration. Or does Orion can be used with apples privacy gateway? [EDIT] I juist installed orion and a excited, it just looks like Safari anbd even support touch id etc, keep testing |
does Orion iOS also support extensions now in EU? |
I must admit that I haven't been using Orion recently due to some bugs I encountered and a preference for a more polished design similar to what I found in Beam browser that was around a little bit ago. However, I'm optimistic about the improvements Orion is making, especially with the implementation of web extensions API. I look forward to giving it another try in the future. It's got so many great features and I especially appreciate how privacy focused it is. |
IMHO, I wonder if it's worth it? I've switched all my Macs to Firefox a long time ago and don't regret it. Firefox is fast nowadays and I've dodged numerous security and privacy vulnerabilities over time because Safari was the gateway for multi-chain macOS attacks. I used to prefer Safari, but I just gave Firefox a Safari-looking theme and went forward. Far less headaches, far more options and often far ahead of Safari in features built-in and third party. I don't know if I'll ever go back to Safari on macOS unless something very compelling is offered I can't do with Firefox. |
Same here except that touchID, keychain, passkey works better in Safari, which theme do you use ? |
It is a shame to miss some features like 2FA auto fill though! |
Now that I look closer I'm just using a theme called "System theme - auto" and it looks similar to Safari to me. I think in the past I used to use a different theme to simulate Safari but forgot I switched maybe to the default after it improved? There's this following option perhaps, but I'm happy with "System theme — auto": https://github.com/AdamXweb/WhiteSurFirefoxThemeMacOS I haven't had keychain issues with Firefox, but I use the 1Password extension for password management for the most part. I haven't noticed any touchID issues with Firefox either, but maybe that's due to using 1Password, I don't know. |
Another issue is that Appel Privacy Gateway and 'hide my email' is only working in Safari afaik |
@daslicht I'm not sure, I don't use "hide my email" but I do know Firefox has its own free "Firefox Relay" extension. https://nerdschalk.com/firefox-relay-vs-apple-hide-my-email-what-to-use-and-why/ As far as Apple Private Gateway, I use my own VPN that works with every connection on my Mac computers and isn't specific to any app. Although I do have the option for split-tunneling to allow certain apps through the VPN but I don't have any need for that. I would hope that APG would protect any app that connects like any standard VPN does, but I don't use it. It may not play well with Firefox because Apple is notorious for trying to edge out third party options for their userbase. Another reason why I use my own VPN, Firefox, etc. |
Firefox relay sounds great but paying extra for a dedicated VPN is out of sc ope over here. |
One caveat (unless Mozilla has changed this recently) is it apparently has a ridiculously small attachment size limit according to the article (150 KB), so it may not be the best choice either (unless Moz upgraded that limit since the article was published). |
No one has mentioned what's missing from CURRENT versions of Safari. Apple claim that's there's a green light to support extension conversion from other browsers. Some people balk at developer registration being $99 - except you can get a free account and distribute outside the app store if you so choose. |
Does anyone know if Hyperweb extension for Safari works at all with UBlock Origin script being uploaded? Or is there more to it? Can someone test it out for me? |
Very quick tl;dr: uBO will no longer work with Safari, use Firefox or a new "content blocker" app (see below for good replacements).
In the past few months, and especially in the past week, there have been a lot of posts and comments questioning the status of uBlock Origin for Safari. This should answer all questions on the status of uBO for 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). Safari also recently shut their Extension Gallery, instead redirecting it to the mac app store. Though it is still curently possible to install uBlock Origin by 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.
It will not possible for uBlock Origin to work with the upcoming Safari 13 / macOS Catalina release
If you are a current user of uBlock Origin for Safari here are the options to continue blocking ads:
Top picks
- 1Blocker, by far the most powerful, with custom rules and an element picker. This is the best option if you don't mind paying. Costs $10.1Blocker has switched to a subscription model, even for people who already paid for it. Avoid.Update: do not buy. 1Blocker has teased 1BlockerX for Mac, which will be a paid upgrade. I cannot reccomend buying an app now which will soon be obsolete..Update 2: 1Blocker has said that it will be a free upgrade to 1BlockerX from the current version, so there isn't any reason to wait if you want it.Other Good Options
Don't see any advantage in this over Ka-block (see above) for an extra $1.99.Apparently Ka-Block doesn't work for youtube (wipr does), and Wipr uses 3 extensions to get around the limit in rules.Do Not Reccomend
Update: Here is a statement from gorhill (uBO developer) on the state of Safari
Edit: a lot people are asking about uBlock Origin not working in the future on Chrome. If you'd like more information on this, here is an article from ghacks from january, and a statement from gorhill, developer of uBlock.**
There has been discussion of this on Reddit Github and Hacker News.
The text was updated successfully, but these errors were encountered: