this post was submitted on 21 Nov 2023
356 points (89.0% liked)

Firefox

17884 readers
37 users here now

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

founded 4 years ago
MODERATORS
 

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
[–] Ascend910@lemmy.ml 7 points 11 months ago (2 children)
[–] nuke@yah.lol 18 points 11 months ago* (last edited 11 months ago) (4 children)

Browser detection is rarely done through User Agent lookup anymore. Nowadays we determine browser through feature detection.

https://developer.mozilla.org/en-US/docs/Web/HTTP/Browser_detection_using_the_user_agent#avoiding_user_agent_detection

[–] flying_monkies@kbin.social 13 points 11 months ago* (last edited 11 months ago)

And yet in this case if I change my agent to any non-FF value while using FF, videos load immediately.

I set my agent back to FF, 5 second delay.

[–] off_brand_@beehaw.org 3 points 11 months ago (1 children)

Yeah, but some amount of the time is just easier to rely on the user agent. Why bother with the fancy logic when user agent spoofing, adblocking Firefox users is a % of a % of a %?

[–] nuke@yah.lol 2 points 11 months ago* (last edited 11 months ago)

I tend to agree. I think there's little need as a developer to go that extra mile for accurate browser detection without UA unless it's for fingerprinting. Most feature sets are supported and where it isn't you have a polyfil or whatever shim to make it work. So in the case of fingerprinting you try not to rely fully on anything the user can alter easily.

[–] TrickDacy@lemmy.world 2 points 11 months ago

Doesn't matter what's the best way to do it in reality. UA is easily a possibility for any website. Nothing stopping it

[–] SpaceNoodle@lemmy.world 0 points 11 months ago (2 children)
[–] krigo666@lemmy.world 14 points 11 months ago (1 children)

I won't spoof the agent. I want Google to know I'll keep using Firefox no matter what. Except for YouTube, I don't use any other service of theirs, too shitty.

The best way to make them back down is to show we won't bow.

[–] Karyoplasma@discuss.tchncs.de 1 points 11 months ago

The other day, I finally switched to ProtonMail. I still just forward my gmail inbox for now because I'm too lazy to go through all my accounts and change the email all at once. In due time, I will have switched. Fuck Google.