371
submitted 4 months ago by jamyang@lemmy.world to c/technology@lemmy.world
you are viewing a single comment's thread
view the rest of the comments
[-] Rentlar@lemmy.ca 41 points 4 months ago

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

[-] MonkderDritte@feddit.de 8 points 4 months ago* (last edited 4 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...

[-] JackGreenEarth@lemm.ee 5 points 4 months ago
[-] Rentlar@lemmy.ca 13 points 4 months ago

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.

[-] 7heo@lemmy.ml 7 points 4 months ago* (last edited 4 months ago)

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

[-] barsoap@lemm.ee 5 points 4 months ago
[-] 7heo@lemmy.ml 4 points 4 months ago* (last edited 4 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.

[-] Rentlar@lemmy.ca 1 points 4 months ago

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.

[-] 7heo@lemmy.ml 1 points 4 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.

[-] barsoap@lemm.ee 6 points 4 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.

[-] PrettyFlyForAFatGuy@feddit.uk 4 points 4 months ago

firefox on iphone i would guess.

[-] derpgon@programming.dev 4 points 4 months ago

Probably Netscape

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

Technology

57273 readers
4566 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