Sha256: 54c787d4317940a953d6efb4cdec3f084c2d7fa8bf72f31aa2c2511698157a42
Contents?: true
Size: 653 Bytes
Versions: 66
Compression:
Stored size: 653 Bytes
Contents
var Browser; Browser = { version: function(v) { var version, app_version; app_version = navigator.appVersion; Debug.log("Browser app_version: ", app_version); if (app_version.match("MSIE 6.0")) { version = 6.0; } if (v) { return (version === v); } else { return version; } }, ie: function() { return navigator.appName.match("Internet Explorer"); }, ie6: function() { return (Browser.ie() && Browser.version(6.0)); }, ie7: function() { return (Browser.ie() && Browser.version(7.0)); }, ie8: function() { return (Browser.ie() && Browser.version(8.0)); } };
Version data entries
66 entries across 52 versions & 1 rubygems