this post was submitted on 17 Oct 2024
662 points (97.6% liked)
Technology
60112 readers
2058 users here now
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related content.
- Be excellent to each another!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, to ask if your bot can be added please contact us.
- Check for duplicates before posting, duplicates may be removed
Approved Bots
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
As a developer, I can foresee websites using features other than
navigator.userAgent
to detect Chrome, because it's easy to change its value. For example: for now,navigator.getBattery
is available only in Chromium, and it doesn't need permissions to be checked for its existence throughtypeof navigator.getBattery === 'function'
(also, the function seems to be perfectly callable without user intervention, enabling additional means of fingerprinting). While it's easy to spoof userAgent, it's not as easy to "mock" unsupported APIs such asnavigator.getBattery
through Firefox.