PageSourceSearch

https://www.sourakudou.com/wp-content/themes/standard/library/js/footerFixed.js

js sourakudou.com collected 2026-10-03 01:15:25 UTC 1,623 bytes, 63 lines download raw bytes

1new function(){
2	
3	var footerId = "footer";
4	//ƒƒCƒ“
5	function footerFixed(){
6		//ƒhƒLƒ…ƒƒ“ƒg‚̍‚‚³
7		var dh = document.getElementsByTagName("body")[0].clientHeight;
8		//ƒtƒbƒ^[‚Ìtop‚©‚ç‚̈ʒu
9		document.getElementById(footerId).style.top = "0px";
10		var ft = document.getElementById(footerId).offsetTop;
11		//ƒtƒbƒ^[‚̍‚‚³
12		var fh = document.getElementById(footerId).offsetHeight;
13		//ƒEƒBƒ“ƒhƒE‚̍‚‚³
14		if (window.innerHeight){
15			var wh = window.innerHeight;
16		}else if(document.documentElement && document.documentElement.clientHeight != 0){
17			var wh = document.documentElement.clientHeight;
18		}
19		if(ft+fh<wh){
20			document.getElementById(footerId).style.position = "relative";
21			document.getElementById(footerId).style.top = (wh-fh-ft)+"px";
22		}
23	}
24	
25	//•¶ŽšƒTƒCƒY
26	function checkFontSize(func){
27	
28		//”»’è—v‘f‚̒ljÁ	
29		var e = document.createElement("div");
30		var s = document.createTextNode("S");
31		e.appendChild(s);
32		e.style.visibility="hidden"
33		e.style.position="absolute"
34		e.style.top="0"
35		document.body.appendChild(e);
36		var defHeight = e.offsetHeight;
37		
38		//”»’èŠÖ”
39		function checkBoxSize(){
40			if(defHeight != e.offsetHeight){
41				func();
42				defHeight= e.offsetHeight;
43			}
44		}
45		setInterval(checkBoxSize,1000)
46	}
47	
48	//ƒCƒxƒ“ƒgƒŠƒXƒi[
49	function addEvent(elm,listener,fn){
50		try{
51			elm.addEventListener(listener,fn,false);
52		}catch(e){
53			elm.attachEvent("on"+listener,fn);
54		}
55	}
56
57	addEvent(window,"load",footerFixed);
58	addEvent(window,"load",function(){
59		checkFontSize(footerFixed);
60	});
61	addEvent(window,"resize",footerFixed);
62	
63}

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.