3 ms·
How is the user agent set? I'm trying out the free demo (free.cloudbrowser.xyz), and two different browsers (Chrome and Firefox) produce different and consisten
by ppf 7y ago
How is the user agent set? I'm trying out the free demo (free.cloudbrowser.xyz), and two different browsers (Chrome and Firefox) produce different and consistent user agents.
- slowenough 7y agoBoth the user agent and navigator platform strings are mirrored from the client.
- ppf 7y agoCould that cause any issues with browser-specific features? I'm not sure what browser/renderer you are actually using, but if I'm using something different, there could be a mismatch in advertised capabilities (through the user agent).
- slowenough 7y agoYes, but generally, web apps detect features not browser versions, because UAs are already an unreliable signal of features, from long before BG. Things like privacy extensions, screen readers, crawlers have various user agents. At the same time, you make a good point. I'll consider your reflection if I come to re-decide if this is a sensible default.