What is the Best way to do Browser Detection in Javascript?

前端 未结 8 1844
自闭症患者
自闭症患者 2020-12-05 16:55

In one of my Web Development classes we where asked to create a script that detects NE4,NE6+,IE4,IE6+ Browsers that display a compatable CSS script for each browser.

8条回答
  •  南笙
    南笙 (楼主)
    2020-12-05 17:19

    tho deprecated in 1.3.2 jQuery.browser() will return useful info ... also see jQuery.support()

提交回复
热议问题