通过jquery获取浏览器名称(Get browser name by jquery)
我使用jquery v1.9.1。我知道在1.9中删除了jquery.browser但是我必须使用它。 我使用迁移插件获取类型的浏览器。 它的工作正常,但对于IE(11)和firefox(25 +),jquery.browser显示相同的值(“Mozilla”)。如何在$ .browser中检测IE?
I use jquery v1.9.1 .I know that jquery.browser is removed in 1.9 but I have to use this. I using migration plugin for get type of browser. Its work fine but for IE(11) and firefox(25+) ,jquery.browser show same value("Mozilla").How to detect IE in $.browser?
原文:https://stackoverflow.com/questions/20609264
更新时间:2022-10-17 09:10