News for hackers. Stuff that matters.
Re:Adblocking: How about Nah? by tossAfterUsing on Saturday July 27, 2019 @01:42PM (#20543120)
> 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

Re:Adblocking: How about Nah? by eeeeeeeeeeeee on Saturday July 27, 2019 @05:59PM (#20544476)
Good 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!

Re:Adblocking: How about Nah? by tomaskafka on Sunday July 28, 2019 @06:04AM (#20546725)
On 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/id1...
Re:Adblocking: How about Nah? by eeeeeeeeeeeee on Sunday July 28, 2019 @08:11AM (#20547112)
I’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?

Re:Adblocking: How about Nah? by acdha on Saturday July 27, 2019 @02:37PM (#20543417)
Possibly 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.
Re:Adblocking: How about Nah? by Thriptic on Saturday July 27, 2019 @05:28PM (#20544296)
Ublock 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.
Re:Adblocking: How about Nah? by Lammy on Saturday July 27, 2019 @08:00PM (#20545017)
uMatrix 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.
Re:Adblocking: How about Nah? by gorhill on Sunday July 28, 2019 @07:18AM (#20546943)
> 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-...

Re:Adblocking: How about Nah? by petronio on Sunday July 28, 2019 @09:15AM (#20547363)
Yes, 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.
Re:Adblocking: How about Nah? by ddalex on Saturday July 27, 2019 @03:55PM (#20543792)
Try the umatrix extension
Re:Adblocking: How about Nah? by 18pfsmt on Saturday July 27, 2019 @04:46PM (#20544094)
Re:Adblocking: How about Nah? by acdha on Saturday July 27, 2019 @04:53PM (#20544129)
I should have been more specific that I wanted it on iOS, too. That’s a good option for desktop and worth mentioning.
Re:Adblocking: How about Nah? by earenndil on Saturday July 27, 2019 @04:38PM (#20544053)
Doesn't work on ios.
Re:Adblocking: How about Nah? by 18pfsmt on Saturday July 27, 2019 @04:50PM (#20544109)
This 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

Re:Adblocking: How about Nah? by AlexCoventry on Saturday July 27, 2019 @09:34PM (#20545354)
That sounds a lot like noscript's functionality.
Re:Adblocking: How about Nah? by deftturtle on Saturday July 27, 2019 @09:32PM (#20545349)
I 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.