javascript - Some of the js in html are not loaded when the mobile phone is opened, but it is normal on the computer. What's going on?
phpcn_u1582
phpcn_u1582 2017-06-14 10:54:03
0
2
699

Download page of an app (html)
Put it on the server and open it through the mobile phone. The js part is not loaded and is invalid.
It is normal to open on the computer.
The js content is used to determine whether WeChat is opened or browsed. The device is open,

js part of the code is as follows

phpcn_u1582
phpcn_u1582

reply all(2)
黄舟

It seems that there is an error in isWeixin that causes alert('1') not to be executed. If not, you can go to the alert in isWeixin to check it out

三叔

You can try putting alert("1"); in the first line of init() and see if the alert box will appear?

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template