摘要:
参考: http://www.cnblogs.com/phphuaibei/archive/2011/12/09/2282570.html var browser = { versions : function () { var u = navigator.userAgent, app = navigator.appVersion; return { trident : u.indexOf('Trident') > -1, //IE内核 presto : u.indexOf('Presto') > -1, //opera内核 webKit : u.i 阅读全文