1(function(){ 2 3 var get_cookie = function( name ){ 4 var result = null; 5 6 var cookieName = name + '='; 7 var allcookies = document.cookie; 8 9 var position = allcookies.indexOf( cookieName ); 10 if( position != -1 ) 11 { 12 var startIndex = position + cookieName.length; 13 14 var endIndex = allcookies.indexOf( ';', startIndex ); 15 if( endIndex == -1 ) 16 { 17 endIndex = allcookies.length; 18 } 19 20 result = decodeURIComponent( 21 allcookies.substring( startIndex, endIndex ) ); 22 } 23 24 return result; 25 }; 26 27 28 var _UA = navigator.userAgent; 29 if(get_cookie('cssurl') == 'testuser'){ 30 document.write('<link rel="stylesheet" href="/support/faq/common_files/css/component.css">'); 31 } else { 32 if (navigator.userAgent.indexOf('iPhone') != -1) { 33 //iphone 34 document.write('<link rel="stylesheet" href="/support/faq/common_files/css/component_sp.css">'); 35 }else if (navigator.userAgent.indexOf('Android') > -1 && navigator.userAgent.indexOf('Mobile') > -1){ 36 //Android
37 document.write('<link rel="stylesheet" href="/support/faq/common_files/css/component_sp.css">'); 38 } else if (navigator.userAgent.indexOf('iPad') != -1) { 39 //iPad 40 document.write('<link rel="stylesheet" href="/support/faq/common_files/css/component.css">'); 41 } else if (navigator.userAgent.indexOf('Android') > -1 && navigator.userAgent.indexOf('Mobile') < 0) { 42 //Android Tablet 43 document.write('<link rel="stylesheet" href="/support/faq/common_files/css/component.css">'); 44 } else{ 45 //ãã以å¤ï¼PCï¼ã®ã¦ã¼ã¶ã¼ 46 document.write('<link rel="stylesheet" href="/support/faq/common_files/css/component.css">'); 47 } 48 }; 49 50})(); 51 52$(document).ready(function(){ 53 displayFaqEx("/support/faq/common_files/json/component.json"); // ã³ã³ãã¼ãã³ã 54}); 55 56//$(document).ready(function(){ 57// $.ajax({ 58// type:"GET", 59// url:"/support/faq/common_files/js/ym_faq_lib.js", 60// dataType:"script", 61// success: function(data){ 62//console.log('lib loaded'); 63// displayFaqEx("/support/faq/common_files/json/component.json"); // ã³ã³ãã¼ãã³ã 64// }, 65// error:function(a,b,c){ 66// console.log(a); 67// console.log(b); 68// console.log(c); 69// } 70// }); 71//});
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.