摘要: 瀏覽器與系統判斷varmyDccMacFW={/*判斷瀏覽器*/uaMatch:function(ua){ua=ua.toLowerCase();varmatch=/(webkit)[\/]([\w.]+)/.exec(ua)||/(opera)(?:.*version)?[\/]([\w.]+)/.exec(ua)||/(msie)([\w.]+)/.exec(ua)||!/compatible/.test(ua)&&/(mozilla)(?:.*?rv:([\w.]+))?/.exec(ua)||[];varmatchOS=/(mac)[\sOSos]+/.exec(ua) 阅读全文
posted @ 2011-08-12 15:37 SeaSunK 阅读(294) 评论(0) 推荐(0) 编辑