Skip to content

Comment on An easier way of using polyfillsparent

Comments

User agent detection sounds great, until you have a user that spoofs their agent.

Do a significant percentage of users spoof their agent?

Most mobile browsers have a "request desktop site" feature, which I assume would involve spoofing the user agent to look like the desktop version.

Most mobile web applications that would use this polyfill wouldn't have a separate mobile / desktop site and have just a good responsive design, so mobile users wouldn't feel a need to request the desktop site. That feature is usually used (I assume) because the mobile versions of websites often offer limited functionality.

It spoofs the platform, not the browser. Mobile Chrome/Safari should have feature parity with their computer cousins.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.