|
|
|
@ -1,25 +1,27 @@
|
|
|
|
|
|
|
|
|
|
// Case matters, see lib/msf/core/constants.rb
|
|
|
|
|
// All of these should match up with constants in ::Msf::HttpClients
|
|
|
|
|
clients_opera = "Opera";
|
|
|
|
|
clients_ie = "MSIE";
|
|
|
|
|
clients_ff = "Firefox";
|
|
|
|
|
clients_chrome= "Chrome";
|
|
|
|
|
clients_safari= "Safari";
|
|
|
|
|
clients_opera = "Opera";
|
|
|
|
|
clients_ie = "MSIE";
|
|
|
|
|
clients_ff = "Firefox";
|
|
|
|
|
clients_chrome = "Chrome";
|
|
|
|
|
clients_safari = "Safari";
|
|
|
|
|
|
|
|
|
|
// All of these should match up with constants in ::Msf::OperatingSystems
|
|
|
|
|
oses_linux = "Linux";
|
|
|
|
|
oses_windows = "Microsoft Windows";
|
|
|
|
|
oses_mac_osx = "Mac OS X";
|
|
|
|
|
oses_freebsd = "FreeBSD";
|
|
|
|
|
oses_netbsd = "NetBSD";
|
|
|
|
|
oses_openbsd = "OpenBSD";
|
|
|
|
|
// The name of the operating system name
|
|
|
|
|
oses_linux = "Linux";
|
|
|
|
|
oses_android = "Android";
|
|
|
|
|
oses_windows = "Windows";
|
|
|
|
|
oses_mac_osx = "Mac OS X";
|
|
|
|
|
oses_apple_ios = "iOS";
|
|
|
|
|
oses_freebsd = "FreeBSD";
|
|
|
|
|
oses_netbsd = "NetBSD";
|
|
|
|
|
oses_openbsd = "OpenBSD";
|
|
|
|
|
|
|
|
|
|
// All of these should match up with the ARCH_* constants
|
|
|
|
|
arch_armle = "armle";
|
|
|
|
|
arch_x86 = "x86";
|
|
|
|
|
arch_x86_64 = "x86_64";
|
|
|
|
|
arch_ppc = "ppc";
|
|
|
|
|
arch_armle = "armle";
|
|
|
|
|
arch_x86 = "x86";
|
|
|
|
|
arch_x86_64 = "x86_64";
|
|
|
|
|
arch_ppc = "ppc";
|
|
|
|
|
|
|
|
|
|
window.os_detect = {};
|
|
|
|
|
|
|
|
|
@ -32,6 +34,8 @@ window.os_detect = {};
|
|
|
|
|
window.os_detect.getVersion = function(){
|
|
|
|
|
//Default values:
|
|
|
|
|
var os_name;
|
|
|
|
|
var os_vendor;
|
|
|
|
|
var os_device;
|
|
|
|
|
var os_flavor;
|
|
|
|
|
var os_sp;
|
|
|
|
|
var os_lang;
|
|
|
|
@ -119,11 +123,10 @@ window.os_detect.getVersion = function(){
|
|
|
|
|
// Android 2.3.6, opera mini 7.1
|
|
|
|
|
// Opera/9.80 (Android; Opera Mini/7.29530/27.1407; U; en) Presto/2.8.119 Version/11.101.10
|
|
|
|
|
if (navigator.userAgent.indexOf("Android")) {
|
|
|
|
|
os_name = oses_linux;
|
|
|
|
|
os_flavor = "Android";
|
|
|
|
|
os_name = oses_android;
|
|
|
|
|
} else if (navigator.userAgent.indexOf("iPhone")) {
|
|
|
|
|
os_name = oses_mac_osx;
|
|
|
|
|
os_flavor = "iPhone";
|
|
|
|
|
os_name = oses_apple_ios;
|
|
|
|
|
os_device = "iPhone";
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
// A few are ambiguous, record them here
|
|
|
|
@ -161,18 +164,18 @@ window.os_detect.getVersion = function(){
|
|
|
|
|
// "Version" in the UA, see example above. Grab the webkit version
|
|
|
|
|
// instead. =/
|
|
|
|
|
if (platform.match(/ipod/)) {
|
|
|
|
|
os_name = oses_mac_osx;
|
|
|
|
|
os_flavor = "iPod";
|
|
|
|
|
os_name = oses_apple_ios;
|
|
|
|
|
os_device = "iPod";
|
|
|
|
|
arch = arch_armle;
|
|
|
|
|
search = "AppleWebKit";
|
|
|
|
|
} else if (platform.match(/ipad/)) {
|
|
|
|
|
os_name = oses_mac_osx;
|
|
|
|
|
os_flavor = "iPad";
|
|
|
|
|
os_name = oses_apple_ios;
|
|
|
|
|
os_device = "iPad";
|
|
|
|
|
arch = arch_armle;
|
|
|
|
|
search = "AppleWebKit";
|
|
|
|
|
} else if (platform.match(/iphone/)) {
|
|
|
|
|
os_name = oses_mac_osx;
|
|
|
|
|
os_flavor = "iPhone";
|
|
|
|
|
os_name = oses_apple_ios;
|
|
|
|
|
os_device = "iPhone";
|
|
|
|
|
arch = arch_armle;
|
|
|
|
|
} else if (platform.match(/macintel/)) {
|
|
|
|
|
os_name = oses_mac_osx;
|
|
|
|
@ -185,7 +188,7 @@ window.os_detect.getVersion = function(){
|
|
|
|
|
// Android and maemo
|
|
|
|
|
arch = arch_armle;
|
|
|
|
|
if (navigator.userAgent.match(/android/i)) {
|
|
|
|
|
os_flavor = 'Android';
|
|
|
|
|
os_name = oses_android;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
} else if (platform.match(/windows/)) {
|
|
|
|
@ -301,13 +304,17 @@ window.os_detect.getVersion = function(){
|
|
|
|
|
}
|
|
|
|
|
if (version.match(/Windows/)) {
|
|
|
|
|
os_name = oses_windows;
|
|
|
|
|
// Technically these will mismatch server OS editions, but those are
|
|
|
|
|
// rarely used as client systems and typically have the same exploit
|
|
|
|
|
// characteristics as the associated client.
|
|
|
|
|
switch(version) {
|
|
|
|
|
case "Windows NT 5.0": os_flavor = "2000"; break;
|
|
|
|
|
case "Windows NT 5.1": os_flavor = "XP"; break;
|
|
|
|
|
case "Windows NT 5.2": os_flavor = "2003"; break;
|
|
|
|
|
case "Windows NT 6.0": os_flavor = "Vista"; break;
|
|
|
|
|
case "Windows NT 6.1": os_flavor = "7"; break;
|
|
|
|
|
case "Windows NT 6.2": os_flavor = "8"; break;
|
|
|
|
|
case "Windows NT 5.0": os_name = "Windows 2000"; break;
|
|
|
|
|
case "Windows NT 5.1": os_name = "Windows XP"; break;
|
|
|
|
|
case "Windows NT 5.2": os_name = "Windows 2003"; break;
|
|
|
|
|
case "Windows NT 6.0": os_name = "Windows Vista"; break;
|
|
|
|
|
case "Windows NT 6.1": os_name = "Windows 7"; break;
|
|
|
|
|
case "Windows NT 6.2": os_name = "Windows 8"; break;
|
|
|
|
|
case "Windows NT 6.3": os_name = "Windows 8.1"; break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if (version.match(/Linux/)) {
|
|
|
|
@ -326,17 +333,17 @@ window.os_detect.getVersion = function(){
|
|
|
|
|
var buildid = navigator.buildID;
|
|
|
|
|
|
|
|
|
|
switch(buildid) {
|
|
|
|
|
case "2008041514": ua_version = "3.0.0.b5"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "2008041515": ua_version = "3.0.0.b5"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86_64; break;
|
|
|
|
|
case "2008052312": ua_version = "3.0.0"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "2008041514": ua_version = "3.0.0.b5"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "2008041515": ua_version = "3.0.0.b5"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86_64; break;
|
|
|
|
|
case "2008052312": ua_version = "3.0.0"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "2008052906": ua_version = "3.0.0"; os_name = oses_windows; break;
|
|
|
|
|
case "2008052909": ua_version = "3.0.0.rc1"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "2008052909": ua_version = "3.0.0.rc1"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "2008052912": ua_version = "3.0.0"; os_name = oses_linux; break;
|
|
|
|
|
case "2008060309": ua_version = "3.0.0"; os_name = oses_linux; os_flavor = "Ubuntu"; break;
|
|
|
|
|
case "2008060309": ua_version = "3.0.0"; os_name = oses_linux; os_vendor = "Ubuntu"; break;
|
|
|
|
|
case "2008070205": ua_version = "2.0.0.16"; os_name = oses_windows; break;
|
|
|
|
|
case "2008070206": ua_version = "3.0.1"; os_name = oses_linux; break;
|
|
|
|
|
case "2008070208": ua_version = "3.0.1"; os_name = oses_windows; break;
|
|
|
|
|
case "2008071222": ua_version = "3.0.1"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "2008071222": ua_version = "3.0.1"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "2008072820":
|
|
|
|
|
switch (navigator.productSub) {
|
|
|
|
|
case "2008072820": ua_version = "3.0.1"; os_name = oses_linux; break;
|
|
|
|
@ -345,10 +352,10 @@ window.os_detect.getVersion = function(){
|
|
|
|
|
case "2008082909": ua_version = "2.0.0.17"; os_name = oses_windows; break;
|
|
|
|
|
case "2008091618": ua_version = "3.0.2"; os_name = oses_linux; break;
|
|
|
|
|
case "2008091620": ua_version = "3.0.2"; os_name = oses_windows; break;
|
|
|
|
|
case "2008092313": ua_version = "3.0.3"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "2008092313": ua_version = "3.0.3"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "2008092416": ua_version = "3.0.3"; os_name = oses_linux; break;
|
|
|
|
|
case "2008092417": ua_version = "3.0.3"; os_name = oses_windows; break;
|
|
|
|
|
case "2008092510": ua_version = "3.0.4"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "2008092510": ua_version = "3.0.4"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "2008101315":
|
|
|
|
|
switch (navigator.productSub) {
|
|
|
|
|
case "2008101315": ua_version = "3.0.3"; os_name = oses_linux; break;
|
|
|
|
@ -356,63 +363,63 @@ window.os_detect.getVersion = function(){
|
|
|
|
|
} break;
|
|
|
|
|
case "2008102918": ua_version = "2.0.0.18"; os_name = oses_windows; break;
|
|
|
|
|
case "2008102920": ua_version = "3.0.4"; break;
|
|
|
|
|
case "2008112309": ua_version = "3.0.4"; os_name = oses_linux; os_flavor = "Debian"; break; // browsershots: Iceweasel 3.0.4 / Debian Testing (Lenny)
|
|
|
|
|
case "2008111317": ua_version = "3.0.5"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "2008111318": ua_version = "3.0.5"; os_name = oses_linux; os_flavor = "Ubuntu"; break;
|
|
|
|
|
case "2008112309": ua_version = "3.0.4"; os_name = oses_linux; os_vendor = "Debian"; break; // browsershots: Iceweasel 3.0.4 / Debian Testing (Lenny)
|
|
|
|
|
case "2008111317": ua_version = "3.0.5"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "2008111318": ua_version = "3.0.5"; os_name = oses_linux; os_vendor = "Ubuntu"; break;
|
|
|
|
|
case "2008120119": ua_version = "2.0.0.19"; os_name = oses_windows; break;
|
|
|
|
|
case "2008120121": ua_version = "3.0.5"; os_name = oses_linux; break;
|
|
|
|
|
case "2008120122": ua_version = "3.0.5"; os_name = oses_windows; break;
|
|
|
|
|
case "2008121623": ua_version = "2.0.0.19"; os_name = oses_linux; os_flavor = "Ubuntu"; break; // browsershots: Firefox 2.0.0.19 / Ubuntu 8.04 LTS (Hardy Heron)
|
|
|
|
|
case "2008121623": ua_version = "2.0.0.19"; os_name = oses_linux; os_vendor = "Ubuntu"; break; // browsershots: Firefox 2.0.0.19 / Ubuntu 8.04 LTS (Hardy Heron)
|
|
|
|
|
case "2008121709": ua_version = "2.0.0.20"; os_name = oses_windows; break;
|
|
|
|
|
case "2009011912": ua_version = "3.0.6"; os_name = oses_linux; break;
|
|
|
|
|
case "2009011913": ua_version = "3.0.6"; os_name = oses_windows; break;
|
|
|
|
|
case "2009012615": ua_version = "3.0.6"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "2009012616": ua_version = "3.0.6"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "2009012615": ua_version = "3.0.6"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "2009012616": ua_version = "3.0.6"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "2009021906": ua_version = "3.0.7"; os_name = oses_linux; break;
|
|
|
|
|
case "2009021910": ua_version = "3.0.7"; os_name = oses_windows; break;
|
|
|
|
|
case "2009030422": ua_version = "3.0.8"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "2009030422": ua_version = "3.0.8"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "2009032608": ua_version = "3.0.8"; os_name = oses_linux; break;
|
|
|
|
|
case "2009032609": ua_version = "3.0.8"; os_name = oses_windows; break;
|
|
|
|
|
case "2009032711": ua_version = "3.0.9"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "2009032711": ua_version = "3.0.9"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "2009033100":
|
|
|
|
|
switch (navigator.productSub) {
|
|
|
|
|
case "2009033100": ua_version = "3.0.8"; os_name = oses_linux; os_flavor = "Ubuntu"; break;
|
|
|
|
|
case "2009042113": ua_version = "3.0.9"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "2009033100": ua_version = "3.0.8"; os_name = oses_linux; os_vendor = "Ubuntu"; break;
|
|
|
|
|
case "2009042113": ua_version = "3.0.9"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
} break;
|
|
|
|
|
case "2009040820": ua_version = "3.0.9"; os_name = oses_linux; break;
|
|
|
|
|
case "2009040821": ua_version = "3.0.9"; os_name = oses_windows; break;
|
|
|
|
|
case "2009042113": ua_version = "3.0.10"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "2009042114": ua_version = "3.0.10"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86_64; break;
|
|
|
|
|
case "2009042113": ua_version = "3.0.10"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "2009042114": ua_version = "3.0.10"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86_64; break;
|
|
|
|
|
case "2009042315": ua_version = "3.0.10"; os_name = oses_linux; break;
|
|
|
|
|
case "2009042316": ua_version = "3.0.10"; os_name = oses_windows; break;
|
|
|
|
|
case "20090427153806": ua_version = "3.5.0.b4"; os_name = oses_linux; os_flavor = "Fedora"; arch = arch_x86; break;
|
|
|
|
|
case "20090427153807": ua_version = "3.5.0.b4"; os_name = oses_linux; os_flavor = "Fedora"; arch = arch_x86_64; break;
|
|
|
|
|
case "20090427153806": ua_version = "3.5.0.b4"; os_name = oses_linux; os_vendor = "Fedora"; arch = arch_x86; break;
|
|
|
|
|
case "20090427153807": ua_version = "3.5.0.b4"; os_name = oses_linux; os_vendor = "Fedora"; arch = arch_x86_64; break;
|
|
|
|
|
case "2009060214": ua_version = "3.0.11"; os_name = oses_linux; break;
|
|
|
|
|
case "2009060215": ua_version = "3.0.11"; os_name = oses_windows; break;
|
|
|
|
|
case "2009060308":
|
|
|
|
|
switch (navigator.productSub) {
|
|
|
|
|
case "2009060308": ua_version = "3.0.11"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "2009070811": ua_version = "3.0.12"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "2009060308": ua_version = "3.0.11"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "2009070811": ua_version = "3.0.12"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
} break;
|
|
|
|
|
case "2009060309":
|
|
|
|
|
switch (navigator.productSub) {
|
|
|
|
|
case "2009060309": ua_version = "3.0.11"; os_name = oses_linux; os_flavor = "Ubuntu"; break;
|
|
|
|
|
case "2009070811": ua_version = "3.0.12"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86_64; break;
|
|
|
|
|
case "2009060309": ua_version = "3.0.11"; os_name = oses_linux; os_vendor = "Ubuntu"; break;
|
|
|
|
|
case "2009070811": ua_version = "3.0.12"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86_64; break;
|
|
|
|
|
} break;
|
|
|
|
|
case "2009060310": ua_version = "3.0.11"; os_name = oses_linux; os_flavor = "BackTrack"; break;
|
|
|
|
|
case "2009062005": ua_version = "3.0.11"; os_name = oses_linux; os_flavor = "PCLunixOS"; break;
|
|
|
|
|
case "2009060310": ua_version = "3.0.11"; os_name = oses_linux; os_vendor = "BackTrack"; break;
|
|
|
|
|
case "2009062005": ua_version = "3.0.11"; os_name = oses_linux; os_vendor = "PCLunixOS"; break;
|
|
|
|
|
case "20090624012136": ua_version = "3.5.0"; os_name = oses_mac_osx; break;
|
|
|
|
|
case "20090624012820": ua_version = "3.5.0"; os_name = oses_linux; break;
|
|
|
|
|
case "20090701234143": ua_version = "3.5.0"; os_name = oses_freebsd; os_flavor = "PC-BSD"; arch = arch_x86; break;
|
|
|
|
|
case "20090702060527": ua_version = "3.5.0"; os_name = oses_freebsd; os_flavor = "PC-BSD"; arch = arch_x86_64; break;
|
|
|
|
|
case "20090701234143": ua_version = "3.5.0"; os_name = oses_freebsd; os_vendor = "PC-BSD"; arch = arch_x86; break;
|
|
|
|
|
case "20090702060527": ua_version = "3.5.0"; os_name = oses_freebsd; os_vendor = "PC-BSD"; arch = arch_x86_64; break;
|
|
|
|
|
case "2009070610": ua_version = "3.0.12"; os_name = oses_linux; break;
|
|
|
|
|
case "2009070611": ua_version = "3.0.12"; os_name = oses_windows; break;
|
|
|
|
|
case "2009070811": ua_version = "3.0.13"; os_name = oses_linux; os_flavor = "Ubuntu"; break;
|
|
|
|
|
case "2009070811": ua_version = "3.0.13"; os_name = oses_linux; os_vendor = "Ubuntu"; break;
|
|
|
|
|
case "20090715083437": ua_version = "3.5.1"; os_name = oses_mac_osx; break;
|
|
|
|
|
case "20090715083816": ua_version = "3.5.1"; os_name = oses_linux; break;
|
|
|
|
|
case "20090715094852": ua_version = "3.5.1"; os_name = oses_windows; break;
|
|
|
|
|
case "2009072202": ua_version = "3.0.12"; os_name = oses_linux; os_flavor = "Oracle"; break;
|
|
|
|
|
case "2009072711": ua_version = "3.0.12"; os_name = oses_linux; os_flavor = "CentOS"; break;
|
|
|
|
|
case "2009072202": ua_version = "3.0.12"; os_name = oses_linux; os_vendor = "Oracle"; break;
|
|
|
|
|
case "2009072711": ua_version = "3.0.12"; os_name = oses_linux; os_vendor = "CentOS"; break;
|
|
|
|
|
case "20090729211433": ua_version = "3.5.2"; os_name = oses_mac_osx; break;
|
|
|
|
|
case "20090729211829": ua_version = "3.5.2"; os_name = oses_linux; break;
|
|
|
|
|
case "20090729225027": ua_version = "3.5.2"; os_name = oses_windows; break;
|
|
|
|
@ -422,34 +429,34 @@ window.os_detect.getVersion = function(){
|
|
|
|
|
case "20090824085743": ua_version = "3.5.3"; os_name = oses_linux; break;
|
|
|
|
|
case "20090824101458": ua_version = "3.5.3"; os_name = oses_windows; break;
|
|
|
|
|
case "2009082707": ua_version = "3.0.14"; break;
|
|
|
|
|
case "2009090216": ua_version = "3.0.14"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "20090914014745": ua_version = "3.5.3"; os_name = oses_linux; os_flavor = "Mandriva"; arch = arch_x86; break;
|
|
|
|
|
case "20090915065903": ua_version = "3.5.3"; os_name = oses_linux; os_flavor = "Sabayon"; arch = arch_x86_64; break;
|
|
|
|
|
case "20090915070141": ua_version = "3.5.3"; os_name = oses_linux; os_flavor = "Sabayon"; arch = arch_x86; break;
|
|
|
|
|
case "20091007090112": ua_version = "3.5.3"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86; break; // Could also be Mint x86
|
|
|
|
|
case "20091007095328": ua_version = "3.5.3"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86_64; break; // Could also be Mint x86-64
|
|
|
|
|
case "2009090216": ua_version = "3.0.14"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "20090914014745": ua_version = "3.5.3"; os_name = oses_linux; os_vendor = "Mandriva"; arch = arch_x86; break;
|
|
|
|
|
case "20090915065903": ua_version = "3.5.3"; os_name = oses_linux; os_vendor = "Sabayon"; arch = arch_x86_64; break;
|
|
|
|
|
case "20090915070141": ua_version = "3.5.3"; os_name = oses_linux; os_vendor = "Sabayon"; arch = arch_x86; break;
|
|
|
|
|
case "20091007090112": ua_version = "3.5.3"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86; break; // Could also be Mint x86
|
|
|
|
|
case "20091007095328": ua_version = "3.5.3"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86_64; break; // Could also be Mint x86-64
|
|
|
|
|
case "2009101600":
|
|
|
|
|
switch (navigator.productSub) {
|
|
|
|
|
case "2009101600": ua_version = "3.0.15"; break; // Can be either Mac or Linux
|
|
|
|
|
case "20091016": ua_version = "3.5.4"; os_name = oses_linux; os_flavor = "SUSE"; arch = arch_x86; break;
|
|
|
|
|
case "20091016": ua_version = "3.5.4"; os_name = oses_linux; os_vendor = "SUSE"; arch = arch_x86; break;
|
|
|
|
|
} break;
|
|
|
|
|
case "2009101601": ua_version = "3.0.15"; os_name = oses_windows; break;
|
|
|
|
|
case "20091016081620": ua_version = "3.5.4"; os_name = oses_mac_osx; break;
|
|
|
|
|
case "20091016081727": ua_version = "3.5.4"; os_name = oses_linux; break;
|
|
|
|
|
case "20091016092926": ua_version = "3.5.4"; os_name = oses_windows; break;
|
|
|
|
|
case "20091020122601": ua_version = "3.5.4"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86_64; break; // Could also be Mint x86-64
|
|
|
|
|
case "20091020122601": ua_version = "3.5.4"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86_64; break; // Could also be Mint x86-64
|
|
|
|
|
case "2009102814":
|
|
|
|
|
switch (navigator.productSub) {
|
|
|
|
|
case "2009121601": ua_version = "3.0.16"; os_name = oses_linux; os_flavor = "Ubuntu"; break;
|
|
|
|
|
case "2009121602": ua_version = "3.0.16"; os_name = oses_linux; os_flavor = "Ubuntu"; break;
|
|
|
|
|
case "2010010604": ua_version = "3.0.17"; os_name = oses_linux; os_flavor = "Mint"; break;
|
|
|
|
|
case "2010021501": ua_version = "3.0.17;xul1.9.0.18"; os_name = oses_linux; os_flavor = "Mint"; arch = arch_x86; break;
|
|
|
|
|
case "2010021502": ua_version = "3.0.17;xul1.9.0.18"; os_name = oses_linux; os_flavor = "Mint"; arch = arch_x86_64; break;
|
|
|
|
|
case "2009121601": ua_version = "3.0.16"; os_name = oses_linux; os_vendor = "Ubuntu"; break;
|
|
|
|
|
case "2009121602": ua_version = "3.0.16"; os_name = oses_linux; os_vendor = "Ubuntu"; break;
|
|
|
|
|
case "2010010604": ua_version = "3.0.17"; os_name = oses_linux; os_vendor = "Mint"; break;
|
|
|
|
|
case "2010021501": ua_version = "3.0.17;xul1.9.0.18"; os_name = oses_linux; os_vendor = "Mint"; arch = arch_x86; break;
|
|
|
|
|
case "2010021502": ua_version = "3.0.17;xul1.9.0.18"; os_name = oses_linux; os_vendor = "Mint"; arch = arch_x86_64; break;
|
|
|
|
|
} break;
|
|
|
|
|
case "2009102815":
|
|
|
|
|
switch (navigator.productSub) {
|
|
|
|
|
case "2009102815": ua_version = "3.0.15"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "2009121601": ua_version = "3.0.16"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "2009102815": ua_version = "3.0.15"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "2009121601": ua_version = "3.0.16"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
} break;
|
|
|
|
|
case "20091029152254": ua_version = "3.6.0.b1"; os_name = oses_linux; break;
|
|
|
|
|
case "20091029171059": ua_version = "3.6.0.b1"; os_name = oses_windows; break;
|
|
|
|
@ -457,23 +464,23 @@ window.os_detect.getVersion = function(){
|
|
|
|
|
case "20091102141836": ua_version = "3.5.5"; os_name = oses_linux; break;
|
|
|
|
|
case "20091102152451": ua_version = "3.5.5"; os_name = oses_windows; break;
|
|
|
|
|
case "2009110421": ua_version = "3.0.15"; os_name = oses_freebsd; arch = arch_x86; break;
|
|
|
|
|
case "20091106091959": ua_version = "3.5.5"; os_name = oses_linux; os_flavor = "Mandriva"; arch = arch_x86; break;
|
|
|
|
|
case "20091106140514": ua_version = "3.5.5"; os_name = oses_freebsd; os_flavor = "PC-BSD"; arch = arch_x86; break;
|
|
|
|
|
case "20091106145609": ua_version = "3.5.5"; os_name = oses_freebsd; os_flavor = "PC-BSD"; arch = arch_x86_64; break;
|
|
|
|
|
case "20091106091959": ua_version = "3.5.5"; os_name = oses_linux; os_vendor = "Mandriva"; arch = arch_x86; break;
|
|
|
|
|
case "20091106140514": ua_version = "3.5.5"; os_name = oses_freebsd; os_vendor = "PC-BSD"; arch = arch_x86; break;
|
|
|
|
|
case "20091106145609": ua_version = "3.5.5"; os_name = oses_freebsd; os_vendor = "PC-BSD"; arch = arch_x86_64; break;
|
|
|
|
|
case "20091108163911": ua_version = "3.6.0.b2"; os_name = oses_linux; break;
|
|
|
|
|
case "20091108181924": ua_version = "3.6.0.b2"; os_name = oses_windows; break;
|
|
|
|
|
case "20091109125225":
|
|
|
|
|
switch (navigator.productSub) {
|
|
|
|
|
case "20091109": ua_version = "3.5.5"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "20091215": ua_version = "3.5.6"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "20091109": ua_version = "3.5.5"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "20091215": ua_version = "3.5.6"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
} break;
|
|
|
|
|
case "20091109134913": ua_version = "3.5.5"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86_64; break;
|
|
|
|
|
case "20091109134913": ua_version = "3.5.5"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86_64; break;
|
|
|
|
|
case "20091115172547": ua_version = "3.6.0.b3"; os_name = oses_linux; break;
|
|
|
|
|
case "20091115182845": ua_version = "3.6.0.b3"; os_name = oses_windows; break;
|
|
|
|
|
case "20091124201530": ua_version = "3.6.0.b4"; os_name = oses_mac_osx; break;
|
|
|
|
|
case "20091124201751": ua_version = "3.6.0.b4"; os_name = oses_linux; break;
|
|
|
|
|
case "20091124213835": ua_version = "3.6.0.b4"; os_name = oses_windows; break;
|
|
|
|
|
case "2009120100": ua_version = "3.5.6"; os_name = oses_linux; os_flavor = "SUSE"; break;
|
|
|
|
|
case "2009120100": ua_version = "3.5.6"; os_name = oses_linux; os_vendor = "SUSE"; break;
|
|
|
|
|
case "20091201203240": ua_version = "3.5.6"; os_name = oses_mac_osx; break;
|
|
|
|
|
case "20091201204959": ua_version = "3.5.6"; os_name = oses_linux; break;
|
|
|
|
|
case "20091201220228": ua_version = "3.5.6"; os_name = oses_windows; break;
|
|
|
|
@ -482,74 +489,74 @@ window.os_detect.getVersion = function(){
|
|
|
|
|
case "20091204132459": ua_version = "3.6.0.b5"; os_name = oses_linux; break;
|
|
|
|
|
case "20091204132509": ua_version = "3.6.0.b5"; os_name = oses_mac_osx; break;
|
|
|
|
|
case "20091204143806": ua_version = "3.6.0.b5"; os_name = oses_windows; break;
|
|
|
|
|
case "20091215230859": ua_version = "3.5.7"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "20091215230946": ua_version = "3.5.7"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86_64; break;
|
|
|
|
|
case "20091215231400": ua_version = "3.5.7"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86; break; // Could also be Mint x86
|
|
|
|
|
case "20091215230859": ua_version = "3.5.7"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "20091215230946": ua_version = "3.5.7"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86_64; break;
|
|
|
|
|
case "20091215231400": ua_version = "3.5.7"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86; break; // Could also be Mint x86
|
|
|
|
|
case "20091215231754":
|
|
|
|
|
switch (navigator.productSub) {
|
|
|
|
|
case "20091215": ua_version = "3.5.6"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100106": ua_version = "3.5.7"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86_64; break; // Could also be Mint x86-64
|
|
|
|
|
case "20091215": ua_version = "3.5.6"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100106": ua_version = "3.5.7"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86_64; break; // Could also be Mint x86-64
|
|
|
|
|
} break;
|
|
|
|
|
case "2009121601":
|
|
|
|
|
switch (navigator.productSub) {
|
|
|
|
|
case "2009121601": ua_version = "3.0.16"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86_64; break;
|
|
|
|
|
case "2010010604": ua_version = "3.0.17"; os_name = oses_linux; os_flavor = "Ubuntu"; break; // Could also be Mint x86-64
|
|
|
|
|
case "2009121601": ua_version = "3.0.16"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86_64; break;
|
|
|
|
|
case "2010010604": ua_version = "3.0.17"; os_name = oses_linux; os_vendor = "Ubuntu"; break; // Could also be Mint x86-64
|
|
|
|
|
} break;
|
|
|
|
|
case "2009121602": ua_version = "3.0.17"; os_name = oses_linux; os_flavor = "Ubuntu"; break;
|
|
|
|
|
case "20091216104148": ua_version = "3.5.6"; os_name = oses_linux; os_flavor = "Mandriva"; break;
|
|
|
|
|
case "20091216132458": ua_version = "3.5.6"; os_name = oses_linux; os_flavor = "Fedora"; arch = arch_x86; break;
|
|
|
|
|
case "20091216132537": ua_version = "3.5.6"; os_name = oses_linux; os_flavor = "Fedora"; arch = arch_x86_64; break;
|
|
|
|
|
case "20091216142458": ua_version = "3.5.6"; os_name = oses_linux; os_flavor = "Fedora"; arch = arch_x86_64; break;
|
|
|
|
|
case "20091216142519": ua_version = "3.5.6"; os_name = oses_linux; os_flavor = "Fedora"; arch = arch_x86; break;
|
|
|
|
|
case "2009121708": ua_version = "3.0.16"; os_name = oses_linux; os_flavor = "CentOS"; arch = arch_x86; break;
|
|
|
|
|
case "2009121602": ua_version = "3.0.17"; os_name = oses_linux; os_vendor = "Ubuntu"; break;
|
|
|
|
|
case "20091216104148": ua_version = "3.5.6"; os_name = oses_linux; os_vendor = "Mandriva"; break;
|
|
|
|
|
case "20091216132458": ua_version = "3.5.6"; os_name = oses_linux; os_vendor = "Fedora"; arch = arch_x86; break;
|
|
|
|
|
case "20091216132537": ua_version = "3.5.6"; os_name = oses_linux; os_vendor = "Fedora"; arch = arch_x86_64; break;
|
|
|
|
|
case "20091216142458": ua_version = "3.5.6"; os_name = oses_linux; os_vendor = "Fedora"; arch = arch_x86_64; break;
|
|
|
|
|
case "20091216142519": ua_version = "3.5.6"; os_name = oses_linux; os_vendor = "Fedora"; arch = arch_x86; break;
|
|
|
|
|
case "2009121708": ua_version = "3.0.16"; os_name = oses_linux; os_vendor = "CentOS"; arch = arch_x86; break;
|
|
|
|
|
case "20091221151141": ua_version = "3.5.7"; os_name = oses_mac_osx; break;
|
|
|
|
|
case "20091221152502": ua_version = "3.5.7"; os_name = oses_linux; break;
|
|
|
|
|
case "2009122115": ua_version = "3.0.17"; break; // Can be either Mac or Linux
|
|
|
|
|
case "20091221164558": ua_version = "3.5.7"; os_name = oses_windows; break;
|
|
|
|
|
case "2009122116": ua_version = "3.0.17"; os_name = oses_windows; break;
|
|
|
|
|
case "2009122200": ua_version = "3.5.7"; os_name = oses_linux; os_flavor = "SUSE"; break;
|
|
|
|
|
case "20091223231431": ua_version = "3.5.6"; os_name = oses_linux; os_flavor = "PCLunixOS"; arch = arch_x86; break;
|
|
|
|
|
case "2009122200": ua_version = "3.5.7"; os_name = oses_linux; os_vendor = "SUSE"; break;
|
|
|
|
|
case "20091223231431": ua_version = "3.5.6"; os_name = oses_linux; os_vendor = "PCLunixOS"; arch = arch_x86; break;
|
|
|
|
|
case "20100105194006": ua_version = "3.6.0.rc1"; os_name = oses_mac_osx; break;
|
|
|
|
|
case "20100105194116": ua_version = "3.6.0.rc1"; os_name = oses_linux; break;
|
|
|
|
|
case "20100105212446": ua_version = "3.6.0.rc1"; os_name = oses_windows; break;
|
|
|
|
|
case "2010010604": ua_version = "3.0.18"; os_name = oses_linux; os_flavor = "Ubuntu"; break;
|
|
|
|
|
case "20100106054534": ua_version = "3.5.8"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86; break; // Could also be Mint x86
|
|
|
|
|
case "20100106054634": ua_version = "3.5.8"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86_64; break; // Could also be Mint x86-64
|
|
|
|
|
case "2010010605": ua_version = "3.0.18"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100106211825": ua_version = "3.5.7"; os_name = oses_freebsd; os_flavor = "PC-BSD"; arch = arch_x86; break;
|
|
|
|
|
case "20100106212742": ua_version = "3.5.7"; os_name = oses_freebsd; os_flavor = "PC-BSD"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100106215614": ua_version = "3.5.7"; os_name = oses_freebsd; os_flavor = "PC-BSD"; arch = arch_x86; break;
|
|
|
|
|
case "20100110112429": ua_version = "3.5.7"; os_name = oses_linux; os_flavor = "Mandriva"; break;
|
|
|
|
|
case "2010010604": ua_version = "3.0.18"; os_name = oses_linux; os_vendor = "Ubuntu"; break;
|
|
|
|
|
case "20100106054534": ua_version = "3.5.8"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86; break; // Could also be Mint x86
|
|
|
|
|
case "20100106054634": ua_version = "3.5.8"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86_64; break; // Could also be Mint x86-64
|
|
|
|
|
case "2010010605": ua_version = "3.0.18"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100106211825": ua_version = "3.5.7"; os_name = oses_freebsd; os_vendor = "PC-BSD"; arch = arch_x86; break;
|
|
|
|
|
case "20100106212742": ua_version = "3.5.7"; os_name = oses_freebsd; os_vendor = "PC-BSD"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100106215614": ua_version = "3.5.7"; os_name = oses_freebsd; os_vendor = "PC-BSD"; arch = arch_x86; break;
|
|
|
|
|
case "20100110112429": ua_version = "3.5.7"; os_name = oses_linux; os_vendor = "Mandriva"; break;
|
|
|
|
|
case "20100115132715": ua_version = "3.6.0"; os_name = oses_mac_osx; break;
|
|
|
|
|
case "20100115133306": ua_version = "3.6.0"; os_name = oses_linux; break;
|
|
|
|
|
case "20100115144158": ua_version = "3.6.0"; os_name = oses_windows; break;
|
|
|
|
|
case "20100125074043": ua_version = "3.6.0"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86; break; // Could also be Mint x86
|
|
|
|
|
case "20100125074127": ua_version = "3.6.0"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86_64; break; // Could also be Mint x86-64
|
|
|
|
|
case "20100125204847": ua_version = "3.6.0"; os_name = oses_linux; os_flavor = "Sabayon"; arch = arch_x86; break; // Could also be Mint x86
|
|
|
|
|
case "20100125204903": ua_version = "3.6.0"; os_name = oses_linux; os_flavor = "Sabayon"; arch = arch_x86_64; break; // Could also be Mint x86-64
|
|
|
|
|
case "20100125074043": ua_version = "3.6.0"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86; break; // Could also be Mint x86
|
|
|
|
|
case "20100125074127": ua_version = "3.6.0"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86_64; break; // Could also be Mint x86-64
|
|
|
|
|
case "20100125204847": ua_version = "3.6.0"; os_name = oses_linux; os_vendor = "Sabayon"; arch = arch_x86; break; // Could also be Mint x86
|
|
|
|
|
case "20100125204903": ua_version = "3.6.0"; os_name = oses_linux; os_vendor = "Sabayon"; arch = arch_x86_64; break; // Could also be Mint x86-64
|
|
|
|
|
case "20100202152834": ua_version = "3.5.8"; os_name = oses_mac_osx; break;
|
|
|
|
|
case "20100202153512": ua_version = "3.5.8"; os_name = oses_linux; break;
|
|
|
|
|
case "20100202165920": ua_version = "3.5.8"; os_name = oses_windows; break;
|
|
|
|
|
case "2010020219": ua_version = "3.0.18"; os_name = oses_mac_osx; break;
|
|
|
|
|
case "2010020220": ua_version = "3.0.18"; os_name = oses_windows; break;
|
|
|
|
|
case "2010020400": ua_version = "3.5.8"; os_name = oses_linux; os_flavor = "SUSE"; break;
|
|
|
|
|
case "20100212131909": ua_version = "3.6.0.2"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "20100212132013": ua_version = "3.6.0.2"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100216105329": ua_version = "3.5.8"; os_name = oses_linux; os_flavor = "Fedora"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100216105348": ua_version = "3.5.8"; os_name = oses_linux; os_flavor = "Fedora"; arch = arch_x86; break;
|
|
|
|
|
case "20100216105410": ua_version = "3.5.8"; os_name = oses_linux; os_flavor = "Fedora"; arch = arch_x86; break;
|
|
|
|
|
case "20100216110009": ua_version = "3.5.8"; os_name = oses_linux; os_flavor = "Fedora"; arch = arch_x86_64; break;
|
|
|
|
|
case "2010021718": ua_version = "3.0.18"; os_name = oses_linux; os_flavor = "CentOS"; arch = arch_x86; break;
|
|
|
|
|
case "20100218022359": ua_version = "3.6.0.4"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "20100218022705": ua_version = "3.6.0.4"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100218112915": ua_version = "3.5.8"; os_name = oses_linux; os_flavor = "Mandriva"; arch = arch_x86; break;
|
|
|
|
|
case "20100222120605": ua_version = "3.6.0.5"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "20100222120717": ua_version = "3.6.0.5"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100301015346": ua_version = "3.6.0"; os_name = oses_freebsd; os_flavor = "PC-BSD"; arch = arch_x86; break;
|
|
|
|
|
case "20100305054927": ua_version = "3.6.0"; os_name = oses_freebsd; os_flavor = "PC-BSD"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100307204001": ua_version = "3.6.0"; os_name = oses_freebsd; os_flavor = "PC-BSD"; arch = arch_x86; break;
|
|
|
|
|
case "20100308142847": ua_version = "3.6.0.6"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "20100308151019": ua_version = "3.6.0.6"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86_64; break;
|
|
|
|
|
case "2010020400": ua_version = "3.5.8"; os_name = oses_linux; os_vendor = "SUSE"; break;
|
|
|
|
|
case "20100212131909": ua_version = "3.6.0.2"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "20100212132013": ua_version = "3.6.0.2"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100216105329": ua_version = "3.5.8"; os_name = oses_linux; os_vendor = "Fedora"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100216105348": ua_version = "3.5.8"; os_name = oses_linux; os_vendor = "Fedora"; arch = arch_x86; break;
|
|
|
|
|
case "20100216105410": ua_version = "3.5.8"; os_name = oses_linux; os_vendor = "Fedora"; arch = arch_x86; break;
|
|
|
|
|
case "20100216110009": ua_version = "3.5.8"; os_name = oses_linux; os_vendor = "Fedora"; arch = arch_x86_64; break;
|
|
|
|
|
case "2010021718": ua_version = "3.0.18"; os_name = oses_linux; os_vendor = "CentOS"; arch = arch_x86; break;
|
|
|
|
|
case "20100218022359": ua_version = "3.6.0.4"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "20100218022705": ua_version = "3.6.0.4"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100218112915": ua_version = "3.5.8"; os_name = oses_linux; os_vendor = "Mandriva"; arch = arch_x86; break;
|
|
|
|
|
case "20100222120605": ua_version = "3.6.0.5"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "20100222120717": ua_version = "3.6.0.5"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100301015346": ua_version = "3.6.0"; os_name = oses_freebsd; os_vendor = "PC-BSD"; arch = arch_x86; break;
|
|
|
|
|
case "20100305054927": ua_version = "3.6.0"; os_name = oses_freebsd; os_vendor = "PC-BSD"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100307204001": ua_version = "3.6.0"; os_name = oses_freebsd; os_vendor = "PC-BSD"; arch = arch_x86; break;
|
|
|
|
|
case "20100308142847": ua_version = "3.6.0.6"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "20100308151019": ua_version = "3.6.0.6"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86_64; break;
|
|
|
|
|
case "2010031218": ua_version = "3.0.19"; break; // Mac OS X or Linux
|
|
|
|
|
case "2010031422": ua_version = "3.0.19"; os_name = oses_windows; break;
|
|
|
|
|
case "20100315075757": ua_version = "3.5.9"; os_name = oses_linux; break;
|
|
|
|
@ -558,48 +565,48 @@ window.os_detect.getVersion = function(){
|
|
|
|
|
case "20100316055951": ua_version = "3.6.2"; os_name = oses_mac_osx; break;
|
|
|
|
|
case "20100316060223": ua_version = "3.6.2"; os_name = oses_linux; break;
|
|
|
|
|
case "20100316074819": ua_version = "3.6.2"; os_name = oses_windows; break;
|
|
|
|
|
case "2010031700": ua_version = "3.5.9"; os_name = oses_linux; os_flavor = "SUSE"; break;
|
|
|
|
|
case "20100323102218": ua_version = "3.6.2"; os_name = oses_linux; os_flavor = "Fedora"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100323102339": ua_version = "3.6.2"; os_name = oses_linux; os_flavor = "Fedora"; arch = arch_x86; break;
|
|
|
|
|
case "20100323194640": ua_version = "3.6.2"; os_name = oses_freebsd; os_flavor = "PC-BSD"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100324182054": ua_version = "3.6.2"; os_name = oses_freebsd; os_flavor = "PC-BSD"; arch = arch_x86; break;
|
|
|
|
|
case "20100330071911": ua_version = "3.5.9"; os_name = oses_linux; os_flavor = "Fedora"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100330072017": ua_version = "3.5.9"; os_name = oses_linux; os_flavor = "Fedora"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100330072020": ua_version = "3.5.9"; os_name = oses_linux; os_flavor = "Fedora"; arch = arch_x86; break;
|
|
|
|
|
case "20100330072034": ua_version = "3.5.9"; os_name = oses_linux; os_flavor = "Fedora"; arch = arch_x86; break;
|
|
|
|
|
case "2010031700": ua_version = "3.5.9"; os_name = oses_linux; os_vendor = "SUSE"; break;
|
|
|
|
|
case "20100323102218": ua_version = "3.6.2"; os_name = oses_linux; os_vendor = "Fedora"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100323102339": ua_version = "3.6.2"; os_name = oses_linux; os_vendor = "Fedora"; arch = arch_x86; break;
|
|
|
|
|
case "20100323194640": ua_version = "3.6.2"; os_name = oses_freebsd; os_vendor = "PC-BSD"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100324182054": ua_version = "3.6.2"; os_name = oses_freebsd; os_vendor = "PC-BSD"; arch = arch_x86; break;
|
|
|
|
|
case "20100330071911": ua_version = "3.5.9"; os_name = oses_linux; os_vendor = "Fedora"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100330072017": ua_version = "3.5.9"; os_name = oses_linux; os_vendor = "Fedora"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100330072020": ua_version = "3.5.9"; os_name = oses_linux; os_vendor = "Fedora"; arch = arch_x86; break;
|
|
|
|
|
case "20100330072034": ua_version = "3.5.9"; os_name = oses_linux; os_vendor = "Fedora"; arch = arch_x86; break;
|
|
|
|
|
case "20100401064631": ua_version = "3.6.3"; os_name = oses_mac_osx; break;
|
|
|
|
|
case "20100401074458": ua_version = "3.6.3"; os_name = oses_linux; break;
|
|
|
|
|
case "20100401080539": ua_version = "3.6.3"; os_name = oses_windows; break;
|
|
|
|
|
case "20100401144201": ua_version = "3.6.2"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "2010040116": ua_version = "3.0.19"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "2010040118": ua_version = "3.0.19"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "2010040119": ua_version = "3.0.19"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "20100401213457": ua_version = "3.5.9"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "2010040121": ua_version = "3.0.19"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86_64; break;
|
|
|
|
|
case "2010040123": ua_version = "3.0.19"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86_64; break;
|
|
|
|
|
case "2010040200": ua_version = "3.0.19"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100402010516": ua_version = "3.5.9"; os_name = oses_linux; os_flavor = "Mint"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100402041908": ua_version = "3.6.2"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100403042003": ua_version = "3.6.3"; os_name = oses_linux; os_flavor = "Fedora"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100403082016": ua_version = "3.6.3"; os_name = oses_linux; os_flavor = "Fedora"; arch = arch_x86; break;
|
|
|
|
|
case "20100404024515": ua_version = "3.6.3"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "20100404024646": ua_version = "3.6.3"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100404104043": ua_version = "3.6.3"; os_name = oses_linux; os_flavor = "PClinuxOS"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100409151117": ua_version = "3.6.3.2"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "20100409170726": ua_version = "3.6.3.2"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100412125148": ua_version = "3.6.3"; os_name = oses_linux; os_flavor = "Mandriva"; arch = arch_x86; break;
|
|
|
|
|
case "20100401144201": ua_version = "3.6.2"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "2010040116": ua_version = "3.0.19"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "2010040118": ua_version = "3.0.19"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "2010040119": ua_version = "3.0.19"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "20100401213457": ua_version = "3.5.9"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "2010040121": ua_version = "3.0.19"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86_64; break;
|
|
|
|
|
case "2010040123": ua_version = "3.0.19"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86_64; break;
|
|
|
|
|
case "2010040200": ua_version = "3.0.19"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100402010516": ua_version = "3.5.9"; os_name = oses_linux; os_vendor = "Mint"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100402041908": ua_version = "3.6.2"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100403042003": ua_version = "3.6.3"; os_name = oses_linux; os_vendor = "Fedora"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100403082016": ua_version = "3.6.3"; os_name = oses_linux; os_vendor = "Fedora"; arch = arch_x86; break;
|
|
|
|
|
case "20100404024515": ua_version = "3.6.3"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "20100404024646": ua_version = "3.6.3"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100404104043": ua_version = "3.6.3"; os_name = oses_linux; os_vendor = "PClinuxOS"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100409151117": ua_version = "3.6.3.2"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "20100409170726": ua_version = "3.6.3.2"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100412125148": ua_version = "3.6.3"; os_name = oses_linux; os_vendor = "Mandriva"; arch = arch_x86; break;
|
|
|
|
|
case "20100413152922": ua_version = "3.6.4.b1"; os_name = oses_mac_osx; break;
|
|
|
|
|
case "20100413154310": ua_version = "3.6.4.b1"; os_name = oses_linux; break;
|
|
|
|
|
case "20100413172113": ua_version = "3.6.4.b1"; os_name = oses_windows; break;
|
|
|
|
|
case "20100415062243": ua_version = "3.6.3.3"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "20100415103754": ua_version = "3.6.3.3"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100416101101": ua_version = "3.6.3.2"; os_name = oses_linux; os_flavor = "Mandriva"; arch = arch_x86; break;
|
|
|
|
|
case "2010041700": ua_version = "3.6.4.1"; os_name = oses_linux; os_flavor = "SUSE"; break;
|
|
|
|
|
case "20100419015333": ua_version = "3.6.3"; os_name = oses_freebsd; os_flavor = "PC-BSD"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100423043606": ua_version = "3.6.3"; os_name = oses_linux; os_flavor = "Sabayon"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100423140709": ua_version = "3.6.3"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "20100423141150": ua_version = "3.6.3"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100423142835": ua_version = "3.6.3"; os_name = oses_freebsd; os_flavor = "PC-BSD"; arch = arch_x86; break;
|
|
|
|
|
case "20100415062243": ua_version = "3.6.3.3"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "20100415103754": ua_version = "3.6.3.3"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100416101101": ua_version = "3.6.3.2"; os_name = oses_linux; os_vendor = "Mandriva"; arch = arch_x86; break;
|
|
|
|
|
case "2010041700": ua_version = "3.6.4.1"; os_name = oses_linux; os_vendor = "SUSE"; break;
|
|
|
|
|
case "20100419015333": ua_version = "3.6.3"; os_name = oses_freebsd; os_vendor = "PC-BSD"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100423043606": ua_version = "3.6.3"; os_name = oses_linux; os_vendor = "Sabayon"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100423140709": ua_version = "3.6.3"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "20100423141150": ua_version = "3.6.3"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100423142835": ua_version = "3.6.3"; os_name = oses_freebsd; os_vendor = "PC-BSD"; arch = arch_x86; break;
|
|
|
|
|
case "20100502202326": ua_version = "3.6.4.b2"; os_name = oses_linux; break;
|
|
|
|
|
case "20100502202401": ua_version = "3.6.4.b2"; os_name = oses_mac_osx; break;
|
|
|
|
|
case "20100502221517": ua_version = "3.6.4.b2"; os_name = oses_windows; break;
|
|
|
|
@ -609,69 +616,69 @@ window.os_detect.getVersion = function(){
|
|
|
|
|
case "20100504085637": ua_version = "3.5.10"; os_name = oses_linux; break;
|
|
|
|
|
case "20100504085753": ua_version = "3.5.10"; os_name = oses_mac_osx; break;
|
|
|
|
|
case "20100504093643": ua_version = "3.5.10"; os_name = oses_windows; break;
|
|
|
|
|
case "2010050600": ua_version = "3.5.10"; os_name = oses_linux; os_flavor = "SUSE"; break;
|
|
|
|
|
case "2010051300": ua_version = "3.6.4.1"; os_name = oses_linux; os_flavor = "SUSE"; break;
|
|
|
|
|
case "2010050600": ua_version = "3.5.10"; os_name = oses_linux; os_vendor = "SUSE"; break;
|
|
|
|
|
case "2010051300": ua_version = "3.6.4.1"; os_name = oses_linux; os_vendor = "SUSE"; break;
|
|
|
|
|
case "20100513134853": ua_version = "3.6.4.b4"; os_name = oses_mac_osx; break;
|
|
|
|
|
case "20100513140540": ua_version = "3.6.4.b4"; os_name = oses_linux; break;
|
|
|
|
|
case "20100513144105": ua_version = "3.6.4.b4"; os_name = oses_windows; break;
|
|
|
|
|
case "20100513190740": ua_version = "3.6.3"; os_name = oses_freebsd; os_flavor = "PC-BSD"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100513190740": ua_version = "3.6.3"; os_name = oses_freebsd; os_vendor = "PC-BSD"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100523180910": ua_version = "3.6.4.b5"; os_name = oses_mac_osx; break;
|
|
|
|
|
case "20100523181754": ua_version = "3.6.4.b5"; os_name = oses_linux; break;
|
|
|
|
|
case "20100523185824": ua_version = "3.6.4.b5"; os_name = oses_windows; break;
|
|
|
|
|
case "20100527084110": ua_version = "3.6.4.b6"; os_name = oses_mac_osx; break;
|
|
|
|
|
case "20100527085242": ua_version = "3.6.4.b6"; os_name = oses_linux; break;
|
|
|
|
|
case "20100527093236": ua_version = "3.6.4.b6"; os_name = oses_windows; break;
|
|
|
|
|
case "2010061100": ua_version = "3.6.4"; os_name = oses_linux; os_flavor = "SUSE"; break;
|
|
|
|
|
case "2010061100": ua_version = "3.6.4"; os_name = oses_linux; os_vendor = "SUSE"; break;
|
|
|
|
|
case "20100611134546": ua_version = "3.6.4.b7"; os_name = oses_mac_osx; break;
|
|
|
|
|
case "20100611135942": ua_version = "3.6.4.b7"; os_name = oses_linux; break;
|
|
|
|
|
case "20100611143157": ua_version = "3.6.4.b7"; os_name = oses_windows; break;
|
|
|
|
|
case "20100622203044": ua_version = "3.6.4"; os_name = oses_linux; os_flavor = "Fedora"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100622203045": ua_version = "3.6.4"; os_name = oses_linux; os_flavor = "Fedora"; arch = arch_x86; break;
|
|
|
|
|
case "20100622204750": ua_version = "3.5.10"; os_name = oses_linux; os_flavor = "Fedora"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100622204830": ua_version = "3.5.10"; os_name = oses_linux; os_flavor = "Fedora"; arch = arch_x86; break;
|
|
|
|
|
case "20100622205038": ua_version = "3.6.4"; os_name = oses_linux; os_flavor = "PClinuxOS"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100623081410": ua_version = "3.6.4"; os_name = oses_linux; os_flavor = "CentOS"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100623081921": ua_version = "3.6.4"; os_name = oses_linux; os_flavor = "CentOS"; arch = arch_x86; break;
|
|
|
|
|
case "20100623155731": ua_version = "3.6.4.b7"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "20100623200132": ua_version = "3.6.4.b7"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100622203044": ua_version = "3.6.4"; os_name = oses_linux; os_vendor = "Fedora"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100622203045": ua_version = "3.6.4"; os_name = oses_linux; os_vendor = "Fedora"; arch = arch_x86; break;
|
|
|
|
|
case "20100622204750": ua_version = "3.5.10"; os_name = oses_linux; os_vendor = "Fedora"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100622204830": ua_version = "3.5.10"; os_name = oses_linux; os_vendor = "Fedora"; arch = arch_x86; break;
|
|
|
|
|
case "20100622205038": ua_version = "3.6.4"; os_name = oses_linux; os_vendor = "PClinuxOS"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100623081410": ua_version = "3.6.4"; os_name = oses_linux; os_vendor = "CentOS"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100623081921": ua_version = "3.6.4"; os_name = oses_linux; os_vendor = "CentOS"; arch = arch_x86; break;
|
|
|
|
|
case "20100623155731": ua_version = "3.6.4.b7"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "20100623200132": ua_version = "3.6.4.b7"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100625222733": ua_version = "3.6.6"; os_name = oses_linux; break;
|
|
|
|
|
case "20100625223402": ua_version = "3.6.6"; os_name = oses_mac_osx; break;
|
|
|
|
|
case "20100625231939": ua_version = "3.6.6"; os_name = oses_windows; break;
|
|
|
|
|
case "20100626104508": ua_version = "3.6.4"; os_name = oses_freebsd; os_flavor = "PC-BSD"; arch = arch_x86; break;
|
|
|
|
|
case "20100627211341": ua_version = "3.6.4"; os_name = oses_freebsd; os_flavor = "PC-BSD"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100628082832": ua_version = "3.6.6"; os_name = oses_linux; os_flavor = "PClinuxOS"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100628124739": ua_version = "3.6.6"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "20100628143222": ua_version = "3.6.6"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100628232431": ua_version = "3.6.6"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "20100629034705": ua_version = "3.6.6"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100629105354": ua_version = "3.6.6"; os_name = oses_linux; os_flavor = "Mandriva"; arch = arch_x86; break;
|
|
|
|
|
case "20100630130433": ua_version = "3.6.6"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100626104508": ua_version = "3.6.4"; os_name = oses_freebsd; os_vendor = "PC-BSD"; arch = arch_x86; break;
|
|
|
|
|
case "20100627211341": ua_version = "3.6.4"; os_name = oses_freebsd; os_vendor = "PC-BSD"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100628082832": ua_version = "3.6.6"; os_name = oses_linux; os_vendor = "PClinuxOS"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100628124739": ua_version = "3.6.6"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "20100628143222": ua_version = "3.6.6"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100628232431": ua_version = "3.6.6"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "20100629034705": ua_version = "3.6.6"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100629105354": ua_version = "3.6.6"; os_name = oses_linux; os_vendor = "Mandriva"; arch = arch_x86; break;
|
|
|
|
|
case "20100630130433": ua_version = "3.6.6"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100630131607": ua_version = "4.0.0.b1"; os_name = oses_mac_osx; break;
|
|
|
|
|
case "20100630132217": ua_version = "4.0.0.b1"; os_name = oses_linux; break;
|
|
|
|
|
case "20100630141702": ua_version = "4.0.0.b1"; os_name = oses_windows; break;
|
|
|
|
|
case "20100630174226": ua_version = "3.6.6"; os_name = oses_linux; os_flavor = "Sabayon"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100630180611": ua_version = "3.6.6"; os_name = oses_linux; os_flavor = "Sabayon"; arch = arch_x86; break;
|
|
|
|
|
case "20100709115208": ua_version = "3.6.7.b1"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "20100709183408": ua_version = "3.6.7.b1"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100716093011": ua_version = "3.6.7.b2"; os_name = oses_linux; os_flavor = "Ubuntu"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100630174226": ua_version = "3.6.6"; os_name = oses_linux; os_vendor = "Sabayon"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100630180611": ua_version = "3.6.6"; os_name = oses_linux; os_vendor = "Sabayon"; arch = arch_x86; break;
|
|
|
|
|
case "20100709115208": ua_version = "3.6.7.b1"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86; break;
|
|
|
|
|
case "20100709183408": ua_version = "3.6.7.b1"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86_64; break;
|
|
|
|
|
case "20100716093011": ua_version = "3.6.7.b2"; os_name = oses_linux; os_vendor = "Ubuntu"; arch = arch_x86_64; break;
|
|
|
|
|
case "20101203075014": ua_version = "3.6.13"; os_name = oses_windows; break;
|
|
|
|
|
case "20101206122825": ua_version = "3.6.13"; os_name = oses_linux; os_flavor = "Ubuntu"; break;
|
|
|
|
|
case "20101206122825": ua_version = "3.6.13"; os_name = oses_linux; os_vendor = "Ubuntu"; break;
|
|
|
|
|
case "20110318052756": ua_version = "4.0"; os_name = oses_windows; break; // browsershots: Firefox 4.0 / Windows XP
|
|
|
|
|
case "20110420144310": ua_version = "3.5.19"; os_name = oses_linux; os_flavor = "Debian"; break; // browsershots: Firefox 3.5.19 / Debian 4.0 (Etch)
|
|
|
|
|
case "20110420144310": ua_version = "3.5.19"; os_name = oses_linux; os_vendor = "Debian"; break; // browsershots: Firefox 3.5.19 / Debian 4.0 (Etch)
|
|
|
|
|
case "20110615151330": ua_version = "5.0"; os_name = oses_windows; break; // browsershots: Firefox 5.0 / Windows XP
|
|
|
|
|
case "20110811165603": ua_version = "6.0"; os_name = oses_windows; break; // browsershots: Firefox 6.0 / Windows XP
|
|
|
|
|
case "20110830092941": ua_version = "6.0.1"; os_name = oses_linux; os_flavor = "Debian"; break; // browsershots: Firefox 6.0.1 / Debian 4.0 (Etch)
|
|
|
|
|
case "20110830092941": ua_version = "6.0.1"; os_name = oses_linux; os_vendor = "Debian"; break; // browsershots: Firefox 6.0.1 / Debian 4.0 (Etch)
|
|
|
|
|
case "20110922153450": ua_version = "7.0"; os_name = oses_windows; break; // browsershots: Firefox 7.0 / Windows XP
|
|
|
|
|
case "20110928134238": ua_version = "7.0.1"; os_name = oses_linux; os_flavor = "Debian"; break; // browsershots: Firefox 7.0.1 / Debian 4.0 (Etch)
|
|
|
|
|
case "20110928134238": ua_version = "7.0.1"; os_name = oses_linux; os_vendor = "Debian"; break; // browsershots: Firefox 7.0.1 / Debian 4.0 (Etch)
|
|
|
|
|
case "20111104165243": ua_version = "8.0"; os_name = oses_windows; break; // browsershots: Firefox 8.0 / Windows XP
|
|
|
|
|
case "20111115183813": ua_version = "8.0"; os_name = oses_linux; os_flavor = "Ubuntu"; break; // browsershots: Firefox 8.0 / Ubuntu 9.10 (Karmic Koala)
|
|
|
|
|
case "20111115183813": ua_version = "8.0"; os_name = oses_linux; os_vendor = "Ubuntu"; break; // browsershots: Firefox 8.0 / Ubuntu 9.10 (Karmic Koala)
|
|
|
|
|
case "20111216140209": ua_version = "9.0"; os_name = oses_windows; break; // browsershots: Firefox 9.0 / Windows XP
|
|
|
|
|
case "20120129021758": ua_version = "10.0"; os_name = oses_windows; break; // browsershots: Firefox 10.0 / Windows 2000
|
|
|
|
|
case "20120201083324": ua_version = "3.5.16"; os_name = oses_linux; os_flavor = "Debian"; break; // browsershots: Iceweasel 3.5.16 / Debian 4.0 (Etch)
|
|
|
|
|
case "20120216013254": ua_version = "3.6.27"; os_name = oses_linux; os_flavor = "Debian"; break; // browsershots: Firefox 3.6.27 / Debian 4.0 (Etch)
|
|
|
|
|
case "20120216100510": ua_version = "10.0.2"; os_name = oses_linux; os_flavor = "Ubuntu"; break; // browsershots: Firefox 10.0.2 / Ubuntu 9.10 (Karmic Koala)
|
|
|
|
|
case "20120310010316": ua_version = "11.0"; os_name = oses_linux; os_flavor = "Ubuntu"; break; // browsershots: Firefox 11.0 / Ubuntu 9.10 (Karmic Koala)
|
|
|
|
|
case "20120310194926": ua_version = "11.0"; os_name = oses_linux; os_flavor = "Ubuntu"; break;
|
|
|
|
|
case "20120201083324": ua_version = "3.5.16"; os_name = oses_linux; os_vendor = "Debian"; break; // browsershots: Iceweasel 3.5.16 / Debian 4.0 (Etch)
|
|
|
|
|
case "20120216013254": ua_version = "3.6.27"; os_name = oses_linux; os_vendor = "Debian"; break; // browsershots: Firefox 3.6.27 / Debian 4.0 (Etch)
|
|
|
|
|
case "20120216100510": ua_version = "10.0.2"; os_name = oses_linux; os_vendor = "Ubuntu"; break; // browsershots: Firefox 10.0.2 / Ubuntu 9.10 (Karmic Koala)
|
|
|
|
|
case "20120310010316": ua_version = "11.0"; os_name = oses_linux; os_vendor = "Ubuntu"; break; // browsershots: Firefox 11.0 / Ubuntu 9.10 (Karmic Koala)
|
|
|
|
|
case "20120310194926": ua_version = "11.0"; os_name = oses_linux; os_vendor = "Ubuntu"; break;
|
|
|
|
|
case "20120312181643":
|
|
|
|
|
// It is disconcerting that a buildID is the same on Windows
|
|
|
|
|
// and Mac, need to examine more versions on Mac.
|
|
|
|
@ -682,9 +689,9 @@ window.os_detect.getVersion = function(){
|
|
|
|
|
os_name = oses_windows; // browsershots: Firefox 11.0 / Windows XP
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
case "20120314195616": ua_version = "12.0"; os_name = oses_linux; os_flavor = "Debian"; break; // browsershots: Firefox 12.0 / Debian 4.0 (Etch)
|
|
|
|
|
case "20120423142301": ua_version = "12.0"; os_name = oses_linux; os_flavor = "Ubuntu"; break;
|
|
|
|
|
case "20120424151700": ua_version = "12.0"; os_name = oses_linux; os_flavor = "Fedora"; break;
|
|
|
|
|
case "20120314195616": ua_version = "12.0"; os_name = oses_linux; os_vendor = "Debian"; break; // browsershots: Firefox 12.0 / Debian 4.0 (Etch)
|
|
|
|
|
case "20120423142301": ua_version = "12.0"; os_name = oses_linux; os_vendor = "Ubuntu"; break;
|
|
|
|
|
case "20120424151700": ua_version = "12.0"; os_name = oses_linux; os_vendor = "Fedora"; break;
|
|
|
|
|
default:
|
|
|
|
|
version = this.searchVersion("Firefox", navigator.userAgent);
|
|
|
|
|
// Verify whether the ua string is lying by checking if it contains
|
|
|
|
@ -714,64 +721,67 @@ window.os_detect.getVersion = function(){
|
|
|
|
|
// share.
|
|
|
|
|
os_name = oses_windows;
|
|
|
|
|
ua_name = clients_ie;
|
|
|
|
|
version = ScriptEngineMajorVersion().toString();
|
|
|
|
|
version += ScriptEngineMinorVersion().toString();
|
|
|
|
|
version += ScriptEngineBuildVersion().toString();
|
|
|
|
|
version_maj = ScriptEngineMajorVersion().toString();
|
|
|
|
|
version_min = ScriptEngineMinorVersion().toString();
|
|
|
|
|
version_build = ScriptEngineBuildVersion().toString();
|
|
|
|
|
|
|
|
|
|
version = version_maj + version_min + version_build;
|
|
|
|
|
|
|
|
|
|
//document.write("ScriptEngine: "+version+"<br />");
|
|
|
|
|
switch (version){
|
|
|
|
|
case "514615":
|
|
|
|
|
// IE 5.00.2920.0000, 2000 Advanced Server SP0 English
|
|
|
|
|
ua_version = "5.0";
|
|
|
|
|
os_flavor = "2000";
|
|
|
|
|
os_name = "Windows 2000";
|
|
|
|
|
os_sp = "SP0";
|
|
|
|
|
break;
|
|
|
|
|
case "515907":
|
|
|
|
|
os_flavor = "2000";
|
|
|
|
|
os_name = "Windows 2000";
|
|
|
|
|
os_sp = "SP3"; //or SP2: oCC.getComponentVersion('{22d6f312-b0f6-11d0-94ab-0080c74c7e95}', 'componentid') => 6,4,9,1109
|
|
|
|
|
break;
|
|
|
|
|
case "518513":
|
|
|
|
|
os_flavor = "2000";
|
|
|
|
|
os_name = "Windows 2000";
|
|
|
|
|
os_sp = "SP4";
|
|
|
|
|
break;
|
|
|
|
|
case "566626":
|
|
|
|
|
// IE 6.0.2600.0000, XP SP0 English
|
|
|
|
|
// IE 6.0.2800.1106, XP SP1 English
|
|
|
|
|
ua_version = "6.0";
|
|
|
|
|
os_flavor = "XP";
|
|
|
|
|
os_name = "Windows XP";
|
|
|
|
|
os_sp = "SP0";
|
|
|
|
|
break;
|
|
|
|
|
case "568515":
|
|
|
|
|
// IE 6.0.3790.0, 2003 Standard SP0 English
|
|
|
|
|
ua_version = "6.0";
|
|
|
|
|
os_flavor = "2003";
|
|
|
|
|
os_name = "Windows 2003";
|
|
|
|
|
os_sp = "SP0";
|
|
|
|
|
break;
|
|
|
|
|
case "568820":
|
|
|
|
|
// IE 6.0.2900.2180, xp sp2 english
|
|
|
|
|
os_flavor = "XP";
|
|
|
|
|
os_name = "Windows XP";
|
|
|
|
|
os_sp = "SP2";
|
|
|
|
|
break;
|
|
|
|
|
case "568827":
|
|
|
|
|
os_flavor = "2003";
|
|
|
|
|
os_name = "Windows 2003";
|
|
|
|
|
os_sp = "SP1";
|
|
|
|
|
break;
|
|
|
|
|
case "568831": //XP SP2 -OR- 2K SP4
|
|
|
|
|
if (os_flavor == "2000"){
|
|
|
|
|
if (os_name == "2000"){
|
|
|
|
|
os_sp = "SP4";
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
os_flavor = "XP";
|
|
|
|
|
os_name = "Windows XP";
|
|
|
|
|
os_sp = "SP2";
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
case "568832":
|
|
|
|
|
os_flavor = "2003";
|
|
|
|
|
os_name = "Windows 2003";
|
|
|
|
|
os_sp = "SP2";
|
|
|
|
|
break;
|
|
|
|
|
case "568837":
|
|
|
|
|
// IE 6.0.2900.2180, XP Professional SP2 Korean
|
|
|
|
|
ua_version = "6.0";
|
|
|
|
|
os_flavor = "XP";
|
|
|
|
|
os_name = "Windows XP";
|
|
|
|
|
os_sp = "SP2";
|
|
|
|
|
break;
|
|
|
|
|
case "5716599":
|
|
|
|
@ -782,7 +792,7 @@ window.os_detect.getVersion = function(){
|
|
|
|
|
// Since this scriptengine applies to more than one major version of
|
|
|
|
|
// IE, rely on the object detection below to determine ua_version.
|
|
|
|
|
//ua_version = "6.0";
|
|
|
|
|
os_flavor = "XP";
|
|
|
|
|
os_name = "Windows XP";
|
|
|
|
|
os_sp = "SP3";
|
|
|
|
|
break;
|
|
|
|
|
case "575730":
|
|
|
|
@ -797,19 +807,19 @@ window.os_detect.getVersion = function(){
|
|
|
|
|
case "5718066":
|
|
|
|
|
// IE 7.0.5730.13, XP Professional SP3 English
|
|
|
|
|
ua_version = "7.0";
|
|
|
|
|
os_flavor = "XP";
|
|
|
|
|
os_name = "Windows XP";
|
|
|
|
|
os_sp = "SP3";
|
|
|
|
|
break;
|
|
|
|
|
case "5722589":
|
|
|
|
|
// IE 7.0.5730.13, XP Professional SP3 English
|
|
|
|
|
ua_version = "7.0";
|
|
|
|
|
os_flavor = "XP";
|
|
|
|
|
os_name = "Windows XP";
|
|
|
|
|
os_sp = "SP3";
|
|
|
|
|
break;
|
|
|
|
|
case "576000":
|
|
|
|
|
// IE 7.0.6000.16386, Vista Ultimate SP0 English
|
|
|
|
|
ua_version = "7.0";
|
|
|
|
|
os_flavor = "Vista";
|
|
|
|
|
os_name = "Windows Vista";
|
|
|
|
|
os_sp = "SP0";
|
|
|
|
|
break;
|
|
|
|
|
case "580":
|
|
|
|
@ -821,13 +831,13 @@ window.os_detect.getVersion = function(){
|
|
|
|
|
case "5816762":
|
|
|
|
|
// IE 8.0.7600.16385, Windows 7 English
|
|
|
|
|
ua_version = "8.0";
|
|
|
|
|
os_flavor = "7";
|
|
|
|
|
os_name = "Windows 7";
|
|
|
|
|
os_sp = "SP0";
|
|
|
|
|
break;
|
|
|
|
|
case "5817514":
|
|
|
|
|
// IE 8.0.7600.17514, Windows 7 SP1 English
|
|
|
|
|
ua_version = "8.0";
|
|
|
|
|
os_flavor = "7";
|
|
|
|
|
os_name = "Windows 7";
|
|
|
|
|
os_sp = "SP1";
|
|
|
|
|
break;
|
|
|
|
|
case "5818702":
|
|
|
|
@ -835,80 +845,103 @@ window.os_detect.getVersion = function(){
|
|
|
|
|
case "5822960":
|
|
|
|
|
// IE 8.0.6001.18702, XP Professional SP3 Greek
|
|
|
|
|
ua_version = "8.0";
|
|
|
|
|
os_flavor = "XP";
|
|
|
|
|
os_name = "Windows XP";
|
|
|
|
|
os_sp = "SP3";
|
|
|
|
|
break;
|
|
|
|
|
case "9016406":
|
|
|
|
|
// IE 9.0.7930.16406, Windows 7 64-bit
|
|
|
|
|
ua_version = "9.0";
|
|
|
|
|
os_flavor = "7";
|
|
|
|
|
os_name = "Windows 7";
|
|
|
|
|
os_sp = "SP0";
|
|
|
|
|
break;
|
|
|
|
|
case "9016441":
|
|
|
|
|
// IE 9.0.8112.16421, Windows 7 32-bit English
|
|
|
|
|
ua_version = "9.0";
|
|
|
|
|
os_flavor = "7";
|
|
|
|
|
os_name = "Windows 7";
|
|
|
|
|
os_sp = "SP1";
|
|
|
|
|
break;
|
|
|
|
|
case "9016443":
|
|
|
|
|
// IE 9.0.8112.16421, Windows 7 Polish
|
|
|
|
|
// Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)
|
|
|
|
|
ua_version = "9.0";
|
|
|
|
|
os_flavor = "7";
|
|
|
|
|
os_name = "Windows 7";
|
|
|
|
|
os_sp = "SP1";
|
|
|
|
|
break;
|
|
|
|
|
case "9016446":
|
|
|
|
|
// IE 9.0.8112.16421, Windows 7 English (Update Versions: 9.0.7 (KB2699988)
|
|
|
|
|
// Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; MASA; InfoPath.3; MS-RTC LM 8; BRI/2)Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; MASA; InfoPath.3; MS-RTC LM 8; BRI/2)
|
|
|
|
|
ua_version = "9.0";
|
|
|
|
|
os_flavor = "7";
|
|
|
|
|
os_name = "Windows 7";
|
|
|
|
|
os_sp = "SP1";
|
|
|
|
|
break;
|
|
|
|
|
case "9016464":
|
|
|
|
|
// browsershots.org, MSIE 7.0 / Windows 2008 R2
|
|
|
|
|
os_flavor = "2008R2";
|
|
|
|
|
os_name = "Windows 2008R2";
|
|
|
|
|
ua_version = "9.0";
|
|
|
|
|
break;
|
|
|
|
|
case "9016470":
|
|
|
|
|
// IE 9.0.8112.16421 / Windows 7 SP1
|
|
|
|
|
ua_version = "9.0";
|
|
|
|
|
os_flavor = "7";
|
|
|
|
|
os_name = "Windows 7";
|
|
|
|
|
os_sp = "SP1";
|
|
|
|
|
break;
|
|
|
|
|
case "10016720":
|
|
|
|
|
// IE 10.0.9200.16721 / Windows 7 SP1
|
|
|
|
|
ua_version = "10.0";
|
|
|
|
|
os_flavor = "7";
|
|
|
|
|
os_name = "Windows 7";
|
|
|
|
|
os_sp = "SP1";
|
|
|
|
|
break;
|
|
|
|
|
case "11016428":
|
|
|
|
|
// IE 11.0.9600.16428 / Windows 7 SP1
|
|
|
|
|
ua_version = "11.0";
|
|
|
|
|
os_flavor = "7";
|
|
|
|
|
os_name = "Windows 7";
|
|
|
|
|
os_sp = "SP1";
|
|
|
|
|
break;
|
|
|
|
|
case "10016384":
|
|
|
|
|
// IE 10.0.9200.16384 / Windows 8 x86
|
|
|
|
|
ua_version = "10.0";
|
|
|
|
|
os_flavor = "8";
|
|
|
|
|
os_name = "Windows 8";
|
|
|
|
|
os_sp = "SP0";
|
|
|
|
|
break;
|
|
|
|
|
case "1000":
|
|
|
|
|
// IE 10.0.8400.0 (Pre-release + KB2702844), Windows 8 x86 English Pre-release
|
|
|
|
|
ua_version = "10.0";
|
|
|
|
|
os_flavor = "8";
|
|
|
|
|
os_name = "Windows 8";
|
|
|
|
|
os_sp = "SP0";
|
|
|
|
|
break;
|
|
|
|
|
case "11016426":
|
|
|
|
|
// IE 11.0.9600.16476 / KB2898785 (Technically: 11.0.2) Windows 8.1 x86 English
|
|
|
|
|
ua_version = "11.0";
|
|
|
|
|
os_name = "Windows 8.1";
|
|
|
|
|
break;
|
|
|
|
|
default:
|
|
|
|
|
unknown_fingerprint = version;
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Trust reported versions of 9, 10, and 11 until we have a better method
|
|
|
|
|
if (!ua_version) {
|
|
|
|
|
switch(version_maj) {
|
|
|
|
|
case "11":
|
|
|
|
|
ua_version = "11.0";
|
|
|
|
|
os_name = "Windows 8.1";
|
|
|
|
|
break;
|
|
|
|
|
case "10":
|
|
|
|
|
ua_version = "10.0";
|
|
|
|
|
os_name = "Windows 8";
|
|
|
|
|
break;
|
|
|
|
|
case "9":
|
|
|
|
|
ua_version = "9.0";
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (!ua_version) {
|
|
|
|
|
// The ScriptEngine functions failed us, try some object detection
|
|
|
|
|
if (document.documentElement && (typeof document.documentElement.style.maxHeight)!="undefined") {
|
|
|
|
|
// IE8 detection straight from IEBlog. Thank you Microsoft.
|
|
|
|
|
try {
|
|
|
|
|
// Technically this also applies to 9.0, 10.0, and 11.0...
|
|
|
|
|
ua_version = "8.0";
|
|
|
|
|
document.documentElement.style.display = "table-cell";
|
|
|
|
|
} catch(e) {
|
|
|
|
@ -936,7 +969,7 @@ window.os_detect.getVersion = function(){
|
|
|
|
|
if (!os_name && navigator.platform == "Win32") { os_name = oses_windows; }
|
|
|
|
|
|
|
|
|
|
//--
|
|
|
|
|
// Flavor
|
|
|
|
|
// Figure out the type of Windows
|
|
|
|
|
//--
|
|
|
|
|
if (!ua_is_lying) {
|
|
|
|
|
version = useragent.toLowerCase();
|
|
|
|
@ -953,27 +986,28 @@ window.os_detect.getVersion = function(){
|
|
|
|
|
else if (version.indexOf("mac") != -1) { os_name = oses_mac_osx; }
|
|
|
|
|
else if (version.indexOf("linux") != -1) { os_name = oses_linux; }
|
|
|
|
|
}
|
|
|
|
|
if (os_name == oses_windows && (!os_flavor || 0 == os_flavor.length)) {
|
|
|
|
|
if (version.indexOf("windows 95") != -1) { os_flavor = "95"; }
|
|
|
|
|
else if (version.indexOf("windows nt 4") != -1) { os_flavor = "NT"; }
|
|
|
|
|
else if (version.indexOf("win 9x 4.9") != -1) { os_flavor = "ME"; }
|
|
|
|
|
else if (version.indexOf("windows 98") != -1) { os_flavor = "98"; }
|
|
|
|
|
else if (version.indexOf("windows nt 5.0") != -1) { os_flavor = "2000"; }
|
|
|
|
|
else if (version.indexOf("windows nt 5.1") != -1) { os_flavor = "XP"; }
|
|
|
|
|
else if (version.indexOf("windows nt 5.2") != -1) { os_flavor = "2003"; }
|
|
|
|
|
else if (version.indexOf("windows nt 6.0") != -1) { os_flavor = "Vista"; }
|
|
|
|
|
else if (version.indexOf("windows nt 6.1") != -1) { os_flavor = "7"; }
|
|
|
|
|
else if (version.indexOf("windows nt 6.2") != -1) { os_flavor = "8"; }
|
|
|
|
|
if (os_name == oses_windows) {
|
|
|
|
|
if (version.indexOf("windows 95") != -1) { os_name = "Windows 95"; }
|
|
|
|
|
else if (version.indexOf("windows nt 4") != -1) { os_name = "Windows NT"; }
|
|
|
|
|
else if (version.indexOf("win 9x 4.9") != -1) { os_name = "Windows ME"; }
|
|
|
|
|
else if (version.indexOf("windows 98") != -1) { os_name = "Windows 98"; }
|
|
|
|
|
else if (version.indexOf("windows nt 5.0") != -1) { os_name = "Windows 2000"; }
|
|
|
|
|
else if (version.indexOf("windows nt 5.1") != -1) { os_name = "Windows XP"; }
|
|
|
|
|
else if (version.indexOf("windows nt 5.2") != -1) { os_name = "Windows 2003"; }
|
|
|
|
|
else if (version.indexOf("windows nt 6.0") != -1) { os_name = "Windows Vista"; }
|
|
|
|
|
else if (version.indexOf("windows nt 6.1") != -1) { os_name = "Windows 7"; }
|
|
|
|
|
else if (version.indexOf("windows nt 6.2") != -1) { os_name = "Windows 8"; }
|
|
|
|
|
else if (version.indexOf("windows nt 6.3") != -1) { os_name = "Windows 8.1"; }
|
|
|
|
|
}
|
|
|
|
|
if (os_name == oses_linux && (!os_flavor || 0 == os_flavor.length)) {
|
|
|
|
|
if (version.indexOf("gentoo") != -1) { os_flavor = "Gentoo"; }
|
|
|
|
|
else if (version.indexOf("ubuntu") != -1) { os_flavor = "Ubuntu"; }
|
|
|
|
|
else if (version.indexOf("debian") != -1) { os_flavor = "Debian"; }
|
|
|
|
|
else if (version.indexOf("rhel") != -1) { os_flavor = "RHEL"; }
|
|
|
|
|
else if (version.indexOf("red hat") != -1) { os_flavor = "RHEL"; }
|
|
|
|
|
else if (version.indexOf("centos") != -1) { os_flavor = "CentOS"; }
|
|
|
|
|
else if (version.indexOf("fedora") != -1) { os_flavor = "Fedora"; }
|
|
|
|
|
else if (version.indexOf("android") != -1) { os_flavor = "Android"; }
|
|
|
|
|
if (os_name == oses_linux && (!os_vendor || 0 == os_vendor.length)) {
|
|
|
|
|
if (version.indexOf("gentoo") != -1) { os_vendor = "Gentoo"; }
|
|
|
|
|
else if (version.indexOf("ubuntu") != -1) { os_vendor = "Ubuntu"; }
|
|
|
|
|
else if (version.indexOf("debian") != -1) { os_vendor = "Debian"; }
|
|
|
|
|
else if (version.indexOf("rhel") != -1) { os_vendor = "RHEL"; }
|
|
|
|
|
else if (version.indexOf("red hat") != -1) { os_vendor = "RHEL"; }
|
|
|
|
|
else if (version.indexOf("centos") != -1) { os_vendor = "CentOS"; }
|
|
|
|
|
else if (version.indexOf("fedora") != -1) { os_vendor = "Fedora"; }
|
|
|
|
|
else if (version.indexOf("android") != -1) { os_vendor = "Android"; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//--
|
|
|
|
@ -1031,7 +1065,9 @@ window.os_detect.getVersion = function(){
|
|
|
|
|
|
|
|
|
|
this.ua_is_lying = ua_is_lying;
|
|
|
|
|
this.os_name = os_name;
|
|
|
|
|
this.os_vendor = os_vendor;
|
|
|
|
|
this.os_flavor = os_flavor;
|
|
|
|
|
this.os_device = os_device;
|
|
|
|
|
this.os_sp = os_sp;
|
|
|
|
|
this.os_lang = os_lang;
|
|
|
|
|
this.arch = arch;
|
|
|
|
@ -1039,7 +1075,7 @@ window.os_detect.getVersion = function(){
|
|
|
|
|
this.ua_version = ua_version;
|
|
|
|
|
this.ua_version = ua_version;
|
|
|
|
|
|
|
|
|
|
return { os_name:os_name, os_flavor:os_flavor, os_sp:os_sp, os_lang:os_lang, arch:arch, ua_name:ua_name, ua_version:ua_version };
|
|
|
|
|
return { os_name:os_name, os_vendor:os_vendor, os_flavor:os_flavor, os_device:os_device, os_sp:os_sp, os_lang:os_lang, arch:arch, ua_name:ua_name, ua_version:ua_version };
|
|
|
|
|
}; // function getVersion
|
|
|
|
|
|
|
|
|
|
window.os_detect.searchVersion = function(needle, haystack) {
|
|
|
|
|