5 ms·
> as far as forbidding embedded JS altogether I do this on my iOS device. It's a bit of a pain to not have JS enabled in safari, but I can always share a page
by tossAfterUsing 7y ago
> as far as forbidding embedded JS altogether
I do this on my iOS device. It's a bit of a pain to not have JS enabled in safari, but I can always share a page from Safari --> Duckduckgo's browser which i have installed for just such occasions.
Settings > Safari > Advanced > Javascript off
- acdha 7y agoPossibly the best feature of the Brave browser is having that be one tap away, remembered per-site. I really wish Firefox would copy it since I’m not optimistic about Brave’s longevity.
- ddalex 7y agoTry the umatrix extension
- earenndil 7y agoDoesn't work on ios.
- 18pfsmt 7y agoThis is true. uMatrix's interface is difficult even where it works on Android. This calls for custom firewall rules and/or Privoxy. https://en.wikipedia.org/wiki/Privoxy https://en.wikipedia.org/wiki/Privoxy
- 18pfsmt 7y agoApplicable link: https://addons.mozilla.org/en-US/firefox/addon/umatrix/ https://addons.mozilla.org/en-US/firefox/addon/umatrix/
- acdha 7y agoI should have been more specific that I wanted it on iOS, too. That’s a good option for desktop and worth mentioning.
- Thriptic 7y agoUblock origin (in advanced mode), umatrix, and noscript each enable this functionality. Umatrix has the best UI of the three once you get used to it in my opinion. Go on YouTube and look for "the hated one" for great tutorials on JS blocking with umatrix and ublock origin.
- Lammy 7y agouMatrix is wonderful. I can’t imagine browsing without it. The parent comments are talking about iOS, though, where there is unfortunately much less choice. Even “Firefox” on iOS isn’t really Firefox and can’t run normal extensions.
- gorhill 7y ago> Ublock origin (in advanced mode) You can wholly block JavaScript in uBlock Origin without having to enable advanced mode, by using the per-site JavaScript master switch.[1] * * * [1] https://github.com/gorhill/uBlock/wiki/Per-site-switches#no-scripting https://github.com/gorhill/uBlock/wiki/Per-site-switches#no-...
- petronio 7y agoYes, but then it's all or nothing. In advanced mode you can have a global configuration to block all third party scripts and frames, and then allow scripts from specific domains (or neutralize the global deny for that domain, so that block lists still work). Particularly useful when you just want to move forward and Google's captcha is blocked, but don't want to allow all the other 50 scripts on the site.
- AlexCoventry 7y agoThat sounds a lot like noscript's functionality.
- eeeeeeeeeeeee 7y agoGood idea, but I wish there was a less harsh method. I have been using my iPad a lot recently and the thing that bugs me is that it’s almost impossible to listen to Spotify uninterrupted as you use Safari because of auto-playing videos (not just advertisements). It’s completely obnoxious and there is no way to stop it. Safari takes control of sound even if the video does not have audio toggled on and pauses your Spotify. Then if you use control center to start it again, it plays iTunes. I can’t believe this hasn’t been fixed. EDIT: Just tried Brave Browser and this is pretty great so far. Seems to be the best compromise. Thanks!
- tomaskafka 7y agoOn iOS I swear by Dnscloak - local-only vpn that routes only DNS requests through pihole-enabled dns server of your choice: https://apps.apple.com/cz/app/dnscloak-secure-dns-client/id1452162351 https://apps.apple.com/cz/app/dnscloak-secure-dns-client/id1...
- eeeeeeeeeeeee 7y agoI’ve been thinking about doing something like that, but would that stop auto-playing videos on news sites? Or are there specific filters for that? Either way, do you find that the Adblock detection / nags are less reliable when you do it DNS based instead of the client?
- deftturtle 7y agoI also do this. Safari is my stateless browser, no cookies, no scripts, no location access, etc. And then Firefox or Brave are what I use for anything requiring Javascript. Though brave’s UI is much cleaner than FF.