摘要: var Sys = {};var ua = navigator.userAgent.toLowerCase();var s;var scan;(s = ua.match(/msie ([\d.]+)/)) ? Sys.ie = s[1] :(s = ua.match(/firefox\/([\d.]+)/)) ? Sys.firefox = s[1] :(s = ua.match(/chrome\/([\d.]+)/)) ? Sys.chrome = s[1] :(s = ua.match(/opera.([\d.]+)/)) ? Sys.opera = s[1] :(s = ua.match 阅读全文
posted @ 2012-05-07 09:27 WebApi 阅读(3677) 评论(0) 推荐(0) 编辑
CopyRight © 博客园 WebAPI