3 ms·
Good luck with using that “equivalent” in an embedded web view. Besides, if I care about my privacy, why would I want to use an ad blocker that has access to m
by scarface74 5y ago
Good luck with using that “equivalent” in an embedded web view.
Besides, if I care about my privacy, why would I want to use an ad blocker that has access to my web browsing history?
iOS content blockers tell Safari what to block and don’t have access to where you go.
- deadbunny 5y agoAndroid uses the default browser for webview. If you have Firefox + uBlock Origin as your default browser you get ad blocking in your webview.
- scarface74 5y agoBy “embedded web view”, I don’t mean when you click on a link it switches to another app. I mean something like an RSS reader where you view a web page inside the hosted app. https://wiki.mozilla.org/Mobile/GeckoView https://wiki.mozilla.org/Mobile/GeckoView > Mozilla uses GeckoView to power Firefox for Android, Firefox Reality, Firefox Focus, and other Android apps. GeckoView serves a similar purpose to Android's built-in WebView, but it has its own APIs and is not a drop in replacement.
- yissp 5y agoYou can replace the default web view, although I believe it requires root access. I've been using https://www.bromite.org/system_web_view https://www.bromite.org/system_web_view for a while and it works pretty well.
- scarface74 5y agoBut you can’t replace it with Firefox’s GeckoView since they don’t support the equivalent APIs according to their own documentation. So the only way you can actually use your ad blocked system wide is through a series of hacks https://github.com/bromite/bromite/blob/master/FAQ.md https://github.com/bromite/bromite/blob/master/FAQ.md That’s definitely a lot easier than just…going to the App Store. Of course when your phone is using an OS that is created by an ad tech company, they aren’t going to make it easy to block ads system wide.
- fartcannon 5y agoAnd android is actually getting worse, too, not better. And Firefox is slowly knee capping the freedom (presumably because they're all Apple users haha) Its why it's important for folks like yourself who are pro-Apple to push for Apple to open up. That way we can have the best of both worlds (if you believe the marketing, like it would appear you do). I'll use the most open device at the end of the day.
- scarface74 5y agoYou can now run arbitrary web extensions in Safari. 1Blocker has the standard Content Blocking framework that’s been supported 7 years where it just gives Safari a list of rules and it supports embedded Safari extensions where it does have access to your browsing history. You don’t just get a pop up that allows you to enable it. You have to go into settings and get a scary warning.
- fartcannon 5y agoIt's open source. You can verify whether or not they're doing anything nefarious with your browsing history. You can then package it yourself and run it!
- scarface74 5y agoOr, instead of digging through every line of source code and packaging it myself, I can use an operating system where the vendor designed a content blocking framework that is privacy focused by default and that works with third party apps that use web views.
- Dylan16807 5y agoThat's a great starting point / default but can't block complicated things as effectively and shouldn't be the only option on a platform.
- scarface74 5y agoCare to post some real world example websites?
- Nextgrid 5y agoThe data processing consent popups on Google properties aren't blockable by this because they are JS-based and integrate with the rest of the page's JS code, so the only way to "defuse" them is to run active JS code provided by the blocker. The declarative framework can't do this by design.
- scarface74 5y ago1Blocker iOS > Block Annoyances: blocks cookie notices And if you really want to, you can run 1Blocker scripts within Safari that can do the same type of thing. You have to go into Settings and you get a huge privacy warning. And this also works with embedded web views - unlike with Android
- OJFord 5y ago> Good luck with using that “equivalent” in an embedded web view. It works, so thanks. Maybe you're referring to the impossibility to access the plugin's settings from the embedded web view. But if it's a site you've visited before and configured to your preference, then it takes effect in the same way there as in full FF. > iOS content blockers tell Safari what to block and don’t have access to where you go. If I tell it 'block scripts from example.org on news.ycombinator.com' then it's a pretty good bet that I visit news.ycombinator.com. Right, I realise iOS content blockers aren't that powerful, so it's hypothetical. ;)
- scarface74 5y agoSo how does “it work” when Mozilla themselves says that GeckoView can’t be used as a drop in embedded WebView?
- OJFord 5y agoI don't know, I'm just reporting my experience as a user. I don't develop for Android or know anything about what Mozilla says about it. Feel free to reproduce it yourself: block third party by default (for example), open some broken page, observe it as such; 'open in browser' from 3-dot menu; amend settings to allow whatever it needs; back out, observe it functional.
- scarface74 5y agoOpen in the browser is not the same thing as an embedded web view. Take something like an RSS reader. You click on the link and it shows you the web page inside the app without taking you outside of the app.
- Nextgrid 5y agoAt some point, you have to trust someone. I trust uBlock Origin to not be malicious and so do plenty of people. Ideally you'd want to pin versions and always stay a few versions behind so that an overnight "rug pull" where the extension becomes compromised doesn't affect you. The problem with iOS' declarative blocking framework is that it's not powerful enough to deal with more advanced ads.
- scarface74 5y agoLike what?