What is the User Agent string name for Microsoft Edge?

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

    You can find the most recent User Agent (UA) String at https://docs.microsoft.com/en-us/microsoft-edge/web-platform/user-agent-string. At the time of writing, it was

    Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.74 Safari/537.36 Edg/79.0.309.43.

    Funny enough, it also worked for me when taking just Mozilla/5.0.

提交回复
热议问题