Strange User Agent With Google Chrome

前端 未结 5 1411
礼貌的吻别
礼貌的吻别 2021-02-01 14:38

I was working with some javascript and found a strange user agent with my Google Chrome.

I have Google Chrome 7.0.517.41 beta installed on my Ubuntu Laptop. Now AFAIK my

5条回答
  •  别跟我提以往
    2021-02-01 15:19

    User agent strings are like that, as mentioned.

    You haven't said that explictly, but if you are planning to use useragent string to detect the user's browser, please use some good code to do that (i.e. don't code it yourself in a hurry, you'll not get it right).

    Here is a nice one that I've used a couple times before: Browser detect.

提交回复
热议问题