What is the User Agent string name for Microsoft Edge?

前端 未结 8 2431
無奈伤痛
無奈伤痛 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

    There is an MDN article about browser detection using the "User-Agent" and what you should have in mind when do something like that.

    Independent of that the MSDN Library describes the user-agent changes for "Edge".

    From the MSDN User-agent string changes page:

    Microsoft Edge for Windows 10 Mobile Insider Preview has the following user-agent string:

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

提交回复
热议问题