PageSourceSearch

https://images.nichinichi-magazine.com/public/user/common/js/heightLine.js

js nichinichi-magazine.com collected 2026-09-25 03:50:51 UTC 2,422 bytes, 1 lines download raw bytes

1void function(t,o,i){try{t.addEventListener(o,i,!1)}catch(e){t.attachEvent("on"+o,i)}}(window,"load",function(){this.className="heightLine",this.parentClassName="heightLineParent",reg=new RegExp(this.className+"-([a-zA-Z0-9-_]+)","i"),objCN=new Array;for(var e=document.getElementsByTagName?document.getElementsByTagName("*"):document.all,t=0;t<e.length;t++)for(var o=e[t].className.split(/\s+/),i=0;i<o.length;i++){if(o[i]==this.className){objCN["main CN"]||(objCN["main CN"]=new Array),objCN["main CN"].push(e[t]);break}if(o[i]==this.parentClassName){objCN["parent CN"]||(objCN["parent CN"]=new Array),objCN["parent CN"].push(e[t]);break}if(o[i].match(reg)){var a=o[i].match(reg);objCN[a]||(objCN[a]=new Array),objCN[a].push(e[t]);break}}var r=document.createElement("div"),d=document.createTextNode("S");r.appendChild(d),r.style.visibility="hidden",r.style.position="absolute",r.style.top="0",(document.getElementById("container")||document.body).appendChild(r);var n=r.offsetHeight;changeBoxSize=function(){for(var e in objCN)if(objCN.hasOwnProperty(e))if("parent CN"==e)for(var t=0;t<objCN[e].length;t++){for(var o=0,i=objCN[e][t].childNodes,a=0;a<i.length;a++)i[a]&&1==i[a].nodeType&&(i[a].style.height="auto",o=o>i[a].offsetHeight?o:i[a].offsetHeight);for(a=0;a<i.length;a++)i[a].style&&(d=o,(r=i[a].currentStyle||document.defaultView.getComputedStyle(i[a],"")).paddingTop&&(d-=r.paddingTop.replace("px","")),r.paddingBottom&&(d-=r.paddingBottom.replace("px","")),r.borderTopWidth&&"medium"!=r.borderTopWidth&&(d-=r.borderTopWidth.replace("px","")),r.borderBottomWidth&&"medium"!=r.borderBottomWidth&&(d-=r.borderBottomWidth.replace("px","")),i[a].style.height=d+"px")}else{for(o=0,t=0;t<objCN[e].length;t++)objCN[e][t].style.height="auto",o=o>objCN[e][t].offsetHeight?o:objCN[e][t].offsetHeight;for(var r,d,t=0;t<objCN[e].length;t++)objCN[e][t].style&&(d=o,(r=objCN[e][t].currentStyle||document.defaultView.getComputedStyle(objCN[e][t],"")).paddingTop&&(d-=r.paddingTop.replace("px","")),r.paddingBottom&&(d-=r.paddingBottom.replace("px","")),r.borderTopWidth&&"medium"!=r.borderTopWidth&&(d-=r.borderTopWidth.replace("px","")),r.borderBottomWidth&&"medium"!=r.borderBottomWidth&&(d-=r.borderBottomWidth.replace("px","")),objCN[e][t].style.height=d+"px")}},checkBoxSize=function(){n!=r.offsetHeight&&(changeBoxSize(),n=r.offsetHeight)},changeBoxSize(),setInterval(checkBoxSize,1e3),window.onresize=changeBoxSize});

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.