1////////////////////////////////////////// 2//åæå 3if(navigator.userAgent.indexOf("Firefox/2")!=-1 || navigator.userAgent.indexOf("Netscape")!=-1){ 4 document.write ('<style type="text/css">#contentsMain table.borderStyle caption{padding-left:30px;}</style>'); 5} 6////////////////////////////////////////// 7 8 9////////////////////////////////////////// 10//ãã¼ã«ãªã¼ãã¼ã¹ã¯ãªãã 11//<img src="XXXX" width="XX" height="XX" alt="XX" class="Rover" /> 12//<input name="submit" type="image" src="XXXX" alt="XX" class="Rover" /> 13////////////////////////////////////////// 14function ROfunction(){ 15 var imgNum=document.getElementsByTagName("img"); 16 var inputNum=document.getElementsByTagName("input"); 17 overNum=new Array; 18 for(i=0;i<imgNum.length;i++){overNum[i]=imgNum[i];} 19 for(i=0;i<inputNum.length;i++){overNum[i+imgNum.length]=inputNum[i];} 20 for(i=0;i<overNum.length;i++){ 21 if(overNum[i].className.indexOf("Rover")!=-1){ 22 overNum[i].overimg=new Image(); 23 if(overNum[i].className.indexOf(":")!=-1){ 24 Replace=overNum[i].className.split(":"); 25 Replace=Replace[1].split(" "); 26 overNum[i].overimg.src=Replace[0]; 27 }else{ 28 Replace = overNum[i].src.length; 29 overNum[i].overimg.src=overNum[i].src.substring(0,Replace-4)+"_o"+overNum[i].src.substring(Replace-4,Replace); 30 } 31 overNum[i].setAttribute("out",overNum[i].src); 32 overNum[i].onmouseover=new Function('this.src=this.overimg.src;'); 33 overNum[i].onmouseout=new Function('this.src=this.getAttribute("out");'); 34 } 35 } 36} 37window.onload=ROfunction; 38 39document.addEventListener('DOMContentLoaded', function() { 40 const inpageLinksData =[] 41 const inpageLink = document.querySelectorAll('.inpageLinkTitle'); 42 const inpageLinkArray = Array.prototype.slice.call(inpageLink); 43 inpageLinkArray.forEach((val) => { 44 const inpageLinks = {}; 45 inpageLinks.id = val.getAttribute('id'); 46 inpageLinks.text = val.innerHTML; 47 inpageLinksData.push(inpageLinks); 48 }) 49 50 const inpageLinksBox = this.getElementById('inpageLinks'); 51 inpageLinksData.forEach((val) => { 52 const elemLI = document.createElement("li"); 53 const elemA = document.createElement("a"); 54 55 elemA.setAttribute('href','#' + val.id); 56 elemA.innerHTML = val.text; 57 elemLI.appendChild(elemA); 58 inpageLinksBox.appendChild(elemLI); 59 }); 60 if(!inpageLink.length) { 61 const linkBox = document.querySelector('.inpageLinksBox'); 62 if (linkBox) { 63 linkBox.remove(); 64 } 65 } 66});
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.