PageSourceSearch

https://sekai-tobira.com/wp-content/themes/elephant3/js/base.js

js sekai-tobira.com collected 2026-10-05 04:59:15 UTC 2,519 bytes, 5 lines download raw bytes

1new function(){var footerId="footer";function footerFixed(){var dh=document.getElementsByTagName("body")[0].clientHeight;document.getElementById(footerId).style.top="0px";var ft=document.getElementById(footerId).offsetTop;var fh=document.getElementById(footerId).offsetHeight;if(window.innerHeight){var wh=window.innerHeight;}else if(document.documentElement&&document.documentElement.clientHeight!=0){var wh=document.documentElement.clientHeight;}if(ft+fh<wh){document.getElementById(footerId).style.position="relative";document.getElementById(footerId).style.top=(wh-fh-ft-1)+"px";}}function checkFontSize(func){var e=document.createElement("div");var s=document.createTextNode("S");e.appendChild(s);e.style.visibility="hidden"
2e.style.position="absolute"
3e.style.top="0"
4document.body.appendChild(e);var defHeight=e.offsetHeight;function checkBoxSize(){if(defHeight!=e.offsetHeight){func();defHeight=e.offsetHeight;}}setInterval(checkBoxSize,1000)}function addEvent(elm,listener,fn){try{elm.addEventListener(listener,fn,false);}catch(e){elm.attachEvent("on"+listener,fn);}}addEvent(window,"load",footerFixed);addEvent(window,"load",function(){checkFontSize(footerFixed);});addEvent(window,"resize",footerFixed);}
5jQuery(function(){var pageTop=jQuery('#page-top');pageTop.hide();jQuery(window).scroll(function(){if(jQuery(this).scrollTop()>400){pageTop.fadeIn();}else{pageTop.fadeOut();}});pageTop.click(function(){jQuery('body,html').animate({scrollTop:0},800);return false;});});jQuery(document).ready(function(){jQuery(".menu ul.children").hide();jQuery("li.page_item").hover(function(){jQuery("ul.children",this).slideDown("slow");},function(){jQuery("ul.children",this).slideUp("slow");});});(function(){var ripple,ripples,RippleEffect,loc,cover,coversize,style,x,y,i,num;ripples=document.querySelectorAll('.ripple');RippleEffect=function(e){ripple=this;cover=document.createElement('span');coversize=ripple.offsetWidth;loc=ripple.getBoundingClientRect();x=e.pageX-loc.left-window.pageXOffset-(coversize/2);y=e.pageY-loc.top-window.pageYOffset-(coversize/2);pos='top:'+y+'px; left:'+x+'px; height:'+coversize+'px; width:'+coversize+'px;';ripple.appendChild(cover);cover.setAttribute('style',pos);cover.setAttribute('class','rp-effect');setTimeout(function(){var list=document.getElementsByClassName("rp-effect");for(var i=list.length-1;i>=0;i--){list[i].parentNode.removeChild(list[i]);}},2000)};for(i=0,num=ripples.length;i<num;i++){ripple=ripples[i];ripple.addEventListener('mousedown',RippleEffect);}}());

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.