PageSourceSearch

https://www.sippoku.jp/common_2017/js/support-util.min.js

js sippoku.jp collected 2026-10-04 05:20:29 UTC 3,384 bytes, 1 lines download raw bytes

1var $s={support:{transform3d:"undefined"!=typeof WebKitCSSMatrix&&(new WebKitCSSMatrix).hasOwnProperty("m41"),touch:"ontouchstart"in window,getComputedStyle:"getComputedStyle"in window,atob:"atob"in window,btoa:"btoa"in window,devicemotion:"ondevicemotion"in window,deviceorientation:"deviceorientation"in window,geolocation:"geolocation"in navigator,cookie:navigator.cookieEnabled},vendor:function(){var e={name:"",browser:"",prefix:"",transitionend:"transitionend",animationend:"animationend"},i=navigator,n=function(e){e=e.toLowerCase();var i=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:i[1]||"",version:i[2]||"0"}}(navigator.userAgent);switch(e.version=n.version,n.browser){case"chrome":e.name=i.vendor,e.browser="chrome",e.prefix="-webkit-",e.transitionend="webkitTransitionEnd",e.animationend="webkitAnimationEnd";break;case"webkit":e.name=i.vendor,e.browser="safari",e.prefix="-webkit-",e.transitionend="webkitTransitionEnd",e.animationend="webkitAnimationEnd";break;case"opera":e.name="Opera",e.browser="opera",e.prefix="-o-",e.transitionend="oTransitionEnd",e.animationend="oAnimationEnd";break;case"msie":e.name="Microsoft",e.browser="ie",e.prefix="-ms-",e.transitionend="MSTransitionEnd",e.animationend="MSAnimationEnd";break;case"mozilla":e.name="Mozilla",e.browser="Firefox",e.prefix="-moz-",e.transitionend="transitionend",e.animationend="animationend"}return e}(),flash:function(){var e={version:"",support:!1},i="";if(navigator.plugins&&navigator.mimeTypes["application/x-shockwave-flash"]){var n=navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin;n&&n.description&&(i=n.description.replace(/^[A-Za-z\s]+/,"").replace(/(\s+r|\s+b[0-9]+)/,"."))}else{var a="";try{var o=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");a=o.GetVariable("$version")}catch(e){try{o=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6"),a="WIN 6,0,21,0",o.AllowScriptAccess="always",a=o.GetVariable("$version")}catch(e){if(!a.match(/^WIN/))try{o=null,o=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3"),a=o.GetVariable("$version")}catch(e){if(o)a="WIN 3,0,18,0";else try{o=new ActiveXObject("ShockwaveFlash.ShockwaveFlash"),a="WIN 2,0,0,11"}catch(e){a="WIN 0,0,0"}}}}i=a.replace(/^WIN /,"").replace(/,[0-9]+$/,"").replace(/,/g,".")}return i.match(/^[0-9]+\.[0-9]+\.[0-9]+$/)&&"0,0,0"!==i&&(e.support=!0,e.version=i),e}(),device:function(){function e(e){var i=n.match(e);if(i&&i[1])return i[1]}var i={version:"",retina:!1,iPhone:!1,iPad:!1,android:!1,tablet:!1,androidTablet:!1,androidMobile:!1,windowsPhone:!1,blackberry:!1,mobile:!1,windows:!1,mac:!1},n=navigator.userAgent;return-1!==n.search(/Android/)?(i.mobile=-1!==n.search(/Mobile/),i.android=!0,i.mobile?i.androidMobile=!0:(i.androidTablet=!0,i.tablet=!0),i.version=e(/Android (.*?);/)):-1!==n.search(/iPhone/)?(i.mobile=!0,i.iPhone=!0,i.version=e(/OS (.*?) like Mac/),i.version=i.version.replace(/_/g,".")):-1!==n.search(/iPad/)?(i.tablet=!0,i.iPad=!0,i.version=e(/OS (.*?) like Mac/),i.version=i.version.replace(/_/g,".")):-1!==n.search(/Windows Phone/)?(i.mobile=!0,i.windowsPhone=!0,i.version=e(/MSIE (.*?);/)):-1!==n.search(/Win/)?i.windows=!0:-1!==n.search(/Mac/)&&(i.mac=!0),2<=window.devicePixelRatio&&(i.retina=!0),i}()};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.