<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
猜你喜欢
  • 2021-05-12
  • 2022-12-23
  • 2022-02-28
  • 2022-12-23
  • 2021-06-26
  • 2021-08-12
相关资源
相似解决方案