this post was submitted on 06 Apr 2024
371 points (97.9% liked)

Technology

59174 readers
4341 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 41 points 7 months ago (2 children)

As useful as Mozilla/5.0; AppleWebKit/537.36 (KHTML, like Gecko) Safari/537.3

[–] [email protected] 8 points 7 months ago* (last edited 7 months ago)

Mine is Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0. Joke is, this is the trimmed version (about:config Xorigin and trimming settings) and some pages already have problems with it. If you strip out the OS part, pages like google.com won't work anymore. Despite that you shouldn't parse the UA string...

[–] [email protected] 5 points 7 months ago (4 children)
[–] [email protected] 13 points 7 months ago (2 children)

Trick is I took out the actually useful parts like Chrome, Firefox, Edge, etc. And the OS. All the agents these days have AppleWebKit and Mozilla just so old websites that look for it don't downgrade the experience.

[–] [email protected] 7 points 7 months ago* (last edited 7 months ago) (2 children)

Yeah, make your user agent absolutely unique. Too much entropy will surely confuse the shit out server side HTTP Header tracking. 😬

[–] [email protected] 5 points 7 months ago (1 children)
[–] [email protected] 4 points 7 months ago* (last edited 7 months ago)

Oh gee, I wasn't aware there was more to it than the UA. Thanks for opening my eyes.

Edit: I checked your link, most of the parameters on the test require client side execution. That (client side tracking) is absolutely unrelated to what (server side tracking) I was talking about, and is something you can control (by not allowing JavaScript, for example). Please do not confuse the two. There is literally nothing you can do against server side tracking.

[–] [email protected] 1 points 7 months ago (1 children)

Yeah this isn't my UA but I'm just saying these parts are what's considered the supported featureset rather than information about what software the device is running.

[–] [email protected] 1 points 7 months ago

Yes, I get that point, but I also think that it's tempting for the privacy-minded novice to think "the less information I provide, the better!", while in actuality, it is better to provide "more" information: the most common UA, even if it means lying about your featureset. In this case, truly, more is less.

[–] [email protected] 6 points 7 months ago

Firefox doesn't pretend to use AppleWebKit. It's actually the only one which identifies itself correctly... mostly, at least:

Mozilla/5.0 (X11; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0

While about:support says "Window Protocol: wayland". But that's ok websites shouldn't care anyway.

It's other browsers who send things like "like Gecko" to sneak past old browser-detection code.

[–] [email protected] 4 points 7 months ago

firefox on iphone i would guess.

[–] [email protected] 4 points 7 months ago

Probably Netscape