What is the User Agent string name for Microsoft Edge?

前端 未结 8 2427
無奈伤痛
無奈伤痛 2020-12-05 03:54

I\'m making a website and I want it to be compatible with the forthcoming Microsoft Edge when it comes out officially. To be more specific, the mobile version of it. Does an

相关标签:
8条回答
  • 2020-12-05 04:48

    Currently Web agent isn't the key point to adapt your site but you should detect browser features.

    For that matter, you should use some library like Modernizr to check for specific browser features independently of what browser vendor or version is using the user.

    Note: Despite of downvotes, everyone should review the other answer on this Q&A which extensively explains what's behind my summarized answer where the answer provides proves that many browser vendors discourages doing user-agent sniffing. That's the reason behind my own answer, where I suggest everyone to adapt their sites based on features rather than a specific browser.

    0 讨论(0)
  • 2020-12-05 04:49

    Mozilla/5.0 (Windows Phone 10.0; Android 4.2.1; DEVICE INFO) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.71 Mobile Safari/537.36 Edge/12.0

    0 讨论(0)
提交回复
热议问题