380
submitted 9 months ago* (last edited 9 months ago) by CaptainBasculin@lemmy.ml to c/firefox@lemmy.ml

Edit: Replies to this thread indicate this is not fully correct as it exists on all browsers; and is likely an ad thing.

you are viewing a single comment's thread
view the rest of the comments
[-] ToxicWaste@lemm.ee 26 points 9 months ago

This is not correct.

Most of the posts/articles reference following reddit post: https://old.reddit.com/r/firefox/comments/17ywbjj/whenever_i_open_a_youtube_video_in_a_new_tab_its/k9w3ei4/ . It shows the code from your screenshot. However the code does not check the user agent and is not injected server side (I checked by user agent spoofing and using a freshly installed chrome). So it will run on every browser and cannot be used against some specific ones.

There is an answer to the post everyone seems to reference, which goes a bit deeper into what the code could do: https://old.reddit.com/r/firefox/comments/17ywbjj/whenever_i_open_a_youtube_video_in_a_new_tab_its/ka08uqj/

this post was submitted on 21 Nov 2023
380 points (89.7% liked)

Firefox

17302 readers
21 users here now

A place to discuss the news and latest developments on the open-source browser Firefox

founded 4 years ago
MODERATORS