What's the difference between opening the H5 page in a chrome browser and opening it in Wechat's browser?

What"s the difference between opening the

H5 page in a chrome browser and opening it in Wechat"s browser?
when you open an ordinary H5 page in Wechat"s browser, will the js code in the page run?

Mar.06,2021

makes no difference, do the same.


if it is an official account of Wechat, there will be some differences. For more information, please refer to the Wechat public platform development document.
and the Wechat end of Apple and Android are somewhat different. You need to deal with compatibility issues


Open in Google and Wechat, there will be compatibility problems. After all, PC end and mobile terminal are different. In addition, the mobile support for h5 pages is also different


support for es5 should be the same, while support for html/css will be somewhat different. Limited by the system, tags such as video/audio may also differ on the Wechat of different systems, such as the preload attribute. Generally speaking, the details may be different


, such as compatibility issues, page layout display may have some problems, some picture copying and sharing may also have some problems


is the difference between two different browsers, is that understandable? Two different browsers, of course, may also be different in handling


except for some compatibility issues. There should be nothing else


there will be some differences in the rendering kernel. After all, Wechat is x5 series.

x5 the Wechat kernel can turn on the default vConsole injection on Android, so there will be a console for js simulation (better than none at all). No, no, no. ) the method is to visit http://debugx5.qq.com in Wechat to open the x5 debugging page, switch to the "Information" panel and find the "Open vConsole debugging function" check, and then open the lower right corner of the web page will be one more vConsole button, open and you can see the simulated console. This convenience is convenient in that you don't have to add it to the code, the injection is automatic, and you can also study other people's code by the way.

Last but not least, if there are mistakes in js, such as strings without quotation marks (I sometimes make such a fool when I write php. You may not see the error report in the console of), vConsole, but you still have to cut to the source code to troubleshoot ~

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e45cd4-4cf00.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e45cd4-4cf00.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?