摘要:
以下对象能够判断Chrome\Firefox\IE\Safari\Opera浏览器代码如下:var checkBrowser = { browserStr:function(){ return navigator.userAgent; }, browserType:function(){//只返回浏览器名称 if(this.browserStr().match("Chrome")) {return "Chrome";} else if(this.browserStr().match("Firefox")) ... 阅读全文
posted @ 2013-12-31 14:27
Joy Ho
阅读(946)
评论(0)
推荐(0)

浙公网安备 33010602011771号