Home > Back-end >  Web page how to implement only under the chrome normal access?
Web page how to implement only under the chrome normal access?

Time:10-05

Now I am so written, IE can achieve the effect, but not a under 360 browser, mistaken for Chrome, can normal visit, beg god to help solve!!!!!!

<script>
Var useragent.=the navigator useragent;
If (useragent. Match (/Chrome/I). )='Chrome' {
Alert (' you must use the chrome browser to access this page, click ok to download! ');
Var=the opened window. The location. Href="https://bbs.csdn.net/topics/1.xlsx";
}
The else {
Document. The getElementById (' main - the container). Style. The display='block';
}
</script>

CodePudding user response:

360 with chrome kernel,,,

CodePudding user response:

I remember 360 seems to have a unique attributes application/VND. Chromium. Remoting - viewer, you can try

CodePudding user response:

references a monkey on the second floor response:
I remember 360 seems to have a unique attributes application/VND. Chromium. The remoting - viewer, you can try



More than 360, and WeChat EDge browser kernel, such as I change how to write
  • Related