DWQA QuestionsCategory: ProgramJQuery judges the problem of users using browser and its version
Decade asked 9 months ago

Use the jquery.browser attribute to judge the user’s browser use, but it is found that this attribute is not recognized by 360 browsers, chrome and other browsers. Look at the following source code, jQuery also uses regular expressions to judge keywords for recognition, but use the navigator.useragent.tolocalelowercase() method to view the information of 360 browsers, and see no special key Word. All want to ask, identify 360 browser, is there any other way? Thank you

Cancelled replied 9 months ago

1. 360 browser is just a shell; 2. 360 is a hidden browser. It’s hard to detect it through JS. Methods have been found before, but there is a certain probability that they cannot be obtained.