可以判断 user-agent。 你说的 app 是指你们特定的 app 还是,所有的 app 都可以? 如果是特定的 app 可以通过判断 app 里面 webview 的 user-agent 进行处理。 排除微信 function isWechat() { return (/micromessenger/i).test(window.navigator.userAgent); }
可以判断
user-agent
。你说的 app 是指你们特定的 app 还是,所有的 app 都可以?
如果是特定的 app 可以通过判断 app 里面
webview
的user-agent
进行处理。排除微信