Most active commenters
  • bmacho(5)
  • eviks(3)
  • (3)

←back to thread

424 points riffraff | 29 comments | | HN request time: 0.818s | source | bottom
1. bmacho ◴[] No.44345300[source]
A web extension is an unnecessary security risk. A userscript will do it just fine.

edit: one of my previous attempt: https://news.ycombinator.com/item?id=35229211

I actually have made it extensible, with closely coupled source of rules and domains; but then I lost it Edge forgot all my userscripts :(

replies(6): >>44345337 #>>44345619 #>>44345836 #>>44346890 #>>44348908 #>>44349239 #
2. londons_explore ◴[] No.44345337[source]
User scripts have super wide permissions. For example a user script scoped to YouTube.com can make payments from any cards you have saved in Google pay.

And most user scripts are so long a typical user won't be able to spot a couple of malicious lines amongst 10k lines of minified webpacked libraries.

replies(2): >>44345369 #>>44345394 #
3. bmacho ◴[] No.44345369[source]
> And most user scripts are so long a typical user won't be able to spot a couple of malicious lines amongst 10k lines of minified webpacked libraries.

Exactly!

That's why you should use 3 lines for it instead, that are

   - inspectable
   - not updateable by the Chinese/Russians
   - written by you anyway
replies(1): >>44346404 #
4. rvnx ◴[] No.44345394[source]
You also have to weight the benefits versus the "risk".

For example, if you use FreeTube with SponsorBlock to improve your privacy and block ads, in fact you are sending to Cloudflare 100% of your YouTube watch history, and to SponsorBlock ("sponsor.ajay.io").

With Piped instances it's even worse, essentially escaping Google's tracking just to give our data to random strangers.

If you are worried, just run a second Chrome session with NordVPN and uBlock Origin in a loose jurisdiction and browse YouTube unlogged.

It's easy, simple, and you have the benefits of an audited platform and that reasonably legally confirm they don't store logs unless the court forced them: "we never log their activity unless ordered by a court never log their activity unless ordered by a court", but for that, the court has to find you as a user, which can be very complicated in practice.

So much better than random strangers.

replies(6): >>44345469 #>>44345751 #>>44346149 #>>44346190 #>>44346234 #>>44347476 #
5. latexr ◴[] No.44345469{3}[source]
> If you are worried, just run a second Chrome session with NordVPN

I feel like I’m on YouTube already.

It’s not like they are free of criticism either.

https://en.wikipedia.org/wiki/NordVPN#Criticism

6. eviks ◴[] No.44345619[source]
The extension links to 50+ services, your script - to 1. Do you now suggest that every single user should figure out how to do it properly and replicate the extension in a script for no better alternative (you could instead spend part of that time reading the extension code and using your private copy)
replies(1): >>44345741 #
7. bmacho ◴[] No.44345741[source]
I don't think that not having all the services is a problem. On the contrary, I think it is an advantage for userscripts, that those only have the redirects a user explicitly adds.

Tho I probably should've demonstrated first that it is possible, before advocating for it. The script I linked indeed only works for one website. Multiple websites with multiple rules, each with a list of instances (that often go offline for a time, so it is worth keeping them around, and make switching easy) indeed complicates it a bit.

replies(1): >>44345822 #
8. HK-NC ◴[] No.44345751{3}[source]
I'm happy to give my watch history to some unknown in exchange for never ever seeing an ad.
9. eviks ◴[] No.44345822{3}[source]
So what exactly is the advantage of having to code all the rules yourself for every service you want to use??

> complicates it a bit

a bit of an understatement

replies(1): >>44345907 #
10. 1oooqooq ◴[] No.44345836[source]
just disable auto update and have the same bad usability as user script.
replies(1): >>44346018 #
11. bmacho ◴[] No.44345907{4}[source]
> So what exactly is the advantage of having to code all the rules yourself for every service you want to use??

"having to code all the rules" is not that hard, in most cases you can just pass the whole URL, and the instance accepts it.

Advantages: you don't get unwanted redirects from services, and you don't get unwanted redirects to instances. (Even tho the information about the instances will likely be concentrated at libredirect github issues. Chances are that some random person on the internet who has paranoid activities as a hobby will look into the instances, so you don't have to.)

- - -

I don't use many redirects. Nowadays I use exactly 0. But if I needed a redirect for example to xcancel, I would use my user-script as I had done it in the past before I lost it. I definitely wouldn't install a browser extension for it.

replies(1): >>44345952 #
12. eviks ◴[] No.44345952{5}[source]
> in most cases a slice(,) will do it since the relevant id is at a fixed position in the URL.

In all cases that also involves actually finding the URLs, then there are non-most cases where a slice wouldn't do it.

> Nowadays I use exactly 0

Exactly. If you ignore actual uses everything becomes trivial

13. ◴[] No.44346018[source]
14. hashiyakshmi ◴[] No.44346149{3}[source]
>If you are worried, just run a second Chrome session with NordVPN and uBlock Origin in a loose jurisdiction and browse YouTube unlogged.

If you actually did this you would know that it works for all of a week or two before YouTube stops letting you watch videos until you login.

replies(1): >>44346846 #
15. heavensteeth ◴[] No.44346190{3}[source]
SponsorBlock doesn't send video IDs to the server.

https://github.com/ajayyy/SponsorBlockServer/issues/25

replies(1): >>44347502 #
16. lvass ◴[] No.44346234{3}[source]
Terrible advice. Not only youtube will precisely fingerprint you, nordvpn/tesonet/oxylab will also get data on you.
replies(1): >>44346287 #
17. rvnx ◴[] No.44346287{4}[source]
Way better than the recommended "privacy" instances.

NordVPN only sees that you connect to YouTube, they do not see the pages or videos that you are looking at, and from the perspective of YouTube, they only see requests from a very popular VPN where are millions of users.

If you use the "privacy" instances, these "privacy" websites and Cloudflare knows precisely which videos you are watching.

replies(1): >>44346467 #
18. lvass ◴[] No.44346467{5}[source]
Recommended by whom? I'm just saying your advice is terrible in general and takes no regard to how easy and powerful fingerprinting is nowadays, in google's perspective the only difference to using that VPN if you're "just" running chrome is that it also knows when you use a VPN, in other words, just giving one more data point. Also the average user is likely to install some nordvpn app if following your advice, which is a security nightmare, remember that company sells residential proxies.

Also IIRC for youtube, alternative frontends don't tend to rely on someone else's endpoints.

replies(1): >>44346713 #
19. ◴[] No.44346713{6}[source]
20. Muromec ◴[] No.44346845{4}[source]
Critique and distrust of an (authoritarian) government is not racism.
21. Devorlon ◴[] No.44346846{4}[source]
I found that hopping to different VPN servers is a mildly inconvenient workaround for that.
22. ◴[] No.44346866{4}[source]
23. Akronymus ◴[] No.44346890[source]
I personally prefer to use redirector to do it. It has served me quite well so far.

https://einaregilsson.com/redirector/

24. bmacho ◴[] No.44346925{4}[source]
I've chosen them as example elements of the larger group: people that would harm you. It's a type of synecdoche[0,1].

I was considering reformulating it, in $CURRENTYEAR there is always someone that claims that using Russian or Chinese as a synonym for 'enemy' is Russo- and Shinophobic. I've decided against it this time.

[0] : https://en.wikipedia.org/wiki/Synecdoche#Part_referring_to_w...

[1] : https://en.wikipedia.org/wiki/Pars_pro_toto

25. lucb1e ◴[] No.44347476{3}[source]
> worse, essentially escaping Google's tracking just to give our data to random strangers

I'd much rather send random tidbits of information, that are nearly useless in isolation, to strangers than to the central tracking corporation

In the end, there is no way to reveal what information you're interested in when retrieving data, short of retrieving a ton of data and doing the filtering client-side, which is also an option with these third parties if you so desire

26. lucb1e ◴[] No.44347502{4}[source]
(*anymore, as of late 2020 from a quick look. The parent comment may not have been wrong about that, just outdated info)
27. add-sub-mul-div ◴[] No.44348087{4}[source]
Fear of people who look different or live on the other side of a line is having a moment.
28. udev4096 ◴[] No.44348908[source]
Totally unrealistic. Instead either lock down extension permissions, use different browser profile or better yet use QubesOS for spinning up disposable browser VMs
29. hexagonwin ◴[] No.44349239[source]
can a userscript run before the page loads...? afaik it's not possible, so the browser gets to make double requests.