From 4c04c200bec5f8159c279daf211454027654c73d Mon Sep 17 00:00:00 2001 From: Elliott Hauser Date: Mon, 18 Jul 2016 15:25:03 +0000 Subject: [PATCH 1/6] Add chromeOS detection --- src/detectizr.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/detectizr.js b/src/detectizr.js index 6d1868d..8397ed0 100644 --- a/src/detectizr.js +++ b/src/detectizr.js @@ -292,6 +292,7 @@ window.Detectizr = (function(window, navigator, document, undefined) { } else if (test(/cros/)) { // Check if user agent is a Chromebook device.type = deviceTypes[3]; + device.model = "chromebook"; } else if (test(/bot|crawler|spider|yahoo|ia_archiver|covario-ids|findlinks|dataparksearch|larbin|mediapartners-google|ng-search|snappy|teoma|jeeves|tineye/) && !test(/mobile/)) { // Check if user agent is a Desktop BOT/Crawler/Spider device.type = deviceTypes[3]; @@ -396,6 +397,8 @@ window.Detectizr = (function(window, navigator, document, undefined) { } } else if (is("webtv")) { os.name = "webtv"; + } else if (is("x11") && test(/cros/)) { + os.name ="chromeos"; } else if (is("x11") || is("inux")) { os.name = "linux"; } else if (is("sunos")) { From fccc168008d423c196c154770a0aeaab8b78e2e2 Mon Sep 17 00:00:00 2001 From: Elliott Hauser Date: Mon, 18 Jul 2016 15:35:41 +0000 Subject: [PATCH 2/6] Add build files --- dist/detectizr.js | 5 ++++- dist/detectizr.min.js | 2 +- dist/detectizr.min.map | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/dist/detectizr.js b/dist/detectizr.js index ac18fa5..e7706f1 100644 --- a/dist/detectizr.js +++ b/dist/detectizr.js @@ -5,7 +5,7 @@ * Written by Baris Aydinoglu (http://baris.aydinoglu.info) - Copyright 2012 * Released under the MIT license * - * Date: 2016-06-10T11:58Z + * Date: 2016-07-18T15:34Z */ window.Detectizr = (function(window, navigator, document, undefined) { var Detectizr = {}, @@ -292,6 +292,7 @@ window.Detectizr = (function(window, navigator, document, undefined) { } else if (test(/cros/)) { // Check if user agent is a Chromebook device.type = deviceTypes[3]; + device.model = "chromebook"; } else if (test(/bot|crawler|spider|yahoo|ia_archiver|covario-ids|findlinks|dataparksearch|larbin|mediapartners-google|ng-search|snappy|teoma|jeeves|tineye/) && !test(/mobile/)) { // Check if user agent is a Desktop BOT/Crawler/Spider device.type = deviceTypes[3]; @@ -396,6 +397,8 @@ window.Detectizr = (function(window, navigator, document, undefined) { } } else if (is("webtv")) { os.name = "webtv"; + } else if (is("x11") && test(/cros/)) { + os.name ="chromeos"; } else if (is("x11") || is("inux")) { os.name = "linux"; } else if (is("sunos")) { diff --git a/dist/detectizr.min.js b/dist/detectizr.min.js index 5bc3e37..e9b1547 100644 --- a/dist/detectizr.min.js +++ b/dist/detectizr.min.js @@ -1,3 +1,3 @@ /*! Detectizr v2.2.0 | (c) 2012 Baris Aydinoglu | Licensed */ -window.Detectizr=function(a,b,c,d){var e={},f=a.Modernizr,g=["tv","tablet","mobile","desktop"],h={addAllFeaturesAsClass:!1,detectDevice:!0,detectDeviceModel:!0,detectScreen:!0,detectOS:!0,detectBrowser:!0,detectPlugins:!0},i=[{name:"adobereader",substrs:["Adobe","Acrobat"],progIds:["AcroPDF.PDF","PDF.PDFCtrl.5"]},{name:"flash",substrs:["Shockwave Flash"],progIds:["ShockwaveFlash.ShockwaveFlash.1"]},{name:"wmplayer",substrs:["Windows Media"],progIds:["wmplayer.ocx"]},{name:"silverlight",substrs:["Silverlight"],progIds:["AgControl.AgControl"]},{name:"quicktime",substrs:["QuickTime"],progIds:["QuickTime.QuickTime"]}],j=/[\t\r\n]/g,k=c.documentElement,l,m;function n(a,b){var c,d,e;if(arguments.length>2)for(c=1,d=arguments.length;d>c;c+=1)n(a,arguments[c]);else for(e in b)b.hasOwnProperty(e)&&(a[e]=b[e]);return a}function o(a){return e.browser.userAgent.indexOf(a)>-1}function p(a){return a.test(e.browser.userAgent)}function q(a){return a.exec(e.browser.userAgent)}function r(a){return a.replace(/^\s+|\s+$/g,"")}function s(a){return null===a||a===d?"":String(a).replace(/((\s|\-|\.)+[a-z0-9])/g,function(a){return a.toUpperCase().replace(/(\s|\-|\.)/g,"")})}function t(a,b){var c=b||"",d=1===a.nodeType&&(a.className?(" "+a.className+" ").replace(j," "):"");if(d){while(d.indexOf(" "+c+" ")>=0)d=d.replace(" "+c+" "," ");a.className=b?r(d):""}}function u(a,b,c){a&&(a=s(a),b&&(b=s(b),v(a+b,!0),c&&v(a+b+"_"+c,!0)))}function v(a,b){a&&f&&(h.addAllFeaturesAsClass?f.addTest(a,b):(b="function"==typeof b?b():b,b?f.addTest(a,!0):(delete f[a],t(k,a))))}function w(a,b){a.version=b;var c=b.split(".");c.length>0?(c=c.reverse(),a.major=c.pop(),c.length>0?(a.minor=c.pop(),c.length>0?(c=c.reverse(),a.patch=c.join(".")):a.patch="0"):a.minor="0"):a.major="0"}function x(){a.clearTimeout(l),l=a.setTimeout(function(){m=e.device.orientation,a.innerHeight>a.innerWidth?e.device.orientation="portrait":e.device.orientation="landscape",v(e.device.orientation,!0),m!==e.device.orientation&&v(m,!1)},10)}function y(a){var c=b.plugins,d,e,f,g,h;for(g=c.length-1;g>=0;g--){for(d=c[g],e=d.name+d.description,f=0,h=a.length;h>=0;h--)-1!==e.indexOf(a[h])&&(f+=1);if(f===a.length)return!0}return!1}function z(a){var b;for(b=a.length-1;b>=0;b--)try{new ActiveXObject(a[b])}catch(c){}return!1}function A(d){var j,k,l,m,r,t,A;if(h=n({},h,d||{}),h.detectDevice){for(e.device={type:"",model:"",orientation:""},l=e.device,p(/googletv|smarttv|smart-tv|internet.tv|netcast|nettv|appletv|boxee|kylo|roku|dlnadoc|roku|pov_tv|hbbtv|ce\-html/)?(l.type=g[0],l.model="smartTv"):p(/xbox|playstation.3|wii/)?(l.type=g[0],l.model="gameConsole"):p(/ip(a|ro)d/)?(l.type=g[1],l.model="ipad"):p(/tablet/)&&!p(/rx-34/)&&!p(/shield/)||p(/folio/)?(l.type=g[1],l.model=String(q(/playbook/)||"")):p(/linux/)&&p(/android/)&&!p(/fennec|mobi|htc.magic|htcX06ht|nexus.one|sc-02b|fone.945/)?(l.type=g[1],l.model="android"):p(/kindle/)||p(/mac.os/)&&p(/silk/)?(l.type=g[1],l.model="kindle"):p(/gt-p10|sc-01c|shw-m180s|sgh-t849|sch-i800|shw-m180l|sph-p100|sgh-i987|zt180|htc(.flyer|\_flyer)|sprint.atp51|viewpad7|pandigital(sprnova|nova)|ideos.s7|dell.streak.7|advent.vega|a101it|a70bht|mid7015|next2|nook/)||p(/mb511/)&&p(/rutem/)?(l.type=g[1],l.model="android"):p(/bb10/)?(l.type=g[2],l.model="blackberry"):(l.model=q(/iphone|ipod|android|blackberry|opera mini|opera mobi|skyfire|maemo|windows phone|palm|iemobile|symbian|symbianos|fennec|j2me/),null!==l.model?(l.type=g[2],l.model=String(l.model)):(l.model="",p(/bolt|fennec|iris|maemo|minimo|mobi|mowser|netfront|novarra|prism|rx-34|skyfire|tear|xv6875|xv6975|google.wireless.transcoder/)?l.type=g[2]:p(/opera/)&&p(/windows.nt.5/)&&p(/htc|xda|mini|vario|samsung\-gt\-i8000|samsung\-sgh\-i9/)?l.type=g[2]:p(/windows.(nt|xp|me|9)/)&&!p(/phone/)||p(/win(9|.9|nt)/)||p(/\(windows 8\)/)?l.type=g[3]:p(/macintosh|powerpc/)&&!p(/silk/)?(l.type=g[3],l.model="mac"):p(/linux/)&&p(/x11/)?l.type=g[3]:p(/solaris|sunos|bsd/)?l.type=g[3]:p(/cros/)?l.type=g[3]:p(/bot|crawler|spider|yahoo|ia_archiver|covario-ids|findlinks|dataparksearch|larbin|mediapartners-google|ng-search|snappy|teoma|jeeves|tineye/)&&!p(/mobile/)?(l.type=g[3],l.model="crawler"):l.type=g[2])),j=0,k=g.length;k>j;j+=1)v(g[j],l.type===g[j]);h.detectDeviceModel&&v(s(l.model),!0)}if(h.detectScreen&&(l.screen={},f&&f.mq&&(f.mq("only screen and (max-width: 240px)")?(l.screen.size="veryVerySmall",v("veryVerySmallScreen",!0)):f.mq("only screen and (max-width: 320px)")?(l.screen.size="verySmall",v("verySmallScreen",!0)):f.mq("only screen and (max-width: 480px)")&&(l.screen.size="small",v("smallScreen",!0)),l.type!==g[1]&&l.type!==g[2]||f.mq("only screen and (-moz-min-device-pixel-ratio: 1.3), only screen and (-o-min-device-pixel-ratio: 2.6/2), only screen and (-webkit-min-device-pixel-ratio: 1.3), only screen and (min-device-pixel-ratio: 1.3), only screen and (min-resolution: 1.3dppx)")&&(l.screen.resolution="high",v("highresolution",!0))),l.type===g[1]||l.type===g[2]?(a.onresize=function(a){x(a)},x()):(l.orientation="landscape",v(l.orientation,!0))),h.detectOS&&(e.os={},m=e.os,""!==l.model&&("ipad"===l.model||"iphone"===l.model||"ipod"===l.model?(m.name="ios",w(m,(p(/os\s([\d_]+)/)?RegExp.$1:"").replace(/_/g,"."))):"android"===l.model?(m.name="android",w(m,p(/android\s([\d\.]+)/)?RegExp.$1:"")):"blackberry"===l.model?(m.name="blackberry",w(m,p(/version\/([^\s]+)/)?RegExp.$1:"")):"playbook"===l.model&&(m.name="blackberry",w(m,p(/os ([^\s]+)/)?RegExp.$1.replace(";",""):""))),m.name||(o("win")||o("16bit")?(m.name="windows",o("windows nt 10")?w(m,"10"):o("windows nt 6.3")?w(m,"8.1"):o("windows nt 6.2")||p(/\(windows 8\)/)?w(m,"8"):o("windows nt 6.1")?w(m,"7"):o("windows nt 6.0")?w(m,"vista"):o("windows nt 5.2")||o("windows nt 5.1")||o("windows xp")?w(m,"xp"):o("windows nt 5.0")||o("windows 2000")?w(m,"2k"):o("winnt")||o("windows nt")?w(m,"nt"):o("win98")||o("windows 98")?w(m,"98"):(o("win95")||o("windows 95"))&&w(m,"95")):o("mac")||o("darwin")?(m.name="mac os",o("68k")||o("68000")?w(m,"68k"):o("ppc")||o("powerpc")?w(m,"ppc"):o("os x")&&w(m,(p(/os\sx\s([\d_]+)/)?RegExp.$1:"os x").replace(/_/g,"."))):o("webtv")?m.name="webtv":o("x11")||o("inux")?m.name="linux":o("sunos")?m.name="sun":o("irix")?m.name="irix":o("freebsd")?m.name="freebsd":o("bsd")&&(m.name="bsd")),m.name&&(v(m.name,!0),m.major&&(u(m.name,m.major),m.minor&&u(m.name,m.major,m.minor))),p(/\sx64|\sx86|\swin64|\swow64|\samd64/)?m.addressRegisterSize="64bit":m.addressRegisterSize="32bit",v(m.addressRegisterSize,!0)),h.detectBrowser&&(r=e.browser,p(/opera|webtv/)||!p(/msie\s([\d\w\.]+)/)&&!o("trident")?o("firefox")?(r.engine="gecko",r.name="firefox",w(r,p(/firefox\/([\d\w\.]+)/)?RegExp.$1:"")):o("gecko/")?r.engine="gecko":o("opera")?(r.name="opera",r.engine="presto",w(r,p(/version\/([\d\.]+)/)?RegExp.$1:p(/opera(\s|\/)([\d\.]+)/)?RegExp.$2:"")):o("konqueror")?r.name="konqueror":o("edge")?(r.engine="webkit",r.name="edge",w(r,p(/edge\/([\d\.]+)/)?RegExp.$1:"")):o("chrome")?(r.engine="webkit",r.name="chrome",w(r,p(/chrome\/([\d\.]+)/)?RegExp.$1:"")):o("iron")?(r.engine="webkit",r.name="iron"):o("crios")?(r.name="chrome",r.engine="webkit",w(r,p(/crios\/([\d\.]+)/)?RegExp.$1:"")):o("applewebkit/")?(r.name="safari",r.engine="webkit",w(r,p(/version\/([\d\.]+)/)?RegExp.$1:"")):o("mozilla/")&&(r.engine="gecko"):(r.engine="trident",r.name="ie",!a.addEventListener&&c.documentMode&&7===c.documentMode?w(r,"8.compat"):p(/trident.*rv[ :](\d+)\./)?w(r,RegExp.$1):w(r,p(/trident\/4\.0/)?"8":RegExp.$1)),r.name&&(v(r.name,!0),r.major&&(u(r.name,r.major),r.minor&&u(r.name,r.major,r.minor))),v(r.engine,!0),r.language=b.userLanguage||b.language,v(r.language,!0)),h.detectPlugins){for(r.plugins=[],j=i.length-1;j>=0;j--)t=i[j],A=!1,a.ActiveXObject?A=z(t.progIds):b.plugins&&(A=y(t.substrs)),A&&(r.plugins.push(t.name),v(t.name,!0));"function"==typeof b.javaEnabled&&b.javaEnabled()&&(r.plugins.push("java"),v("java",!0))}}return e.detect=function(a){return A(a)},e.init=function(){e!==d&&(e.browser={userAgent:(b.userAgent||b.vendor||a.opera||"").toLowerCase()},e.detect())},e.init(),e}(this,this.navigator,this.document); +window.Detectizr=function(a,b,c,d){var e={},f=a.Modernizr,g=["tv","tablet","mobile","desktop"],h={addAllFeaturesAsClass:!1,detectDevice:!0,detectDeviceModel:!0,detectScreen:!0,detectOS:!0,detectBrowser:!0,detectPlugins:!0},i=[{name:"adobereader",substrs:["Adobe","Acrobat"],progIds:["AcroPDF.PDF","PDF.PDFCtrl.5"]},{name:"flash",substrs:["Shockwave Flash"],progIds:["ShockwaveFlash.ShockwaveFlash.1"]},{name:"wmplayer",substrs:["Windows Media"],progIds:["wmplayer.ocx"]},{name:"silverlight",substrs:["Silverlight"],progIds:["AgControl.AgControl"]},{name:"quicktime",substrs:["QuickTime"],progIds:["QuickTime.QuickTime"]}],j=/[\t\r\n]/g,k=c.documentElement,l,m;function n(a,b){var c,d,e;if(arguments.length>2)for(c=1,d=arguments.length;c-1}function p(a){return a.test(e.browser.userAgent)}function q(a){return a.exec(e.browser.userAgent)}function r(a){return a.replace(/^\s+|\s+$/g,"")}function s(a){return null===a||a===d?"":String(a).replace(/((\s|\-|\.)+[a-z0-9])/g,function(a){return a.toUpperCase().replace(/(\s|\-|\.)/g,"")})}function t(a,b){var c=b||"",d=1===a.nodeType&&(a.className?(" "+a.className+" ").replace(j," "):"");if(d){while(d.indexOf(" "+c+" ")>=0)d=d.replace(" "+c+" "," ");a.className=b?r(d):""}}function u(a,b,c){a&&(a=s(a),b&&(b=s(b),v(a+b,!0),c&&v(a+b+"_"+c,!0)))}function v(a,b){a&&f&&(h.addAllFeaturesAsClass?f.addTest(a,b):(b="function"==typeof b?b():b,b?f.addTest(a,!0):(delete f[a],t(k,a))))}function w(a,b){a.version=b;var c=b.split(".");c.length>0?(c=c.reverse(),a.major=c.pop(),c.length>0?(a.minor=c.pop(),c.length>0?(c=c.reverse(),a.patch=c.join(".")):a.patch="0"):a.minor="0"):a.major="0"}function x(){a.clearTimeout(l),l=a.setTimeout(function(){m=e.device.orientation,a.innerHeight>a.innerWidth?e.device.orientation="portrait":e.device.orientation="landscape",v(e.device.orientation,!0),m!==e.device.orientation&&v(m,!1)},10)}function y(a){var c=b.plugins,d,e,f,g,h;for(g=c.length-1;g>=0;g--){for(d=c[g],e=d.name+d.description,f=0,h=a.length;h>=0;h--)e.indexOf(a[h])!==-1&&(f+=1);if(f===a.length)return!0}return!1}function z(a){var b;for(b=a.length-1;b>=0;b--)try{new ActiveXObject(a[b])}catch(c){}return!1}function A(d){var j,k,l,m,r,t,A;if(h=n({},h,d||{}),h.detectDevice){for(e.device={type:"",model:"",orientation:""},l=e.device,p(/googletv|smarttv|smart-tv|internet.tv|netcast|nettv|appletv|boxee|kylo|roku|dlnadoc|roku|pov_tv|hbbtv|ce\-html/)?(l.type=g[0],l.model="smartTv"):p(/xbox|playstation.3|wii/)?(l.type=g[0],l.model="gameConsole"):p(/ip(a|ro)d/)?(l.type=g[1],l.model="ipad"):p(/tablet/)&&!p(/rx-34/)&&!p(/shield/)||p(/folio/)?(l.type=g[1],l.model=String(q(/playbook/)||"")):p(/linux/)&&p(/android/)&&!p(/fennec|mobi|htc.magic|htcX06ht|nexus.one|sc-02b|fone.945/)?(l.type=g[1],l.model="android"):p(/kindle/)||p(/mac.os/)&&p(/silk/)?(l.type=g[1],l.model="kindle"):p(/gt-p10|sc-01c|shw-m180s|sgh-t849|sch-i800|shw-m180l|sph-p100|sgh-i987|zt180|htc(.flyer|\_flyer)|sprint.atp51|viewpad7|pandigital(sprnova|nova)|ideos.s7|dell.streak.7|advent.vega|a101it|a70bht|mid7015|next2|nook/)||p(/mb511/)&&p(/rutem/)?(l.type=g[1],l.model="android"):p(/bb10/)?(l.type=g[2],l.model="blackberry"):(l.model=q(/iphone|ipod|android|blackberry|opera mini|opera mobi|skyfire|maemo|windows phone|palm|iemobile|symbian|symbianos|fennec|j2me/),null!==l.model?(l.type=g[2],l.model=String(l.model)):(l.model="",p(/bolt|fennec|iris|maemo|minimo|mobi|mowser|netfront|novarra|prism|rx-34|skyfire|tear|xv6875|xv6975|google.wireless.transcoder/)?l.type=g[2]:p(/opera/)&&p(/windows.nt.5/)&&p(/htc|xda|mini|vario|samsung\-gt\-i8000|samsung\-sgh\-i9/)?l.type=g[2]:p(/windows.(nt|xp|me|9)/)&&!p(/phone/)||p(/win(9|.9|nt)/)||p(/\(windows 8\)/)?l.type=g[3]:p(/macintosh|powerpc/)&&!p(/silk/)?(l.type=g[3],l.model="mac"):p(/linux/)&&p(/x11/)?l.type=g[3]:p(/solaris|sunos|bsd/)?l.type=g[3]:p(/cros/)?(l.type=g[3],l.model="chromebook"):p(/bot|crawler|spider|yahoo|ia_archiver|covario-ids|findlinks|dataparksearch|larbin|mediapartners-google|ng-search|snappy|teoma|jeeves|tineye/)&&!p(/mobile/)?(l.type=g[3],l.model="crawler"):l.type=g[2])),j=0,k=g.length;j=0;j--)t=i[j],A=!1,a.ActiveXObject?A=z(t.progIds):b.plugins&&(A=y(t.substrs)),A&&(r.plugins.push(t.name),v(t.name,!0));"function"==typeof b.javaEnabled&&b.javaEnabled()&&(r.plugins.push("java"),v("java",!0))}}return e.detect=function(a){return A(a)},e.init=function(){e!==d&&(e.browser={userAgent:(b.userAgent||b.vendor||a.opera||"").toLowerCase()},e.detect())},e.init(),e}(this,this.navigator,this.document); //# sourceMappingURL=detectizr.min.map \ No newline at end of file diff --git a/dist/detectizr.min.map b/dist/detectizr.min.map index b0b373d..44c40f5 100644 --- a/dist/detectizr.min.map +++ b/dist/detectizr.min.map @@ -1 +1 @@ -{"version":3,"sources":["detectizr.js"],"names":["window","Detectizr","navigator","document","undefined","Modernizr","deviceTypes","options","addAllFeaturesAsClass","detectDevice","detectDeviceModel","detectScreen","detectOS","detectBrowser","detectPlugins","plugins2detect","name","substrs","progIds","rclass","docElement","documentElement","resizeTimeoutId","oldOrientation","extend","obj","extObj","a","b","i","arguments","length","hasOwnProperty","is","key","browser","userAgent","indexOf","test","regex","exec","trim","value","replace","toCamel","string","String","$1","toUpperCase","removeClass","element","class2remove","cur","nodeType","className","addVersionTest","version","major","minor","addConditionalTest","feature","addTest","setVersion","versionType","versionFull","versionArray","split","reverse","pop","patch","join","checkOrientation","clearTimeout","setTimeout","device","orientation","innerHeight","innerWidth","detectPlugin","plugins","plugin","haystack","pluginFoundText","j","k","description","detectObject","ActiveXObject","e","detect","opt","os","plugin2detect","pluginFound","type","model","screen","mq","size","resolution","onresize","event","RegExp","addressRegisterSize","engine","$2","addEventListener","documentMode","language","userLanguage","push","javaEnabled","settings","init","vendor","opera","toLowerCase","this"],"mappings":";AASAA,OAAOC,UAAa,SAASD,EAAQE,EAAWC,EAAUC,GACzD,GAAIH,MACHI,EAAYL,EAAOK,UACnBC,GAAe,KAAM,SAAU,SAAU,WACzCC,GAECC,uBAAuB,EAEvBC,cAAc,EAEdC,mBAAmB,EAEnBC,cAAc,EAEdC,UAAU,EAEVC,eAAe,EAEfC,eAAe,GAEhBC,IACCC,KAAM,cACNC,SAAU,QAAS,WAGnBC,SAAU,cAAe,mBAEzBF,KAAM,QACNC,SAAU,mBACVC,SAAU,qCAEVF,KAAM,WACNC,SAAU,iBACVC,SAAU,kBAEVF,KAAM,cACNC,SAAU,eACVC,SAAU,yBAEVF,KAAM,YACNC,SAAU,aACVC,SAAU,yBAEXC,EAAS,YACTC,EAAajB,EAASkB,gBACtBC,EACAC,CAGD,SAASC,GAAOC,EAAKC,GACpB,GAAIC,GAAGC,EAAGC,CACV,IAAIC,UAAUC,OAAS,EACtB,IAAKJ,EAAI,EAAGC,EAAIE,UAAUC,OAAYH,EAAJD,EAAOA,GAAK,EAC7CH,EAAOC,EAAKK,UAAUH,QAGvB,KAAKE,IAAKH,GACLA,EAAOM,eAAeH,KACzBJ,EAAII,GAAKH,EAAOG,GAInB,OAAOJ,GAIR,QAASQ,GAAGC,GACX,MAAOjC,GAAUk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H,OAAS,IAAIC,eAE5EnH,EAAUwF,WAGZxF,EAAUgH,OAEHhH,GACNoH,KAAMA,KAAKnH,UAAWmH,KAAKlH","file":"detectizr.min.js"} \ No newline at end of file +{"version":3,"sources":["detectizr.js"],"names":["window","Detectizr","navigator","document","undefined","Modernizr","deviceTypes","options","addAllFeaturesAsClass","detectDevice","detectDeviceModel","detectScreen","detectOS","detectBrowser","detectPlugins","plugins2detect","name","substrs","progIds","rclass","docElement","documentElement","resizeTimeoutId","oldOrientation","extend","obj","extObj","a","b","i","arguments","length","hasOwnProperty","is","key","browser","userAgent","indexOf","test","regex","exec","trim","value","replace","toCamel","string","String","$1","toUpperCase","removeClass","element","class2remove","cur","nodeType","className","addVersionTest","version","major","minor","addConditionalTest","feature","addTest","setVersion","versionType","versionFull","versionArray","split","reverse","pop","patch","join","checkOrientation","clearTimeout","setTimeout","device","orientation","innerHeight","innerWidth","detectPlugin","plugins","plugin","haystack","pluginFoundText","j","k","description","detectObject","ActiveXObject","e","detect","opt","os","plugin2detect","pluginFound","type","model","screen","mq","size","resolution","onresize","event","RegExp","addressRegisterSize","engine","$2","addEventListener","documentMode","language","userLanguage","push","javaEnabled","settings","init","vendor","opera","toLowerCase","this"],"mappings":";AASAA,OAAOC,UAAa,SAASD,EAAQE,EAAWC,EAAUC,GACzD,GAAIH,MACHI,EAAYL,EAAOK,UACnBC,GAAe,KAAM,SAAU,SAAU,WACzCC,GAECC,uBAAuB,EAEvBC,cAAc,EAEdC,mBAAmB,EAEnBC,cAAc,EAEdC,UAAU,EAEVC,eAAe,EAEfC,eAAe,GAEhBC,IACCC,KAAM,cACNC,SAAU,QAAS,WAGnBC,SAAU,cAAe,mBAEzBF,KAAM,QACNC,SAAU,mBACVC,SAAU,qCAEVF,KAAM,WACNC,SAAU,iBACVC,SAAU,kBAEVF,KAAM,cACNC,SAAU,eACVC,SAAU,yBAEVF,KAAM,YACNC,SAAU,aACVC,SAAU,yBAEXC,EAAS,YACTC,EAAajB,EAASkB,g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AAU6E,UACpBc,EAAcf,EAAac,EAAc3E,UAEtC4E,IACH1D,EAAQ4C,QAAQ+B,KAAKlB,EAAc5E,MACnC2C,EAAmBiC,EAAc5E,MAAM,GAGJ,mBAA1Bd,GAAU6G,aAA8B7G,EAAU6G,gBAC5D5E,EAAQ4C,QAAQ+B,KAAK,QACrBnD,EAAmB,QAAQ,KAiB9B,MAbA1D,GAAUwF,OAAS,SAASuB,GAC3B,MAAOvB,GAAOuB,IAEf/G,EAAUgH,KAAO,WACZhH,IAAcG,IACjBH,EAAUkC,SACTC,WAAYlC,EAAUkC,WAAalC,EAAUgH,QAAUlH,EAAOmH,OAAS,IAAIC,eAE5EnH,EAAUwF,WAGZxF,EAAUgH,OAEHhH,GACNoH,KAAMA,KAAKnH,UAAWmH,KAAKlH","file":"detectizr.min.js"} \ No newline at end of file From 3f9aca75c125134bb8e003cd871c13f0753bbdda Mon Sep 17 00:00:00 2001 From: Elliott Hauser Date: Mon, 18 Jul 2016 17:11:56 +0000 Subject: [PATCH 3/6] Add epiphany detection --- dist/detectizr.js | 4 +++- dist/detectizr.min.js | 2 +- dist/detectizr.min.map | 2 +- src/detectizr.js | 2 ++ 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/dist/detectizr.js b/dist/detectizr.js index e7706f1..647979e 100644 --- a/dist/detectizr.js +++ b/dist/detectizr.js @@ -5,7 +5,7 @@ * Written by Baris Aydinoglu (http://baris.aydinoglu.info) - Copyright 2012 * Released under the MIT license * - * Date: 2016-07-18T15:34Z + * Date: 2016-07-18T17:12Z */ window.Detectizr = (function(window, navigator, document, undefined) { var Detectizr = {}, @@ -461,6 +461,8 @@ window.Detectizr = (function(window, navigator, document, undefined) { browser.engine = "webkit"; browser.name = "chrome"; setVersion(browser, (test(/chrome\/([\d\.]+)/) ? RegExp.$1 : "")); + } else if (test(/epiphany/)) { + browser.name = "epiphany"; } else if (is("iron")) { browser.engine = "webkit"; browser.name = "iron"; diff --git a/dist/detectizr.min.js b/dist/detectizr.min.js index e9b1547..3e26217 100644 --- a/dist/detectizr.min.js +++ b/dist/detectizr.min.js @@ -1,3 +1,3 @@ /*! Detectizr v2.2.0 | (c) 2012 Baris Aydinoglu | Licensed */ -window.Detectizr=function(a,b,c,d){var e={},f=a.Modernizr,g=["tv","tablet","mobile","desktop"],h={addAllFeaturesAsClass:!1,detectDevice:!0,detectDeviceModel:!0,detectScreen:!0,detectOS:!0,detectBrowser:!0,detectPlugins:!0},i=[{name:"adobereader",substrs:["Adobe","Acrobat"],progIds:["AcroPDF.PDF","PDF.PDFCtrl.5"]},{name:"flash",substrs:["Shockwave Flash"],progIds:["ShockwaveFlash.ShockwaveFlash.1"]},{name:"wmplayer",substrs:["Windows Media"],progIds:["wmplayer.ocx"]},{name:"silverlight",substrs:["Silverlight"],progIds:["AgControl.AgControl"]},{name:"quicktime",substrs:["QuickTime"],progIds:["QuickTime.QuickTime"]}],j=/[\t\r\n]/g,k=c.documentElement,l,m;function n(a,b){var c,d,e;if(arguments.length>2)for(c=1,d=arguments.length;c-1}function p(a){return a.test(e.browser.userAgent)}function q(a){return a.exec(e.browser.userAgent)}function r(a){return a.replace(/^\s+|\s+$/g,"")}function s(a){return null===a||a===d?"":String(a).replace(/((\s|\-|\.)+[a-z0-9])/g,function(a){return a.toUpperCase().replace(/(\s|\-|\.)/g,"")})}function t(a,b){var c=b||"",d=1===a.nodeType&&(a.className?(" "+a.className+" ").replace(j," "):"");if(d){while(d.indexOf(" "+c+" ")>=0)d=d.replace(" "+c+" "," ");a.className=b?r(d):""}}function u(a,b,c){a&&(a=s(a),b&&(b=s(b),v(a+b,!0),c&&v(a+b+"_"+c,!0)))}function v(a,b){a&&f&&(h.addAllFeaturesAsClass?f.addTest(a,b):(b="function"==typeof b?b():b,b?f.addTest(a,!0):(delete f[a],t(k,a))))}function w(a,b){a.version=b;var c=b.split(".");c.length>0?(c=c.reverse(),a.major=c.pop(),c.length>0?(a.minor=c.pop(),c.length>0?(c=c.reverse(),a.patch=c.join(".")):a.patch="0"):a.minor="0"):a.major="0"}function x(){a.clearTimeout(l),l=a.setTimeout(function(){m=e.device.orientation,a.innerHeight>a.innerWidth?e.device.orientation="portrait":e.device.orientation="landscape",v(e.device.orientation,!0),m!==e.device.orientation&&v(m,!1)},10)}function y(a){var c=b.plugins,d,e,f,g,h;for(g=c.length-1;g>=0;g--){for(d=c[g],e=d.name+d.description,f=0,h=a.length;h>=0;h--)e.indexOf(a[h])!==-1&&(f+=1);if(f===a.length)return!0}return!1}function z(a){var b;for(b=a.length-1;b>=0;b--)try{new ActiveXObject(a[b])}catch(c){}return!1}function A(d){var j,k,l,m,r,t,A;if(h=n({},h,d||{}),h.detectDevice){for(e.device={type:"",model:"",orientation:""},l=e.device,p(/googletv|smarttv|smart-tv|internet.tv|netcast|nettv|appletv|boxee|kylo|roku|dlnadoc|roku|pov_tv|hbbtv|ce\-html/)?(l.type=g[0],l.model="smartTv"):p(/xbox|playstation.3|wii/)?(l.type=g[0],l.model="gameConsole"):p(/ip(a|ro)d/)?(l.type=g[1],l.model="ipad"):p(/tablet/)&&!p(/rx-34/)&&!p(/shield/)||p(/folio/)?(l.type=g[1],l.model=String(q(/playbook/)||"")):p(/linux/)&&p(/android/)&&!p(/fennec|mobi|htc.magic|htcX06ht|nexus.one|sc-02b|fone.945/)?(l.type=g[1],l.model="android"):p(/kindle/)||p(/mac.os/)&&p(/silk/)?(l.type=g[1],l.model="kindle"):p(/gt-p10|sc-01c|shw-m180s|sgh-t849|sch-i800|shw-m180l|sph-p100|sgh-i987|zt180|htc(.flyer|\_flyer)|sprint.atp51|viewpad7|pandigital(sprnova|nova)|ideos.s7|dell.streak.7|advent.vega|a101it|a70bht|mid7015|next2|nook/)||p(/mb511/)&&p(/rutem/)?(l.type=g[1],l.model="android"):p(/bb10/)?(l.type=g[2],l.model="blackberry"):(l.model=q(/iphone|ipod|android|blackberry|opera mini|opera mobi|skyfire|maemo|windows phone|palm|iemobile|symbian|symbianos|fennec|j2me/),null!==l.model?(l.type=g[2],l.model=String(l.model)):(l.model="",p(/bolt|fennec|iris|maemo|minimo|mobi|mowser|netfront|novarra|prism|rx-34|skyfire|tear|xv6875|xv6975|google.wireless.transcoder/)?l.type=g[2]:p(/opera/)&&p(/windows.nt.5/)&&p(/htc|xda|mini|vario|samsung\-gt\-i8000|samsung\-sgh\-i9/)?l.type=g[2]:p(/windows.(nt|xp|me|9)/)&&!p(/phone/)||p(/win(9|.9|nt)/)||p(/\(windows 8\)/)?l.type=g[3]:p(/macintosh|powerpc/)&&!p(/silk/)?(l.type=g[3],l.model="mac"):p(/linux/)&&p(/x11/)?l.type=g[3]:p(/solaris|sunos|bsd/)?l.type=g[3]:p(/cros/)?(l.type=g[3],l.model="chromebook"):p(/bot|crawler|spider|yahoo|ia_archiver|covario-ids|findlinks|dataparksearch|larbin|mediapartners-google|ng-search|snappy|teoma|jeeves|tineye/)&&!p(/mobile/)?(l.type=g[3],l.model="crawler"):l.type=g[2])),j=0,k=g.length;j=0;j--)t=i[j],A=!1,a.ActiveXObject?A=z(t.progIds):b.plugins&&(A=y(t.substrs)),A&&(r.plugins.push(t.name),v(t.name,!0));"function"==typeof b.javaEnabled&&b.javaEnabled()&&(r.plugins.push("java"),v("java",!0))}}return e.detect=function(a){return A(a)},e.init=function(){e!==d&&(e.browser={userAgent:(b.userAgent||b.vendor||a.opera||"").toLowerCase()},e.detect())},e.init(),e}(this,this.navigator,this.document); +window.Detectizr=function(a,b,c,d){var e={},f=a.Modernizr,g=["tv","tablet","mobile","desktop"],h={addAllFeaturesAsClass:!1,detectDevice:!0,detectDeviceModel:!0,detectScreen:!0,detectOS:!0,detectBrowser:!0,detectPlugins:!0},i=[{name:"adobereader",substrs:["Adobe","Acrobat"],progIds:["AcroPDF.PDF","PDF.PDFCtrl.5"]},{name:"flash",substrs:["Shockwave Flash"],progIds:["ShockwaveFlash.ShockwaveFlash.1"]},{name:"wmplayer",substrs:["Windows Media"],progIds:["wmplayer.ocx"]},{name:"silverlight",substrs:["Silverlight"],progIds:["AgControl.AgControl"]},{name:"quicktime",substrs:["QuickTime"],progIds:["QuickTime.QuickTime"]}],j=/[\t\r\n]/g,k=c.documentElement,l,m;function n(a,b){var c,d,e;if(arguments.length>2)for(c=1,d=arguments.length;c-1}function p(a){return a.test(e.browser.userAgent)}function q(a){return a.exec(e.browser.userAgent)}function r(a){return a.replace(/^\s+|\s+$/g,"")}function s(a){return null===a||a===d?"":String(a).replace(/((\s|\-|\.)+[a-z0-9])/g,function(a){return a.toUpperCase().replace(/(\s|\-|\.)/g,"")})}function t(a,b){var c=b||"",d=1===a.nodeType&&(a.className?(" "+a.className+" ").replace(j," "):"");if(d){while(d.indexOf(" "+c+" ")>=0)d=d.replace(" "+c+" "," ");a.className=b?r(d):""}}function u(a,b,c){a&&(a=s(a),b&&(b=s(b),v(a+b,!0),c&&v(a+b+"_"+c,!0)))}function v(a,b){a&&f&&(h.addAllFeaturesAsClass?f.addTest(a,b):(b="function"==typeof b?b():b,b?f.addTest(a,!0):(delete f[a],t(k,a))))}function w(a,b){a.version=b;var c=b.split(".");c.length>0?(c=c.reverse(),a.major=c.pop(),c.length>0?(a.minor=c.pop(),c.length>0?(c=c.reverse(),a.patch=c.join(".")):a.patch="0"):a.minor="0"):a.major="0"}function x(){a.clearTimeout(l),l=a.setTimeout(function(){m=e.device.orientation,a.innerHeight>a.innerWidth?e.device.orientation="portrait":e.device.orientation="landscape",v(e.device.orientation,!0),m!==e.device.orientation&&v(m,!1)},10)}function y(a){var c=b.plugins,d,e,f,g,h;for(g=c.length-1;g>=0;g--){for(d=c[g],e=d.name+d.description,f=0,h=a.length;h>=0;h--)e.indexOf(a[h])!==-1&&(f+=1);if(f===a.length)return!0}return!1}function z(a){var b;for(b=a.length-1;b>=0;b--)try{new ActiveXObject(a[b])}catch(c){}return!1}function A(d){var j,k,l,m,r,t,A;if(h=n({},h,d||{}),h.detectDevice){for(e.device={type:"",model:"",orientation:""},l=e.device,p(/googletv|smarttv|smart-tv|internet.tv|netcast|nettv|appletv|boxee|kylo|roku|dlnadoc|roku|pov_tv|hbbtv|ce\-html/)?(l.type=g[0],l.model="smartTv"):p(/xbox|playstation.3|wii/)?(l.type=g[0],l.model="gameConsole"):p(/ip(a|ro)d/)?(l.type=g[1],l.model="ipad"):p(/tablet/)&&!p(/rx-34/)&&!p(/shield/)||p(/folio/)?(l.type=g[1],l.model=String(q(/playbook/)||"")):p(/linux/)&&p(/android/)&&!p(/fennec|mobi|htc.magic|htcX06ht|nexus.one|sc-02b|fone.945/)?(l.type=g[1],l.model="android"):p(/kindle/)||p(/mac.os/)&&p(/silk/)?(l.type=g[1],l.model="kindle"):p(/gt-p10|sc-01c|shw-m180s|sgh-t849|sch-i800|shw-m180l|sph-p100|sgh-i987|zt180|htc(.flyer|\_flyer)|sprint.atp51|viewpad7|pandigital(sprnova|nova)|ideos.s7|dell.streak.7|advent.vega|a101it|a70bht|mid7015|next2|nook/)||p(/mb511/)&&p(/rutem/)?(l.type=g[1],l.model="android"):p(/bb10/)?(l.type=g[2],l.model="blackberry"):(l.model=q(/iphone|ipod|android|blackberry|opera mini|opera mobi|skyfire|maemo|windows phone|palm|iemobile|symbian|symbianos|fennec|j2me/),null!==l.model?(l.type=g[2],l.model=String(l.model)):(l.model="",p(/bolt|fennec|iris|maemo|minimo|mobi|mowser|netfront|novarra|prism|rx-34|skyfire|tear|xv6875|xv6975|google.wireless.transcoder/)?l.type=g[2]:p(/opera/)&&p(/windows.nt.5/)&&p(/htc|xda|mini|vario|samsung\-gt\-i8000|samsung\-sgh\-i9/)?l.type=g[2]:p(/windows.(nt|xp|me|9)/)&&!p(/phone/)||p(/win(9|.9|nt)/)||p(/\(windows 8\)/)?l.type=g[3]:p(/macintosh|powerpc/)&&!p(/silk/)?(l.type=g[3],l.model="mac"):p(/linux/)&&p(/x11/)?l.type=g[3]:p(/solaris|sunos|bsd/)?l.type=g[3]:p(/cros/)?(l.type=g[3],l.model="chromebook"):p(/bot|crawler|spider|yahoo|ia_archiver|covario-ids|findlinks|dataparksearch|larbin|mediapartners-google|ng-search|snappy|teoma|jeeves|tineye/)&&!p(/mobile/)?(l.type=g[3],l.model="crawler"):l.type=g[2])),j=0,k=g.length;j=0;j--)t=i[j],A=!1,a.ActiveXObject?A=z(t.progIds):b.plugins&&(A=y(t.substrs)),A&&(r.plugins.push(t.name),v(t.name,!0));"function"==typeof b.javaEnabled&&b.javaEnabled()&&(r.plugins.push("java"),v("java",!0))}}return e.detect=function(a){return A(a)},e.init=function(){e!==d&&(e.browser={userAgent:(b.userAgent||b.vendor||a.opera||"").toLowerCase()},e.detect())},e.init(),e}(this,this.navigator,this.document); //# sourceMappingURL=detectizr.min.map \ No newline at end of file diff --git a/dist/detectizr.min.map b/dist/detectizr.min.map index 44c40f5..8145aed 100644 --- a/dist/detectizr.min.map +++ b/dist/detectizr.min.map @@ -1 +1 @@ -{"version":3,"sources":["detectizr.js"],"names":["window","Detectizr","navigator","document","undefined","Modernizr","deviceTypes","options","addAllFeaturesAsClass","detectDevice","detectDeviceModel","detectScreen","detectOS","detectBrowser","detectPlugins","plugins2detect","name","substrs","progIds","rclass","docElement","documentElement","resizeTimeoutId","oldOrientation","extend","obj","extObj","a","b","i","arguments","length","hasOwnProperty","is","key","browser","userAgent","indexOf","test","regex","exec","trim","value","replace","toCamel","string","String","$1","toUpperCase","removeClass","element","class2remove","cur","nodeType","className","addVersionTest","version","major","minor","addConditionalTest","feature","addTest","setVersion","versionType","versionFull","versionArray","split","reverse","pop","patch","join","checkOrientation","clearTimeout","setTimeout","device","orientation","innerHeight","innerWidth","detectPlugin","plugins","plugin","haystack","pluginFoundText","j","k","description","detectObject","ActiveXObject","e","detect","opt","os","plugin2detect","pluginFound","type","model","screen","mq","size","resolution","onresize","event","RegExp","addressRegisterSize","engine","$2","addEventListener","documentMode","language","userLanguage","push","javaEnabled","settings","init","vendor","opera","toLowerCase","this"],"mappings":";AASAA,OAAOC,UAAa,SAASD,EAAQE,EAAWC,EAAUC,GACzD,GAAIH,MACHI,EAAY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KAAMmB,EAAQsB,OAC/BtB,EAAQuB,OACbH,EAAepB,EAAQnB,KAAMmB,EAAQsB,MAAOtB,EAAQuB,SAIvDC,EAAmBxB,EAAQqE,QAAQ,GAGnCrE,EAAQyE,SAAW1G,EAAU2G,cAAgB3G,EAAU0G,SACvDjD,EAAmBxB,EAAQyE,UAAU,IAIlCrG,EAAQO,cAAe,CAE1B,IADAqB,EAAQ4C,WACHlD,EAAId,EAAegB,OAAS,EAAGF,GAAK,EAAGA,IAC3C+D,EAAgB7E,EAAec,GAC/BgE,GAAc,EACV7F,EAAOuF,cACVM,EAAcP,EAAaM,EAAc1E,SAC/BhB,EAAU6E,UACpBc,EAAcf,EAAac,EAAc3E,UAEtC4E,IACH1D,EAAQ4C,QAAQ+B,KAAKlB,EAAc5E,MACnC2C,EAAmBiC,EAAc5E,MAAM,GAGJ,mBAA1Bd,GAAU6G,aAA8B7G,EAAU6G,gBAC5D5E,EAAQ4C,QAAQ+B,KAAK,QACrBnD,EAAmB,QAAQ,KAiB9B,MAbA1D,GAAUwF,OAAS,SAASuB,GAC3B,MAAOvB,GAAOuB,IAEf/G,EAAUgH,KAAO,WACZhH,IAAcG,IACjBH,EAAUkC,SACTC,WAAYlC,EAAUkC,WAAalC,EAAUgH,QAAUlH,EAAOmH,OAAS,IAAIC,eAE5EnH,EAAUwF,WAGZxF,EAAUgH,OAEHhH,GACNoH,KAAMA,KAAKnH,UAAWmH,KAAKlH","file":"detectizr.min.js"} \ No newline at end of file +{"version":3,"sources":["detectizr.js"],"names":["window","Detectizr","navigator","document","undefined","Modernizr","deviceTypes","options","addAllFeaturesAsClass","detectDevice","detectDeviceModel","detectScreen","detectOS","detectBrowser","detectPlugins","plugins2detect","name","substrs","progIds","rclass","docElement","documentElement","resizeTimeoutId","oldOrientation","extend","obj","extObj","a","b","i","arguments","length","hasOwnProperty","is","key","browser","userAgent","indexOf","test","regex","exec","trim","value","replace","toCamel","string","String","$1","toUpperCase","removeClass","element","class2remove","cur","nodeType","className","addVersionTest","version","major","minor","addConditionalTest","feature","addTest","setVersion","versionType","versionFull","versionArray","split","reverse","pop","patch","join","checkOrientation","clearTimeout","setTimeout","device","orientation","innerHeight","innerWidth","detectPlugin","plugins","plugin","haystack","pluginFoundText","j","k","description","detectObject","ActiveXObject","e","detect","opt","os","plugin2detect","pluginFound","type","model","screen","mq","size","resolution","onresize","event","RegExp","addressRegisterSize","engine","$2","addEventListener","documentMode","language","userLanguage","push","javaEnabled","settings","init","vendor","opera","toLowerCase","this"],"mappings":";AASAA,OAAOC,UAAa,SAASD,EAAQE,EAAWC,EAAUC,GACzD,GAAIH,MACHI,EAAYL,EAAOK,UACnBC,GAAe,KAAM,SAAU,SAAU,WACzCC,GAECC,uBAAuB,EAEvBC,cAAc,EAEdC,mBAAmB,EAEnBC,cAAc,EAEdC,UAAU,EAEVC,eAAe,EAEfC,eAAe,GAEhBC,IACCC,KAAM,cACNC,SAAU,QAAS,WAGnBC,SAAU,cAAe,mBAEzBF,KAAM,QACNC,SAAU,mBACVC,SAAU,qCAEVF,KAAM,WACNC,SAAU,iBACVC,SAAU,kBAEVF,KAAM,cACNC,SAAU,eACVC,SAAU,yBAEVF,KAAM,YACNC,SAAU,aACVC,SAAU,yBAEXC,EAAS,YACTC,EAAajB,EAASkB,gBACtBC,EACAC,CAGD,SAASC,GAAOC,EAAKC,GACpB,GAAIC,GAAGC,EAAGC,CACV,IAAIC,UAAUC,OAAS,EACtB,IAAKJ,EAAI,EAAGC,EAAIE,UAAUC,OAAQJ,EAAIC,EAAGD,GAAK,EAC7CH,EAAOC,EAAKK,UAAUH,QAGvB,KAAKE,IAAKH,GACLA,EAAOM,eAAeH,KACzBJ,EAAII,GAAKH,EAAOG,GAInB,OAAOJ,GAIR,QAASQ,GAAGC,GACX,MAAOjC,GAAUkC,QAAQC,UAAUC,QAAQH,IAAO,EAInD,QAASI,GAAKC,GACb,MAAOA,GAAMD,KAAKrC,EAAUkC,QAAQC,WAIrC,QAASI,GAAKD,GACb,MA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AIC,eAE5EnH,EAAUwF,WAGZxF,EAAUgH,OAEHhH,GACNoH,KAAMA,KAAKnH,UAAWmH,KAAKlH","file":"detectizr.min.js"} \ No newline at end of file diff --git a/src/detectizr.js b/src/detectizr.js index 8397ed0..b26df00 100644 --- a/src/detectizr.js +++ b/src/detectizr.js @@ -461,6 +461,8 @@ window.Detectizr = (function(window, navigator, document, undefined) { browser.engine = "webkit"; browser.name = "chrome"; setVersion(browser, (test(/chrome\/([\d\.]+)/) ? RegExp.$1 : "")); + } else if (test(/epiphany/)) { + browser.name = "epiphany"; } else if (is("iron")) { browser.engine = "webkit"; browser.name = "iron"; From b87d2238a3a8d2db6a76ea346dab195745e89205 Mon Sep 17 00:00:00 2001 From: Elliott Hauser Date: Tue, 26 Jul 2016 13:38:53 +0000 Subject: [PATCH 4/6] Add midori and iceweasel detection --- dist/detectizr.js | 9 +- npm-debug.log | 373 ---------------------------------------------- src/detectizr.js | 7 + 3 files changed, 15 insertions(+), 374 deletions(-) delete mode 100644 npm-debug.log diff --git a/dist/detectizr.js b/dist/detectizr.js index 647979e..7f34ba7 100644 --- a/dist/detectizr.js +++ b/dist/detectizr.js @@ -5,7 +5,7 @@ * Written by Baris Aydinoglu (http://baris.aydinoglu.info) - Copyright 2012 * Released under the MIT license * - * Date: 2016-07-18T17:12Z + * Date: 2016-07-26T13:38Z */ window.Detectizr = (function(window, navigator, document, undefined) { var Detectizr = {}, @@ -441,6 +441,9 @@ window.Detectizr = (function(window, navigator, document, undefined) { } else { setVersion(browser, (test(/trident\/4\.0/) ? "8" : RegExp.$1)); } + } else if (test(/iceweasel/)){ + browser.name = "iceweasel"; + browser.engine = "gecko"; } else if (is("firefox")) { browser.engine = "gecko"; browser.name = "firefox"; @@ -463,6 +466,7 @@ window.Detectizr = (function(window, navigator, document, undefined) { setVersion(browser, (test(/chrome\/([\d\.]+)/) ? RegExp.$1 : "")); } else if (test(/epiphany/)) { browser.name = "epiphany"; + browser.engine = "webkitgtk"; } else if (is("iron")) { browser.engine = "webkit"; browser.name = "iron"; @@ -470,6 +474,9 @@ window.Detectizr = (function(window, navigator, document, undefined) { browser.name = "chrome"; browser.engine = "webkit"; setVersion(browser, (test(/crios\/([\d\.]+)/) ? RegExp.$1 : "")); + } else if (test(/midori/)) { + browser.name = "midori"; + browser.engine = "webkit"; } else if (is("applewebkit/")) { browser.name = "safari"; browser.engine = "webkit"; diff --git a/npm-debug.log b/npm-debug.log deleted file mode 100644 index 2f12dba..0000000 --- a/npm-debug.log +++ /dev/null @@ -1,373 +0,0 @@ -0 info it worked if it ends with ok -1 verbose cli [ 'node', '/usr/local/bin/npm', 'install' ] -2 info using npm@1.4.28 -3 info using node@v0.10.35 -4 verbose readDependencies using package.json deps -5 verbose install where, deps [ '/Users/barisaydinoglu/Projects/Detectizr', -5 verbose install [ 'grunt', -5 verbose install 'grunt-cli', -5 verbose install 'grunt-compare-size', -5 verbose install 'grunt-contrib-jshin', -5 verbose install 'grunt-contrib-qunit', -5 verbose install 'grunt-contrib-uglify', -5 verbose install 'grunt-git-authors', -5 verbose install 'grunt-jscs', -5 verbose install 'grunt-jsonlint', -5 verbose install 'grunt-npmcopy', -5 verbose install 'gzip-js', -5 verbose install 'load-grunt-tasks', -5 verbose install 'qunitjs', -5 verbose install 'q', -5 verbose install 'requirejs', -5 verbose install 'strip-json-comments' ] ] -6 info preinstall detectizr@2.1.0 -7 verbose readDependencies using package.json deps -8 verbose cache add [ 'grunt-contrib-qunit@0.7.0', null ] -9 verbose cache add name=undefined spec="grunt-contrib-qunit@0.7.0" args=["grunt-contrib-qunit@0.7.0",null] -10 verbose parsed url { protocol: null, -10 verbose parsed url slashes: null, -10 verbose parsed url auth: null, -10 verbose parsed url host: null, -10 verbose parsed url port: null, -10 verbose parsed url hostname: null, -10 verbose parsed url hash: null, -10 verbose parsed url search: null, -10 verbose parsed url query: null, -10 verbose parsed url pathname: 'grunt-contrib-qunit@0.7.0', -10 verbose parsed url path: 'grunt-contrib-qunit@0.7.0', -10 verbose parsed url href: 'grunt-contrib-qunit@0.7.0' } -11 verbose cache add [ 'grunt-contrib-uglify@0.9.2', null ] -12 verbose cache add name=undefined spec="grunt-contrib-uglify@0.9.2" args=["grunt-contrib-uglify@0.9.2",null] -13 verbose parsed url { protocol: null, -13 verbose parsed url slashes: null, -13 verbose parsed url auth: null, -13 verbose parsed url host: null, -13 verbose parsed url port: null, -13 verbose parsed url hostname: null, -13 verbose parsed url hash: null, -13 verbose parsed url search: null, -13 verbose parsed url query: null, -13 verbose parsed url pathname: 'grunt-contrib-uglify@0.9.2', -13 verbose parsed url path: 'grunt-contrib-uglify@0.9.2', -13 verbose parsed url href: 'grunt-contrib-uglify@0.9.2' } -14 verbose cache add [ 'grunt-git-authors@3.0.0', null ] -15 verbose cache add name=undefined spec="grunt-git-authors@3.0.0" args=["grunt-git-authors@3.0.0",null] -16 verbose parsed url { protocol: null, -16 verbose parsed url slashes: null, -16 verbose parsed url auth: null, -16 verbose parsed url host: null, -16 verbose parsed url port: null, -16 verbose parsed url hostname: null, -16 verbose parsed url hash: null, -16 verbose parsed url search: null, -16 verbose parsed url query: null, -16 verbose parsed url pathname: 'grunt-git-authors@3.0.0', -16 verbose parsed url path: 'grunt-git-authors@3.0.0', -16 verbose parsed url href: 'grunt-git-authors@3.0.0' } -17 verbose cache add name="grunt-contrib-qunit" spec="0.7.0" args=["grunt-contrib-qunit","0.7.0"] -18 verbose parsed url { protocol: null, -18 verbose parsed url slashes: null, -18 verbose parsed url auth: null, -18 verbose parsed url host: null, -18 verbose parsed url port: null, -18 verbose parsed url hostname: null, -18 verbose parsed url hash: null, -18 verbose parsed url search: null, -18 verbose parsed url query: null, -18 verbose parsed url pathname: '0.7.0', -18 verbose parsed url path: '0.7.0', -18 verbose parsed url href: '0.7.0' } -19 verbose addNamed [ 'grunt-contrib-qunit', '0.7.0' ] -20 verbose addNamed [ '0.7.0', '0.7.0' ] -21 verbose cache add name="grunt-contrib-uglify" spec="0.9.2" args=["grunt-contrib-uglify","0.9.2"] -22 verbose parsed url { protocol: null, -22 verbose parsed url slashes: null, -22 verbose parsed url auth: null, -22 verbose parsed url host: null, -22 verbose parsed url port: null, -22 verbose parsed url hostname: null, -22 verbose parsed url hash: null, -22 verbose parsed url search: null, -22 verbose parsed url query: null, -22 verbose parsed url pathname: '0.9.2', -22 verbose parsed url path: '0.9.2', -22 verbose parsed url href: '0.9.2' } -23 verbose addNamed [ 'grunt-contrib-uglify', '0.9.2' ] -24 verbose addNamed [ '0.9.2', '0.9.2' ] -25 verbose already installed skipping grunt-jscs@2.1.0 /Users/barisaydinoglu/Projects/Detectizr -26 verbose already installed skipping grunt-jsonlint@1.0.4 /Users/barisaydinoglu/Projects/Detectizr -27 verbose cache add name="grunt-git-authors" spec="3.0.0" args=["grunt-git-authors","3.0.0"] -28 verbose parsed url { protocol: null, -28 verbose parsed url slashes: null, -28 verbose parsed url auth: null, -28 verbose parsed url host: null, -28 verbose parsed url port: null, -28 verbose parsed url hostname: null, -28 verbose parsed url hash: null, -28 verbose parsed url search: null, -28 verbose parsed url query: null, -28 verbose parsed url pathname: '3.0.0', -28 verbose parsed url path: '3.0.0', -28 verbose parsed url href: '3.0.0' } -29 verbose addNamed [ 'grunt-git-authors', '3.0.0' ] -30 verbose addNamed [ '3.0.0', '3.0.0' ] -31 silly lockFile b3b30a4c-grunt-contrib-qunit-0-7-0 grunt-contrib-qunit@0.7.0 -32 verbose lock grunt-contrib-qunit@0.7.0 /Users/barisaydinoglu/.npm/b3b30a4c-grunt-contrib-qunit-0-7-0.lock -33 silly lockFile 42275d04-grunt-contrib-uglify-0-9-2 grunt-contrib-uglify@0.9.2 -34 verbose lock grunt-contrib-uglify@0.9.2 /Users/barisaydinoglu/.npm/42275d04-grunt-contrib-uglify-0-9-2.lock -35 silly lockFile a6bf5afd-grunt-git-authors-3-0-0 grunt-git-authors@3.0.0 -36 verbose lock grunt-git-authors@3.0.0 /Users/barisaydinoglu/.npm/a6bf5afd-grunt-git-authors-3-0-0.lock -37 verbose already installed skipping grunt-npmcopy@0.1.0 /Users/barisaydinoglu/Projects/Detectizr -38 verbose already installed skipping gzip-js@0.3.2 /Users/barisaydinoglu/Projects/Detectizr -39 verbose cache add [ 'load-grunt-tasks@3.2.0', null ] -40 verbose cache add name=undefined spec="load-grunt-tasks@3.2.0" args=["load-grunt-tasks@3.2.0",null] -41 verbose parsed url { protocol: null, -41 verbose parsed url slashes: null, -41 verbose parsed url auth: null, -41 verbose parsed url host: null, -41 verbose parsed url port: null, -41 verbose parsed url hostname: null, -41 verbose parsed url hash: null, -41 verbose parsed url search: null, -41 verbose parsed url query: null, -41 verbose parsed url pathname: 'load-grunt-tasks@3.2.0', -41 verbose parsed url path: 'load-grunt-tasks@3.2.0', -41 verbose parsed url href: 'load-grunt-tasks@3.2.0' } -42 verbose already installed skipping qunitjs@1.17.1 /Users/barisaydinoglu/Projects/Detectizr -43 verbose already installed skipping q@1.1.2 /Users/barisaydinoglu/Projects/Detectizr -44 verbose cache add name="load-grunt-tasks" spec="3.2.0" args=["load-grunt-tasks","3.2.0"] -45 verbose parsed url { protocol: null, -45 verbose parsed url slashes: null, -45 verbose parsed url auth: null, -45 verbose parsed url host: null, -45 verbose parsed url port: null, -45 verbose parsed url hostname: null, -45 verbose parsed url hash: null, -45 verbose parsed url search: null, -45 verbose parsed url query: null, -45 verbose parsed url pathname: '3.2.0', -45 verbose parsed url path: '3.2.0', -45 verbose parsed url href: '3.2.0' } -46 verbose addNamed [ 'load-grunt-tasks', '3.2.0' ] -47 verbose addNamed [ '3.2.0', '3.2.0' ] -48 silly lockFile 495e6301-load-grunt-tasks-3-2-0 load-grunt-tasks@3.2.0 -49 verbose lock load-grunt-tasks@3.2.0 /Users/barisaydinoglu/.npm/495e6301-load-grunt-tasks-3-2-0.lock -50 verbose already installed skipping requirejs@2.1.17 /Users/barisaydinoglu/Projects/Detectizr -51 verbose already installed skipping strip-json-comments@1.0.3 /Users/barisaydinoglu/Projects/Detectizr -52 verbose request where is /grunt-contrib-uglify -53 verbose request registry https://registry.npmjs.org/ -54 verbose request id 5ecaf46a7f3d1e04 -55 verbose url raw /grunt-contrib-uglify -56 verbose url resolving [ 'https://registry.npmjs.org/', './grunt-contrib-uglify' ] -57 verbose url resolved https://registry.npmjs.org/grunt-contrib-uglify -58 verbose request where is https://registry.npmjs.org/grunt-contrib-uglify -59 info trying registry request attempt 1 at 00:07:38 -60 verbose etag "2LV4EDDE2PK7BTAYQVOQ4YLGZ" -61 http GET https://registry.npmjs.org/grunt-contrib-uglify -62 verbose already installed skipping grunt@0.4.5 /Users/barisaydinoglu/Projects/Detectizr -63 verbose already installed skipping grunt-cli@0.1.13 /Users/barisaydinoglu/Projects/Detectizr -64 verbose already installed skipping grunt-compare-size@0.4.0 /Users/barisaydinoglu/Projects/Detectizr -65 verbose cache add [ 'grunt-contrib-jshin@0.11.2', null ] -66 verbose cache add name=undefined spec="grunt-contrib-jshin@0.11.2" args=["grunt-contrib-jshin@0.11.2",null] -67 verbose parsed url { protocol: null, -67 verbose parsed url slashes: null, -67 verbose parsed url auth: null, -67 verbose parsed url host: null, -67 verbose parsed url port: null, -67 verbose parsed url hostname: null, -67 verbose parsed url hash: null, -67 verbose parsed url search: null, -67 verbose parsed url query: null, -67 verbose parsed url pathname: 'grunt-contrib-jshin@0.11.2', -67 verbose parsed url path: 'grunt-contrib-jshin@0.11.2', -67 verbose parsed url href: 'grunt-contrib-jshin@0.11.2' } -68 verbose request where is /grunt-contrib-qunit -69 verbose request registry https://registry.npmjs.org/ -70 verbose url raw /grunt-contrib-qunit -71 verbose url resolving [ 'https://registry.npmjs.org/', './grunt-contrib-qunit' ] -72 verbose url resolved https://registry.npmjs.org/grunt-contrib-qunit -73 verbose request where is https://registry.npmjs.org/grunt-contrib-qunit -74 info trying registry request attempt 1 at 00:07:38 -75 verbose etag "GMFP7SL0QP5DHSQYEZEBZWI2" -76 http GET https://registry.npmjs.org/grunt-contrib-qunit -77 verbose request where is /grunt-git-authors -78 verbose request registry https://registry.npmjs.org/ -79 verbose url raw /grunt-git-authors -80 verbose url resolving [ 'https://registry.npmjs.org/', './grunt-git-authors' ] -81 verbose url resolved https://registry.npmjs.org/grunt-git-authors -82 verbose request where is https://registry.npmjs.org/grunt-git-authors -83 info trying registry request attempt 1 at 00:07:38 -84 verbose etag "6DRYYOF46DAGIPSE1KQCG89DY" -85 http GET https://registry.npmjs.org/grunt-git-authors -86 verbose request where is /load-grunt-tasks -87 verbose request registry https://registry.npmjs.org/ -88 verbose url raw /load-grunt-tasks -89 verbose url resolving [ 'https://registry.npmjs.org/', './load-grunt-tasks' ] -90 verbose url resolved https://registry.npmjs.org/load-grunt-tasks -91 verbose request where is https://registry.npmjs.org/load-grunt-tasks -92 info trying registry request attempt 1 at 00:07:38 -93 verbose etag "6VMZ5B7CMXFJSLCEDECG18HXW" -94 http GET https://registry.npmjs.org/load-grunt-tasks -95 verbose cache add name="grunt-contrib-jshin" spec="0.11.2" args=["grunt-contrib-jshin","0.11.2"] -96 verbose parsed url { protocol: null, -96 verbose parsed url slashes: null, -96 verbose parsed url auth: null, -96 verbose parsed url host: null, -96 verbose parsed url port: null, -96 verbose parsed url hostname: null, -96 verbose parsed url hash: null, -96 verbose parsed url search: null, -96 verbose parsed url query: null, -96 verbose parsed url pathname: '0.11.2', -96 verbose parsed url path: '0.11.2', -96 verbose parsed url href: '0.11.2' } -97 verbose addNamed [ 'grunt-contrib-jshin', '0.11.2' ] -98 verbose addNamed [ '0.11.2', '0.11.2' ] -99 silly lockFile 8f4477b6-grunt-contrib-jshin-0-11-2 grunt-contrib-jshin@0.11.2 -100 verbose lock grunt-contrib-jshin@0.11.2 /Users/barisaydinoglu/.npm/8f4477b6-grunt-contrib-jshin-0-11-2.lock -101 verbose request where is /grunt-contrib-jshin -102 verbose request registry https://registry.npmjs.org/ -103 verbose url raw /grunt-contrib-jshin -104 verbose url resolving [ 'https://registry.npmjs.org/', './grunt-contrib-jshin' ] -105 verbose url resolved https://registry.npmjs.org/grunt-contrib-jshin -106 verbose request where is https://registry.npmjs.org/grunt-contrib-jshin -107 info trying registry request attempt 1 at 00:07:40 -108 http GET https://registry.npmjs.org/grunt-contrib-jshin -109 http 304 https://registry.npmjs.org/load-grunt-tasks -110 silly registry.get cb [ 304, -110 silly registry.get { date: 'Wed, 02 Sep 2015 21:07:40 GMT', -110 silly registry.get via: '1.1 varnish', -110 silly registry.get 'cache-control': 'max-age=60', -110 silly registry.get etag: '"6VMZ5B7CMXFJSLCEDECG18HXW"', -110 silly registry.get age: '52', -110 silly registry.get connection: 'keep-alive', -110 silly registry.get 'x-served-by': 'cache-fra1245-FRA', -110 silly registry.get 'x-cache': 'HIT', -110 silly registry.get 'x-cache-hits': '1', -110 silly registry.get 'x-timer': 'S1441228060.446588,VS0,VE0', -110 silly registry.get vary: 'Accept' } ] -111 verbose etag https://registry.npmjs.org/load-grunt-tasks from cache -112 silly lockFile 1ab96274-tasks-load-grunt-tasks-3-2-0-tgz https://registry.npmjs.org/load-grunt-tasks/-/load-grunt-tasks-3.2.0.tgz -113 verbose lock https://registry.npmjs.org/load-grunt-tasks/-/load-grunt-tasks-3.2.0.tgz /Users/barisaydinoglu/.npm/1ab96274-tasks-load-grunt-tasks-3-2-0-tgz.lock -114 verbose addRemoteTarball [ 'https://registry.npmjs.org/load-grunt-tasks/-/load-grunt-tasks-3.2.0.tgz', -114 verbose addRemoteTarball '25fe7e414ba0645a752bb06f52491b422332036f' ] -115 info retry fetch attempt 1 at 00:07:40 -116 verbose fetch to= /tmp/npm-25816-aeZJHLjH/registry.npmjs.org/load-grunt-tasks/-/load-grunt-tasks-3.2.0.tgz -117 http GET https://registry.npmjs.org/load-grunt-tasks/-/load-grunt-tasks-3.2.0.tgz -118 http 304 https://registry.npmjs.org/grunt-contrib-uglify -119 silly registry.get cb [ 304, -119 silly registry.get { date: 'Wed, 02 Sep 2015 21:07:40 GMT', -119 silly registry.get via: '1.1 varnish', -119 silly registry.get 'cache-control': 'max-age=60', -119 silly registry.get etag: '"2LV4EDDE2PK7BTAYQVOQ4YLGZ"', -119 silly registry.get age: '53', -119 silly registry.get connection: 'keep-alive', -119 silly registry.get 'x-served-by': 'cache-fra1221-FRA', -119 silly registry.get 'x-cache': 'HIT', -119 silly registry.get 'x-cache-hits': '1', -119 silly registry.get 'x-timer': 'S1441228060.472121,VS0,VE0', -119 silly registry.get vary: 'Accept' } ] -120 verbose etag https://registry.npmjs.org/grunt-contrib-uglify from cache -121 silly lockFile 3174881f-y-grunt-contrib-uglify-0-9-2-tgz https://registry.npmjs.org/grunt-contrib-uglify/-/grunt-contrib-uglify-0.9.2.tgz -122 verbose lock https://registry.npmjs.org/grunt-contrib-uglify/-/grunt-contrib-uglify-0.9.2.tgz /Users/barisaydinoglu/.npm/3174881f-y-grunt-contrib-uglify-0-9-2-tgz.lock -123 verbose addRemoteTarball [ 'https://registry.npmjs.org/grunt-contrib-uglify/-/grunt-contrib-uglify-0.9.2.tgz', -123 verbose addRemoteTarball '1a61c6f212410e4abb4f7c89153717b101560260' ] -124 info retry fetch attempt 1 at 00:07:40 -125 verbose fetch to= /tmp/npm-25816-aeZJHLjH/registry.npmjs.org/grunt-contrib-uglify/-/grunt-contrib-uglify-0.9.2.tgz -126 http GET https://registry.npmjs.org/grunt-contrib-uglify/-/grunt-contrib-uglify-0.9.2.tgz -127 http 304 https://registry.npmjs.org/grunt-git-authors -128 silly registry.get cb [ 304, -128 silly registry.get { date: 'Wed, 02 Sep 2015 21:07:40 GMT', -128 silly registry.get via: '1.1 varnish', -128 silly registry.get 'cache-control': 'max-age=60', -128 silly registry.get etag: '"6DRYYOF46DAGIPSE1KQCG89DY"', -128 silly registry.get age: '0', -128 silly registry.get connection: 'keep-alive', -128 silly registry.get 'x-served-by': 'cache-fra1226-FRA', -128 silly registry.get 'x-cache': 'HIT', -128 silly registry.get 'x-cache-hits': '1', -128 silly registry.get 'x-timer': 'S1441228060.436966,VS0,VE101', -128 silly registry.get vary: 'Accept' } ] -129 verbose etag https://registry.npmjs.org/grunt-git-authors from cache -130 silly lockFile 7470cd16-hors-grunt-git-authors-3-0-0-tgz https://registry.npmjs.org/grunt-git-authors/-/grunt-git-authors-3.0.0.tgz -131 verbose lock https://registry.npmjs.org/grunt-git-authors/-/grunt-git-authors-3.0.0.tgz /Users/barisaydinoglu/.npm/7470cd16-hors-grunt-git-authors-3-0-0-tgz.lock -132 verbose addRemoteTarball [ 'https://registry.npmjs.org/grunt-git-authors/-/grunt-git-authors-3.0.0.tgz', -132 verbose addRemoteTarball '3aee83b3bb799a330e3434f10e51f40189a25222' ] -133 info retry fetch attempt 1 at 00:07:40 -134 verbose fetch to= /tmp/npm-25816-aeZJHLjH/registry.npmjs.org/grunt-git-authors/-/grunt-git-authors-3.0.0.tgz -135 http GET https://registry.npmjs.org/grunt-git-authors/-/grunt-git-authors-3.0.0.tgz -136 http 200 https://registry.npmjs.org/grunt-contrib-qunit -137 silly registry.get cb [ 200, -137 silly registry.get { server: 'CouchDB/1.5.0 (Erlang OTP/R16B03)', -137 silly registry.get etag: '"5M6YV3ELI2VW35CIIIM5M43RV"', -137 silly registry.get 'content-type': 'application/json', -137 silly registry.get 'cache-control': 'max-age=60', -137 silly registry.get 'content-length': '35575', -137 silly registry.get 'accept-ranges': 'bytes', -137 silly registry.get date: 'Wed, 02 Sep 2015 21:07:41 GMT', -137 silly registry.get via: '1.1 varnish', -137 silly registry.get age: '0', -137 silly registry.get connection: 'keep-alive', -137 silly registry.get 'x-served-by': 'cache-fra1247-FRA', -137 silly registry.get 'x-cache': 'HIT', -137 silly registry.get 'x-cache-hits': '1', -137 silly registry.get 'x-timer': 'S1441228060.448006,VS0,VE755', -137 silly registry.get vary: 'Accept' } ] -138 silly lockFile 5b6a30f5-it-grunt-contrib-qunit-0-7-0-tgz https://registry.npmjs.org/grunt-contrib-qunit/-/grunt-contrib-qunit-0.7.0.tgz -139 verbose lock https://registry.npmjs.org/grunt-contrib-qunit/-/grunt-contrib-qunit-0.7.0.tgz /Users/barisaydinoglu/.npm/5b6a30f5-it-grunt-contrib-qunit-0-7-0-tgz.lock -140 verbose addRemoteTarball [ 'https://registry.npmjs.org/grunt-contrib-qunit/-/grunt-contrib-qunit-0.7.0.tgz', -140 verbose addRemoteTarball '62a69a36ff0d11e1ca8712090b9e50b775b8f825' ] -141 info retry fetch attempt 1 at 00:07:42 -142 verbose fetch to= /tmp/npm-25816-aeZJHLjH/registry.npmjs.org/grunt-contrib-qunit/-/grunt-contrib-qunit-0.7.0.tgz -143 http GET https://registry.npmjs.org/grunt-contrib-qunit/-/grunt-contrib-qunit-0.7.0.tgz -144 http 200 https://registry.npmjs.org/grunt-git-authors/-/grunt-git-authors-3.0.0.tgz -145 http 200 https://registry.npmjs.org/load-grunt-tasks/-/load-grunt-tasks-3.2.0.tgz -146 http 200 https://registry.npmjs.org/grunt-contrib-uglify/-/grunt-contrib-uglify-0.9.2.tgz -147 http 200 https://registry.npmjs.org/grunt-contrib-qunit/-/grunt-contrib-qunit-0.7.0.tgz -148 silly lockFile 7470cd16-hors-grunt-git-authors-3-0-0-tgz https://registry.npmjs.org/grunt-git-authors/-/grunt-git-authors-3.0.0.tgz -149 silly lockFile 7470cd16-hors-grunt-git-authors-3-0-0-tgz https://registry.npmjs.org/grunt-git-authors/-/grunt-git-authors-3.0.0.tgz -150 silly lockFile a6bf5afd-grunt-git-authors-3-0-0 grunt-git-authors@3.0.0 -151 silly lockFile a6bf5afd-grunt-git-authors-3-0-0 grunt-git-authors@3.0.0 -152 silly lockFile 1ab96274-tasks-load-grunt-tasks-3-2-0-tgz https://registry.npmjs.org/load-grunt-tasks/-/load-grunt-tasks-3.2.0.tgz -153 silly lockFile 1ab96274-tasks-load-grunt-tasks-3-2-0-tgz https://registry.npmjs.org/load-grunt-tasks/-/load-grunt-tasks-3.2.0.tgz -154 silly lockFile 495e6301-load-grunt-tasks-3-2-0 load-grunt-tasks@3.2.0 -155 silly lockFile 495e6301-load-grunt-tasks-3-2-0 load-grunt-tasks@3.2.0 -156 silly lockFile 3174881f-y-grunt-contrib-uglify-0-9-2-tgz https://registry.npmjs.org/grunt-contrib-uglify/-/grunt-contrib-uglify-0.9.2.tgz -157 silly lockFile 3174881f-y-grunt-contrib-uglify-0-9-2-tgz https://registry.npmjs.org/grunt-contrib-uglify/-/grunt-contrib-uglify-0.9.2.tgz -158 silly lockFile 42275d04-grunt-contrib-uglify-0-9-2 grunt-contrib-uglify@0.9.2 -159 silly lockFile 42275d04-grunt-contrib-uglify-0-9-2 grunt-contrib-uglify@0.9.2 -160 silly lockFile 5b6a30f5-it-grunt-contrib-qunit-0-7-0-tgz https://registry.npmjs.org/grunt-contrib-qunit/-/grunt-contrib-qunit-0.7.0.tgz -161 silly lockFile 5b6a30f5-it-grunt-contrib-qunit-0-7-0-tgz https://registry.npmjs.org/grunt-contrib-qunit/-/grunt-contrib-qunit-0.7.0.tgz -162 silly lockFile b3b30a4c-grunt-contrib-qunit-0-7-0 grunt-contrib-qunit@0.7.0 -163 silly lockFile b3b30a4c-grunt-contrib-qunit-0-7-0 grunt-contrib-qunit@0.7.0 -164 http 404 https://registry.npmjs.org/grunt-contrib-jshin -165 silly registry.get cb [ 404, -165 silly registry.get { 'content-type': 'application/json', -165 silly registry.get 'cache-control': 'max-age=0', -165 silly registry.get 'content-length': '2', -165 silly registry.get 'accept-ranges': 'bytes', -165 silly registry.get date: 'Wed, 02 Sep 2015 21:07:43 GMT', -165 silly registry.get via: '1.1 varnish', -165 silly registry.get age: '0', -165 silly registry.get connection: 'keep-alive', -165 silly registry.get 'x-served-by': 'cache-fra1239-FRA', -165 silly registry.get 'x-cache': 'MISS', -165 silly registry.get 'x-cache-hits': '0', -165 silly registry.get 'x-timer': 'S1441228062.639356,VS0,VE426' } ] -166 silly lockFile 8f4477b6-grunt-contrib-jshin-0-11-2 grunt-contrib-jshin@0.11.2 -167 silly lockFile 8f4477b6-grunt-contrib-jshin-0-11-2 grunt-contrib-jshin@0.11.2 -168 error 404 Not Found -168 error 404 -168 error 404 'grunt-contrib-jshin' is not in the npm registry. -168 error 404 You should bug the author to publish it -168 error 404 It was specified as a dependency of 'detectizr' -168 error 404 -168 error 404 Note that you can also install from a -168 error 404 tarball, folder, or http url, or git url. -169 error System Darwin 14.5.0 -170 error command "node" "/usr/local/bin/npm" "install" -171 error cwd /Users/barisaydinoglu/Projects/Detectizr -172 error node -v v0.10.35 -173 error npm -v 1.4.28 -174 error code E404 -175 verbose exit [ 1, true ] diff --git a/src/detectizr.js b/src/detectizr.js index b26df00..c4b818d 100644 --- a/src/detectizr.js +++ b/src/detectizr.js @@ -441,6 +441,9 @@ window.Detectizr = (function(window, navigator, document, undefined) { } else { setVersion(browser, (test(/trident\/4\.0/) ? "8" : RegExp.$1)); } + } else if (test(/iceweasel/)){ + browser.name = "iceweasel"; + browser.engine = "gecko"; } else if (is("firefox")) { browser.engine = "gecko"; browser.name = "firefox"; @@ -463,6 +466,7 @@ window.Detectizr = (function(window, navigator, document, undefined) { setVersion(browser, (test(/chrome\/([\d\.]+)/) ? RegExp.$1 : "")); } else if (test(/epiphany/)) { browser.name = "epiphany"; + browser.engine = "webkitgtk"; } else if (is("iron")) { browser.engine = "webkit"; browser.name = "iron"; @@ -470,6 +474,9 @@ window.Detectizr = (function(window, navigator, document, undefined) { browser.name = "chrome"; browser.engine = "webkit"; setVersion(browser, (test(/crios\/([\d\.]+)/) ? RegExp.$1 : "")); + } else if (test(/midori/)) { + browser.name = "midori"; + browser.engine = "webkit"; } else if (is("applewebkit/")) { browser.name = "safari"; browser.engine = "webkit"; From 6a26008434e91f15466f097300424b7439a9b206 Mon Sep 17 00:00:00 2001 From: Elliott Hauser Date: Tue, 26 Jul 2016 16:07:53 +0000 Subject: [PATCH 5/6] Better detection & minified build --- dist/detectizr.js | 16 ++++++++-------- dist/detectizr.min.js | 2 +- dist/detectizr.min.map | 2 +- src/detectizr.js | 14 +++++++------- 4 files changed, 17 insertions(+), 17 deletions(-) diff --git a/dist/detectizr.js b/dist/detectizr.js index 7f34ba7..c7fa104 100644 --- a/dist/detectizr.js +++ b/dist/detectizr.js @@ -5,7 +5,7 @@ * Written by Baris Aydinoglu (http://baris.aydinoglu.info) - Copyright 2012 * Released under the MIT license * - * Date: 2016-07-26T13:38Z + * Date: 2016-07-26T13:51Z */ window.Detectizr = (function(window, navigator, document, undefined) { var Detectizr = {}, @@ -441,9 +441,15 @@ window.Detectizr = (function(window, navigator, document, undefined) { } else { setVersion(browser, (test(/trident\/4\.0/) ? "8" : RegExp.$1)); } - } else if (test(/iceweasel/)){ + } else if (test(/epiphany/)) { + browser.name = "epiphany"; + browser.engine = "webkitgtk"; + } else if (test(/iceweasel/)) { browser.name = "iceweasel"; browser.engine = "gecko"; + } else if (test(/midori/)) { + browser.name = "midori"; + browser.engine = "webkit"; } else if (is("firefox")) { browser.engine = "gecko"; browser.name = "firefox"; @@ -464,9 +470,6 @@ window.Detectizr = (function(window, navigator, document, undefined) { browser.engine = "webkit"; browser.name = "chrome"; setVersion(browser, (test(/chrome\/([\d\.]+)/) ? RegExp.$1 : "")); - } else if (test(/epiphany/)) { - browser.name = "epiphany"; - browser.engine = "webkitgtk"; } else if (is("iron")) { browser.engine = "webkit"; browser.name = "iron"; @@ -474,9 +477,6 @@ window.Detectizr = (function(window, navigator, document, undefined) { browser.name = "chrome"; browser.engine = "webkit"; setVersion(browser, (test(/crios\/([\d\.]+)/) ? RegExp.$1 : "")); - } else if (test(/midori/)) { - browser.name = "midori"; - browser.engine = "webkit"; } else if (is("applewebkit/")) { browser.name = "safari"; browser.engine = "webkit"; diff --git a/dist/detectizr.min.js b/dist/detectizr.min.js index 3e26217..3a0d685 100644 --- a/dist/detectizr.min.js +++ b/dist/detectizr.min.js @@ -1,3 +1,3 @@ /*! Detectizr v2.2.0 | (c) 2012 Baris Aydinoglu | Licensed */ -window.Detectizr=function(a,b,c,d){var e={},f=a.Modernizr,g=["tv","tablet","mobile","desktop"],h={addAllFeaturesAsClass:!1,detectDevice:!0,detectDeviceModel:!0,detectScreen:!0,detectOS:!0,detectBrowser:!0,detectPlugins:!0},i=[{name:"adobereader",substrs:["Adobe","Acrobat"],progIds:["AcroPDF.PDF","PDF.PDFCtrl.5"]},{name:"flash",substrs:["Shockwave Flash"],progIds:["ShockwaveFlash.ShockwaveFlash.1"]},{name:"wmplayer",substrs:["Windows Media"],progIds:["wmplayer.ocx"]},{name:"silverlight",substrs:["Silverlight"],progIds:["AgControl.AgControl"]},{name:"quicktime",substrs:["QuickTime"],progIds:["QuickTime.QuickTime"]}],j=/[\t\r\n]/g,k=c.documentElement,l,m;function n(a,b){var c,d,e;if(arguments.length>2)for(c=1,d=arguments.length;c-1}function p(a){return a.test(e.browser.userAgent)}function q(a){return a.exec(e.browser.userAgent)}function r(a){return a.replace(/^\s+|\s+$/g,"")}function s(a){return null===a||a===d?"":String(a).replace(/((\s|\-|\.)+[a-z0-9])/g,function(a){return a.toUpperCase().replace(/(\s|\-|\.)/g,"")})}function t(a,b){var c=b||"",d=1===a.nodeType&&(a.className?(" "+a.className+" ").replace(j," "):"");if(d){while(d.indexOf(" "+c+" ")>=0)d=d.replace(" "+c+" "," ");a.className=b?r(d):""}}function u(a,b,c){a&&(a=s(a),b&&(b=s(b),v(a+b,!0),c&&v(a+b+"_"+c,!0)))}function v(a,b){a&&f&&(h.addAllFeaturesAsClass?f.addTest(a,b):(b="function"==typeof b?b():b,b?f.addTest(a,!0):(delete f[a],t(k,a))))}function w(a,b){a.version=b;var c=b.split(".");c.length>0?(c=c.reverse(),a.major=c.pop(),c.length>0?(a.minor=c.pop(),c.length>0?(c=c.reverse(),a.patch=c.join(".")):a.patch="0"):a.minor="0"):a.major="0"}function x(){a.clearTimeout(l),l=a.setTimeout(function(){m=e.device.orientation,a.innerHeight>a.innerWidth?e.device.orientation="portrait":e.device.orientation="landscape",v(e.device.orientation,!0),m!==e.device.orientation&&v(m,!1)},10)}function y(a){var c=b.plugins,d,e,f,g,h;for(g=c.length-1;g>=0;g--){for(d=c[g],e=d.name+d.description,f=0,h=a.length;h>=0;h--)e.indexOf(a[h])!==-1&&(f+=1);if(f===a.length)return!0}return!1}function z(a){var b;for(b=a.length-1;b>=0;b--)try{new ActiveXObject(a[b])}catch(c){}return!1}function A(d){var j,k,l,m,r,t,A;if(h=n({},h,d||{}),h.detectDevice){for(e.device={type:"",model:"",orientation:""},l=e.device,p(/googletv|smarttv|smart-tv|internet.tv|netcast|nettv|appletv|boxee|kylo|roku|dlnadoc|roku|pov_tv|hbbtv|ce\-html/)?(l.type=g[0],l.model="smartTv"):p(/xbox|playstation.3|wii/)?(l.type=g[0],l.model="gameConsole"):p(/ip(a|ro)d/)?(l.type=g[1],l.model="ipad"):p(/tablet/)&&!p(/rx-34/)&&!p(/shield/)||p(/folio/)?(l.type=g[1],l.model=String(q(/playbook/)||"")):p(/linux/)&&p(/android/)&&!p(/fennec|mobi|htc.magic|htcX06ht|nexus.one|sc-02b|fone.945/)?(l.type=g[1],l.model="android"):p(/kindle/)||p(/mac.os/)&&p(/silk/)?(l.type=g[1],l.model="kindle"):p(/gt-p10|sc-01c|shw-m180s|sgh-t849|sch-i800|shw-m180l|sph-p100|sgh-i987|zt180|htc(.flyer|\_flyer)|sprint.atp51|viewpad7|pandigital(sprnova|nova)|ideos.s7|dell.streak.7|advent.vega|a101it|a70bht|mid7015|next2|nook/)||p(/mb511/)&&p(/rutem/)?(l.type=g[1],l.model="android"):p(/bb10/)?(l.type=g[2],l.model="blackberry"):(l.model=q(/iphone|ipod|android|blackberry|opera mini|opera mobi|skyfire|maemo|windows phone|palm|iemobile|symbian|symbianos|fennec|j2me/),null!==l.model?(l.type=g[2],l.model=String(l.model)):(l.model="",p(/bolt|fennec|iris|maemo|minimo|mobi|mowser|netfront|novarra|prism|rx-34|skyfire|tear|xv6875|xv6975|google.wireless.transcoder/)?l.type=g[2]:p(/opera/)&&p(/windows.nt.5/)&&p(/htc|xda|mini|vario|samsung\-gt\-i8000|samsung\-sgh\-i9/)?l.type=g[2]:p(/windows.(nt|xp|me|9)/)&&!p(/phone/)||p(/win(9|.9|nt)/)||p(/\(windows 8\)/)?l.type=g[3]:p(/macintosh|powerpc/)&&!p(/silk/)?(l.type=g[3],l.model="mac"):p(/linux/)&&p(/x11/)?l.type=g[3]:p(/solaris|sunos|bsd/)?l.type=g[3]:p(/cros/)?(l.type=g[3],l.model="chromebook"):p(/bot|crawler|spider|yahoo|ia_archiver|covario-ids|findlinks|dataparksearch|larbin|mediapartners-google|ng-search|snappy|teoma|jeeves|tineye/)&&!p(/mobile/)?(l.type=g[3],l.model="crawler"):l.type=g[2])),j=0,k=g.length;j=0;j--)t=i[j],A=!1,a.ActiveXObject?A=z(t.progIds):b.plugins&&(A=y(t.substrs)),A&&(r.plugins.push(t.name),v(t.name,!0));"function"==typeof b.javaEnabled&&b.javaEnabled()&&(r.plugins.push("java"),v("java",!0))}}return e.detect=function(a){return A(a)},e.init=function(){e!==d&&(e.browser={userAgent:(b.userAgent||b.vendor||a.opera||"").toLowerCase()},e.detect())},e.init(),e}(this,this.navigator,this.document); +window.Detectizr=function(a,b,c,d){var e={},f=a.Modernizr,g=["tv","tablet","mobile","desktop"],h={addAllFeaturesAsClass:!1,detectDevice:!0,detectDeviceModel:!0,detectScreen:!0,detectOS:!0,detectBrowser:!0,detectPlugins:!0},i=[{name:"adobereader",substrs:["Adobe","Acrobat"],progIds:["AcroPDF.PDF","PDF.PDFCtrl.5"]},{name:"flash",substrs:["Shockwave Flash"],progIds:["ShockwaveFlash.ShockwaveFlash.1"]},{name:"wmplayer",substrs:["Windows Media"],progIds:["wmplayer.ocx"]},{name:"silverlight",substrs:["Silverlight"],progIds:["AgControl.AgControl"]},{name:"quicktime",substrs:["QuickTime"],progIds:["QuickTime.QuickTime"]}],j=/[\t\r\n]/g,k=c.documentElement,l,m;function n(a,b){var c,d,e;if(arguments.length>2)for(c=1,d=arguments.length;c-1}function p(a){return a.test(e.browser.userAgent)}function q(a){return a.exec(e.browser.userAgent)}function r(a){return a.replace(/^\s+|\s+$/g,"")}function s(a){return null===a||a===d?"":String(a).replace(/((\s|\-|\.)+[a-z0-9])/g,function(a){return a.toUpperCase().replace(/(\s|\-|\.)/g,"")})}function t(a,b){var c=b||"",d=1===a.nodeType&&(a.className?(" "+a.className+" ").replace(j," "):"");if(d){while(d.indexOf(" "+c+" ")>=0)d=d.replace(" "+c+" "," ");a.className=b?r(d):""}}function u(a,b,c){a&&(a=s(a),b&&(b=s(b),v(a+b,!0),c&&v(a+b+"_"+c,!0)))}function v(a,b){a&&f&&(h.addAllFeaturesAsClass?f.addTest(a,b):(b="function"==typeof b?b():b,b?f.addTest(a,!0):(delete f[a],t(k,a))))}function w(a,b){a.version=b;var c=b.split(".");c.length>0?(c=c.reverse(),a.major=c.pop(),c.length>0?(a.minor=c.pop(),c.length>0?(c=c.reverse(),a.patch=c.join(".")):a.patch="0"):a.minor="0"):a.major="0"}function x(){a.clearTimeout(l),l=a.setTimeout(function(){m=e.device.orientation,a.innerHeight>a.innerWidth?e.device.orientation="portrait":e.device.orientation="landscape",v(e.device.orientation,!0),m!==e.device.orientation&&v(m,!1)},10)}function y(a){var c=b.plugins,d,e,f,g,h;for(g=c.length-1;g>=0;g--){for(d=c[g],e=d.name+d.description,f=0,h=a.length;h>=0;h--)e.indexOf(a[h])!==-1&&(f+=1);if(f===a.length)return!0}return!1}function z(a){var b;for(b=a.length-1;b>=0;b--)try{new ActiveXObject(a[b])}catch(c){}return!1}function A(d){var j,k,l,m,r,t,A;if(h=n({},h,d||{}),h.detectDevice){for(e.device={type:"",model:"",orientation:""},l=e.device,p(/googletv|smarttv|smart-tv|internet.tv|netcast|nettv|appletv|boxee|kylo|roku|dlnadoc|roku|pov_tv|hbbtv|ce\-html/)?(l.type=g[0],l.model="smartTv"):p(/xbox|playstation.3|wii/)?(l.type=g[0],l.model="gameConsole"):p(/ip(a|ro)d/)?(l.type=g[1],l.model="ipad"):p(/tablet/)&&!p(/rx-34/)&&!p(/shield/)||p(/folio/)?(l.type=g[1],l.model=String(q(/playbook/)||"")):p(/linux/)&&p(/android/)&&!p(/fennec|mobi|htc.magic|htcX06ht|nexus.one|sc-02b|fone.945/)?(l.type=g[1],l.model="android"):p(/kindle/)||p(/mac.os/)&&p(/silk/)?(l.type=g[1],l.model="kindle"):p(/gt-p10|sc-01c|shw-m180s|sgh-t849|sch-i800|shw-m180l|sph-p100|sgh-i987|zt180|htc(.flyer|\_flyer)|sprint.atp51|viewpad7|pandigital(sprnova|nova)|ideos.s7|dell.streak.7|advent.vega|a101it|a70bht|mid7015|next2|nook/)||p(/mb511/)&&p(/rutem/)?(l.type=g[1],l.model="android"):p(/bb10/)?(l.type=g[2],l.model="blackberry"):(l.model=q(/iphone|ipod|android|blackberry|opera mini|opera mobi|skyfire|maemo|windows phone|palm|iemobile|symbian|symbianos|fennec|j2me/),null!==l.model?(l.type=g[2],l.model=String(l.model)):(l.model="",p(/bolt|fennec|iris|maemo|minimo|mobi|mowser|netfront|novarra|prism|rx-34|skyfire|tear|xv6875|xv6975|google.wireless.transcoder/)?l.type=g[2]:p(/opera/)&&p(/windows.nt.5/)&&p(/htc|xda|mini|vario|samsung\-gt\-i8000|samsung\-sgh\-i9/)?l.type=g[2]:p(/windows.(nt|xp|me|9)/)&&!p(/phone/)||p(/win(9|.9|nt)/)||p(/\(windows 8\)/)?l.type=g[3]:p(/macintosh|powerpc/)&&!p(/silk/)?(l.type=g[3],l.model="mac"):p(/linux/)&&p(/x11/)?l.type=g[3]:p(/solaris|sunos|bsd/)?l.type=g[3]:p(/cros/)?(l.type=g[3],l.model="chromebook"):p(/bot|crawler|spider|yahoo|ia_archiver|covario-ids|findlinks|dataparksearch|larbin|mediapartners-google|ng-search|snappy|teoma|jeeves|tineye/)&&!p(/mobile/)?(l.type=g[3],l.model="crawler"):l.type=g[2])),j=0,k=g.length;j=0;j--)t=i[j],A=!1,a.ActiveXObject?A=z(t.progIds):b.plugins&&(A=y(t.substrs)),A&&(r.plugins.push(t.name),v(t.name,!0));"function"==typeof b.javaEnabled&&b.javaEnabled()&&(r.plugins.push("java"),v("java",!0))}}return e.detect=function(a){return A(a)},e.init=function(){e!==d&&(e.browser={userAgent:(b.userAgent||b.vendor||a.opera||"").toLowerCase()},e.detect())},e.init(),e}(this,this.navigator,this.document); //# sourceMappingURL=detectizr.min.map \ No newline at end of file diff --git a/dist/detectizr.min.map b/dist/detectizr.min.map index 8145aed..4f6bbf2 100644 --- a/dist/detectizr.min.map +++ b/dist/detectizr.min.map @@ -1 +1 @@ -{"version":3,"sources":["detectizr.js"],"names":["window","Detectizr","navigator","document","undefined","Modernizr","deviceTypes","options","addAllFeaturesAsClass","detectDevice","detectDeviceModel","detectScreen","detectOS","detectBrowser","detectPlugins","plugins2detect","name","substrs","progIds","rclass","docElement","documentElement","resizeTimeoutId","oldOrientation","extend","obj","extObj","a","b","i","arguments","length","hasOwnProperty","is","key","browser","userAgent","indexOf","test","regex","exec","trim","value","replace","toCamel","string","String","$1","toUpperCase","removeClass","element","class2remove","cur","nodeType","className","addVersionTest","version","major","minor","addConditionalTest","feature","addTest","setVersion","versionType","versionFull","versionArray","split","reverse","pop","patch","join","checkOrientation","clearTimeout","setTimeout","device","orientation","innerHeight","innerWidth","detectPlugin","plugins","plugin","haystack","pluginFoundText","j","k","description","detectObject","ActiveXObject","e","detect","opt","os","plugin2detect","pluginFound","type","model","screen","mq","size","resolution","onresize","event","RegExp","addressRegisterSize","engine","$2","addEventListener","documentMode","language","userLanguage","push","javaEnabled","settings","init","vendor","opera","toLowerCase","this"],"mappings":";AASAA,OAAOC,UAAa,SAASD,EAAQE,EAAWC,EAAUC,GACzD,GAAIH,MACHI,EAAYL,EAAOK,UACnBC,GAAe,KAAM,SAAU,SAAU,WACzCC,GAECC,uBAAuB,EAEvBC,cAAc,EAEdC,mBAAmB,EAEnBC,cAAc,EAEdC,UAAU,EAEVC,eAAe,EAEfC,eAAe,GAEhBC,IACCC,KAAM,cACNC,SAAU,QAAS,WAGnBC,SAAU,cAAe,mBAEzBF,KAAM,QACNC,SAAU,mBACVC,SAAU,qCAEVF,KAAM,WACNC,SAAU,iBACV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qB,EAAQ4C,WACHlD,EAAId,EAAegB,OAAS,EAAGF,GAAK,EAAGA,IAC3C+D,EAAgB7E,EAAec,GAC/BgE,GAAc,EACV7F,EAAOuF,cACVM,EAAcP,EAAaM,EAAc1E,SAC/BhB,EAAU6E,UACpBc,EAAcf,EAAac,EAAc3E,UAEtC4E,IACH1D,EAAQ4C,QAAQ+B,KAAKlB,EAAc5E,MACnC2C,EAAmBiC,EAAc5E,MAAM,GAGJ,mBAA1Bd,GAAU6G,aAA8B7G,EAAU6G,gBAC5D5E,EAAQ4C,QAAQ+B,KAAK,QACrBnD,EAAmB,QAAQ,KAiB9B,MAbA1D,GAAUwF,OAAS,SAASuB,GAC3B,MAAOvB,GAAOuB,IAEf/G,EAAUgH,KAAO,WACZhH,IAAcG,IACjBH,EAAUkC,SACTC,WAAYlC,EAAUkC,WAAalC,EAAUgH,QAAUlH,EAAOmH,OAAS,IAAIC,eAE5EnH,EAAUwF,WAGZxF,EAAUgH,OAEHhH,GACNoH,KAAMA,KAAKnH,UAAWmH,KAAKlH","file":"detectizr.min.js"} \ No newline at end of file +{"version":3,"sources":["detectizr.js"],"names":["window","Detectizr","navigator","document","undefined","Modernizr","deviceTypes","options","addAllFeaturesAsClass","detectDevice","detectDeviceModel","detectScreen","detectOS","detectBrowser","detectPlugins","plugins2detect","name","substrs","progIds","rclass","docElement","documentElement","resizeTimeoutId","oldOrientation","extend","obj","extObj","a","b","i","arguments","length","hasOwnProperty","is","key","browser","userAgent","indexOf","test","regex","exec","trim","value","replace","toCamel","string","String","$1","toUpperCase","removeClass","element","class2remove","cur","nodeType","className","addVersionTest","version","major","minor","addConditionalTest","feature","addTest","setVersion","versionType","versionFull","versionArray","split","reverse","pop","patch","join","checkOrientation","clearTimeout","setTimeout","device","orientation","innerHeight","innerWidth","detectPlugin","plugins","plugin","haystack","pluginFoundText","j","k","description","detectObject","ActiveXObject","e","detect","opt","os","plugin2detect","pluginFound","type","model","screen","mq","size","resolution","onresize","event","RegExp","addressRegisterSize","engine","$2","addEventListener","documentMode","language","userLanguage","push","javaEnabled","settings","init","vendor","opera","toLowerCase","this"],"mappings":";AASAA,OAAOC,UAAa,SAASD,EAAQE,EAAWC,EAAUC,GACzD,GAAIH,MACHI,EAAYL,EAAOK,UACnBC,GAAe,KAAM,SAAU,SAAU,WACzCC,GAECC,uBAAuB,EAEvBC,cAAc,EAEdC,mBAAmB,EAEnBC,cAAc,EAEdC,UAAU,EAEVC,eAAe,EAEfC,eAAe,GAEhBC,IACCC,KAAM,cACNC,SAAU,QAAS,WAGnBC,SAAU,cAAe,mBAEzBF,KAAM,QACNC,SAAU,mBACVC,SAAU,qCAEVF,KAAM,WACNC,SAAU,iBACVC,SAAU,kBAEVF,KAAM,cACNC,SAAU,eACVC,SAAU,yBAEVF,KAAM,YACNC,SAAU,aACVC,SAAU,yBAEXC,EAAS,YACTC,EAAajB,EAASkB,gBACtBC,EACAC,CAGD,SAASC,GAAOC,EAAKC,GACpB,GAAIC,GAAGC,EAAGC,CACV,IAAIC,UAAUC,OAAS,EACtB,IAAKJ,EAAI,EAAGC,EAAIE,UAAUC,OAAQJ,EAAIC,EAAGD,GAAK,EAC7CH,EAAOC,EAAKK,UAAUH,QAGvB,KAAKE,IAAKH,GACLA,EAAOM,eAAeH,KACzBJ,EAAII,GAAKH,EAAOG,GAInB,OAAOJ,GAIR,QAASQ,GAAGC,GACX,MAAOjC,GAAUkC,QAAQC,UAAUC,QAAQH,IAAO,EAInD,QAASI,GAAKC,GACb,MAAOA,GAAMD,KAAKrC,EAAUkC,QAAQC,WAIrC,QAASI,GAAKD,GACb,MAAOA,GAAMC,KAAKvC,EAAUkC,QAAQC,WAIrC,QAASK,GAAKC,GACb,MAAOA,GAAMC,QAAQ,aAAc,IAIpC,QAASC,GAAQC,GAChB,MAAe,QAAXA,GAAmBA,IAAWzC,EAC1B,GAED0C,OAAOD,GAAQF,QAAQ,yBAA0B,SAASI,GAChE,MAAOA,GAAGC,cAAcL,QAAQ,cAAe,MAKjD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end of file diff --git a/src/detectizr.js b/src/detectizr.js index c4b818d..99aae0b 100644 --- a/src/detectizr.js +++ b/src/detectizr.js @@ -441,9 +441,15 @@ window.Detectizr = (function(window, navigator, document, undefined) { } else { setVersion(browser, (test(/trident\/4\.0/) ? "8" : RegExp.$1)); } - } else if (test(/iceweasel/)){ + } else if (test(/epiphany/)) { + browser.name = "epiphany"; + browser.engine = "webkitgtk"; + } else if (test(/iceweasel/)) { browser.name = "iceweasel"; browser.engine = "gecko"; + } else if (test(/midori/)) { + browser.name = "midori"; + browser.engine = "webkit"; } else if (is("firefox")) { browser.engine = "gecko"; browser.name = "firefox"; @@ -464,9 +470,6 @@ window.Detectizr = (function(window, navigator, document, undefined) { browser.engine = "webkit"; browser.name = "chrome"; setVersion(browser, (test(/chrome\/([\d\.]+)/) ? RegExp.$1 : "")); - } else if (test(/epiphany/)) { - browser.name = "epiphany"; - browser.engine = "webkitgtk"; } else if (is("iron")) { browser.engine = "webkit"; browser.name = "iron"; @@ -474,9 +477,6 @@ window.Detectizr = (function(window, navigator, document, undefined) { browser.name = "chrome"; browser.engine = "webkit"; setVersion(browser, (test(/crios\/([\d\.]+)/) ? RegExp.$1 : "")); - } else if (test(/midori/)) { - browser.name = "midori"; - browser.engine = "webkit"; } else if (is("applewebkit/")) { browser.name = "safari"; browser.engine = "webkit"; From d39122a5cb9c944873e424065ae1ba3bfe8c4fd2 Mon Sep 17 00:00:00 2001 From: Elliott Hauser Date: Thu, 28 Jul 2016 16:21:02 +0000 Subject: [PATCH 6/6] Release 2.3.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 4abe2a3..6d38362 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "detectizr", "title": "Detectizr", "description": "Detectizr is a Modernizr extension to detect device, browser, operating system and screen.", - "version": "2.2.0", + "version": "2.3.0", "main": "dist/detectizr.js", "homepage": "https://github.com/barisaydinoglu/Detectizr", "author": {