this post was submitted on 17 Oct 2024
663 points (97.8% liked)
Technology
59578 readers
3179 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 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Okay that's fine, but when websites are effectively writing
It doesn't really matter how good compatibility is. I've had websites go from nothing but a "Firefox is not supported, please use Chrome" splash screen to working just fine with Firefox by simply spoofing the user agent to Chrome. Maybe some feature was broken, but I was able to do what I needed. More often than not they just aren't testing it and don't want to support other browsers.
The more insidious side of this is that websites will require and attempt to enforce Chrome as adblocking gets increasingly impossible on them, because it aligns with their interests. It's so important for the future of the web that we resist this change, but I think it's too late.
The world wide web is quickly turning into the dark alley of the internet that nobody is willing to walk down.
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.