根据User-Agent判断// Js获取User-Agent window.navigator.userAgent if(window.navigator.userAgent.match(/MicroMessenger/i) == "micromessenger") // Php获取User-Agent echo $_SERVER['HTTP_USER_A

- 阅读全文 -