After the webapp is encapsulated, how can it be inaccessible to the computer end and the WeChat end of the mobile phone? Can only be accessed within app. Can you do that?

after the webapp is encapsulated, how to make it inaccessible to the computer and WeChat end of the phone? It can only be accessed within app. Can you do that?

Oct.19,2021

can judge user-agent .

by app, do you mean your specific app or all app?

if it is a specific app, you can process it by judging the user-agent of webview in app.

exclude Wechat

function isWechat() {
  return (/micromessenger/i).test(window.navigator.userAgent);
}
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-1e481c9-43766.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-1e481c9-43766.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?