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

Firefox

17301 readers
14 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
[–] [email protected] 16 points 10 months ago* (last edited 10 months ago) (3 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

[–] [email protected] 11 points 10 months ago* (last edited 10 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.

[–] TrickDacy 2 points 10 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 0 points 10 months ago (2 children)