file:// works on iOS?
I have no idea. I assume it will work, but figuring out the correct URL for a file stored locally (e.g. for something in the âOn My iPhoneâ location in the Files app) might require some experimentation, since it will require knowing the actual file path, which iOS hides from users.
After some web searching, it appears that thereâs a shareddocuments:// URL domain that is used to reference the contents of the Files app, but I havenât been able to find any articles about how to construct a URL for opening a specific file. Everything Iâve found so far is talking about how an app can let a user select a file from there, generating a URL from the selection. But that doesnât help if youâre not writing an application.
RE: Blocking âSign in with Googleâ prompts, I use some filter additions to uBlock Origin. I found them in a Linux forum somewhere (see code below), but here is a recent article that discusses this topic and uses a variation on one of my filters:
The filters I use: With uBO installed, click its toolbar icon, then click the little gears (lower, right) to open uBO Settings.
Click âMy filtersâ tab at top.
Paste the following into the code area (where line numbers show at left side):
|id.google.com^
||accounts.google.com/gsi/$3p
||smartlock.google.com^
! Block "Sign in with Google" iframe in top right corner of websites
||accounts.google.com/gsi/iframe
Click âApply changesâ and the filters should be active. You can always disable uBlock Origin for a given web site if you need Google authentication for specific places.
This MacStories article seems to explain how to construct a shareddocuments:// URL:
⌠a PDF document named âExpenses.pdfâ stored in your iCloud Drive Downloads folder should have this kind of filesystem path:
/private/var/mobile/Library/Mobile Documents/com~apple~CloudDocs/Downloads/Expenses.pdfBy themselves, these paths are useless as you cannot launch them in any way. However, Iâve recently discovered that if you combine the Files appâs
shareddocuments://URL scheme with an encoded version of the filesystem path, the file or folder can be reopened directly in the Files app. The launcher URL looks something like this:
shareddocuments:///private/var/mobile/Library/Mobile%20Documents/com~apple~CloudDocs/Downloads/Expenses.pdf
I had been using Adlock (which comes with Setapp) but I tried Ghostery, and I much prefer it. Thanks for the recommendation.
Iâve been using it for about a week and itâs very good. However YouTube stopped playing videos after a couple of days and Iâve had to disable the blocker for the site. Ublock provides a lengthy protocol for working through the problem but it involves a complicated series of steps that looks like it may be more trouble than itâs worth. Thereâs a very long thread on Reddit about it and some company FAQs. Otherwise, seems like a very good blocker.
You mean videos stopped entirely? I never had that problem so I never looked at the workaround. One time I started getting ads again, but then that stopped and hasnât happened since. Itâs a David and Goliath battle of sortsâŚ
More or less. The video doesnât load and there is a notice posted below about âSlow videos?â that you can click for further info. Thereâs a line or two about disabling any ad blockers.
I use Orion as primary browser and apply its built in blocking features. Have no Extensions installed and see very few ads.
In Firefox, I set Strict for Tracking and have Ghostery and uBlock Origin installed and active, and also see very few ads.
I have gotten those notices about âslow videoâ or whatever it is, which I just ignore. Occasionally
videos will load slowly, or the whole page loads wrong, but Iâve never had not playing at all. Itâs
hard to say what is youtube trying to manipulate us, and what is just normal internet whackiness.
My experience is the same, perhaps a few seconds lag to load but I prefer that over 30 or 60 seconds of ads. Once the video is running I have no issues (I assume itâs also blocking mid-video ads)
The only time it doesnât simply run is when there is an ad which requires a user intervention - âclick here to continueâ - or similar. Fortunately theyâre not too common.
Yes, but I didnât want to wait for YouTube to decide to load the video. I think itâs simply Google messing with the blocker.
For dealing with YouTube I highly recommend SponsorBlock. Itâs excellent and kept updated.
NextDNS at network/device level
uBlock Origin in all browsers for general web ad blocking
Vinegar in Safari for YouTube pre-/post-/mid-roll ads
SponsorBlock in all browsers for YouTube in-video host read ads/segues/etc.
Youâd have this concern with every ad blocker as they all require sensitive access. I disable it on things like work or email or bank sites that donât have ads anyway.
Also they have gone out of their way to address this around the time Russia invaded Crimea (the first time) by making sure everyone knows (itâs on their website somewhere) that they are headquartered in Cyprus and have no legal connection to Russia.
Iâve used it for many years and never noticed any problems.
Maybe I spoke too soon because uBlock has been working well with YouTube. Sometimes thereâs a slight inital delay but otherwise itâs been fine.
If you are using Tailscale, you might be interested in this approach:
Fascinating details on the origin of ad blockers; apparently, all use the same rules.
Thanks. Good article.
They donât all use the same list, but the EasyList/Fanboy collection of block-lists are very robust. So Iâm not surprised that theyâre so popular.
FWIW, I run a lot more on my ad blocker (uBlock Origin on Firefox):
- All of the built-in uBlock filters: Ads, Badware risks, Privacy, Quick fixes, Unbreak
- Ads - EasyList
- Privacy
- EasyPrivacy
- Block Outsider Intrusion into LAN
- Malware protection
- Online Malicious URL Blocklist
- Phishing URL Blocklist
- Multipurpose - Peter Loweâs Ad and tracking server list
- Cookie notices (block popups asking you to approve cookies)
- EasyList - Cookie Notices
- uBlock filters - Cookie Notices
- Annoyances
- All EasyList annoyances, including AI widgets, chat widgets, newsletter notices, notifications and âotherâ annoyances
- uBlock filters - Annoyances
- Custom ones that I added:
- Bongochongâs combined privacy block list Filters for ABP & uBO
- NoCoin (blocks crypto-miner scripts).
Amazingly, this doesnât have a significant impact on browser performance. But it keeps my experience sane.
I have been using uBlock Origin on Firefox and Orion for a couple of years, and much of its settings are way over my head so I stick with basics until I read about something specific Iâd like then go into it for that.
I see very few, if any, ads in my current browsing with Firefox 157 and for the previous few years. So much so that when I read complaints about targeted ads and browser annoyances, I canât relate to it. Possibly the ad blocker is only part of the story but Iâm happy with it.
I think I used to use something called Ghostery and Privacy Badger but uBlock seemed more effective (in a broad sort of non-technical-analysis way) so have stuck with it.