News for hackers. Stuff that matters.
Re:An easier way of using polyfills by kevan on Thursday November 06, 2014 @02:16PM (#8569068)
>User agent detection sounds great, until you have a user that spoofs their agent.

Do a significant percentage of users spoof their agent?

Re:An easier way of using polyfills by gizmo686 on Friday November 07, 2014 @01:34AM (#8571445)
Most mobile browsers have a "request desktop site" feature, which I assume would involve spoofing the user agent to look like the desktop version.
Re:An easier way of using polyfills by Cthulhu_ on Friday November 07, 2014 @07:49AM (#8572261)
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.
Re:An easier way of using polyfills by bsimpson on Friday November 07, 2014 @02:19AM (#8571516)
It spoofs the platform, not the browser. Mobile Chrome/Safari should have feature parity with their computer cousins.