How to identify ios Wechat built-in browser and Mini Program through user-agent?

how to identify ios Wechat built-in browser and Mini Program through user-agent?

Sep.06,2021

landlord, hello ~
Wechat's built-in browser can judge as follows: / MicroMessenger/i.test (navigator.userAgent)
because Mini Program does not support navigator object , you can refer to this article, portal .

< hr >

if it is helpful, please click to adopt it, thank you ~

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-1eb2e5b-240f.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-1eb2e5b-240f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?