1(function () { 2 setProviderTop = function (s) { 3 // PHPã¨åãUAå¤å®ãã¸ã㯠4 const ua = navigator.userAgent.toLowerCase(); 5 let sp = false; 6 7 if ( 8 ua.includes('iphone') || // iPhone 9 ua.includes('ipod') || // iPod 10 (ua.includes('android') && ua.includes('mobile')) || // Androidã¹ãã 11 (ua.includes('windows') && ua.includes('mobile')) || // Windows Phone 12 (ua.includes('firefox') && ua.includes('mobile')) || // Firefox Phone 13 (ua.includes('bb10') && ua.includes('mobile')) || // BlackBerry 10 14 ua.includes('blackberry') // BlackBerry 15 ) { 16 sp = true; 17 } 18 19 let el = document.createElement('div'); 20 el.innerHTML = 'é ä¿¡è¨äºããã¬ã¹ãªãªã¼ã¹ã¯ãé ä¿¡ã»çºè¡¨å ã«ããå稿ããã®ã¾ã¾æ²è¼ãã¦ãã¾ãã ãåãåããã¯åæ å ±é ä¿¡ã»çºè¡¨å ã«ç´æ¥ãé¡ããã¾ãã'; 21 el.style.marginBottom = "1em"; 22 js_main.prepend(el); 23 24 el = document.createElement('div'); 25 el.style.minHeight = "35px"; 26 el.innerHTML = s; 27 28 // PCã®å ´åã ãå·¦å¯ãã¹ã¿ã¤ã«ãé©ç¨ 29 if (!sp) { 30 el.style.float = "left"; 31 el.style.marginRight = "1em"; 32 } 33 34 js_main.prepend(el); 35 } 36 37 let js_main = document.getElementById("js-main"); 38 if (!js_main) { 39 const cls = document.getElementsByClassName("article_head"); 40 if (cls && cls.length) { 41 js_main = cls[0]; 42 } 43 } 44 if (js_main) { 45 const provider = document.getElementsByClassName("provider"); 46 if (provider && provider.length) { 47 setProviderTop(provider[0].innerHTML); 48 } else if ((document.querySelector('meta[name="Keywords"]') || {}).content == "PR TIMES") { 49 setProviderTop('æä¾ï¼<a href="http://prtimes.jp" target="_blank" rel="noopener noreferrer"><img src="/img/provider/prtimes.png" alt="PR TIMES"></a>'); 50 } 51 } 52})();
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.