<script> function checkBrowser() { if (window.navigator.userAgent.indexOf("MSIE")>=1) { //如果浏览器为IE }else if(window.navigator.userAgent.indexOf("Firefox")>=1) { //如果浏览器为Firefox }else...{ //如果浏览器为其他 } } </script> 相关文章: 2021-05-18 2022-02-15 2022-12-23 2022-12-23 2022-02-10 2021-09-30