PageSourceSearch

https://www.youronlinechoices.com/be-fr/wp-content/themes/YourOptionsOnline/javascript/iframe.js

js youronlinechoices.com collected 2026-10-01 07:07:19 UTC 1,892 bytes, 65 lines download raw bytes

1/*
2function t(){
3		sizeFrame("myFrame");
4	}
5function sizeFrame(myFrame) {
6
7	var F = document.getElementById(myFrame);
8	if(F.contentDocument) {
9		F.height = F.contentDocument.documentElement.scrollHeight+30; // merge pe chrome
10	} else {
11		F.height = F.contentWindow.document.body.scrollHeight+30; // merge pe firefox
12	}
13}
14
15*/
16
17/*
18 function t(){
19 		sizeFrame("myFrame");
20	 }
21
22function sizeFrame(myFrame)
23{
24	var page_height = document.getElementById(myFrame).contentWindow.document.body.scrollHeight;
25	document.getElementById(myFrame).height = page_height+50;
26}
27	*/
28
29function iframeAutoHeight(){
30	setIframeHeight("myiframeid");
31}
32
33function getDocHeight(doc) {
34	setTimeout(function(){
35	},5000);
36	doc = doc || document;
37	var body = doc.body, html = doc.documentElement;
38	var height = Math.min( body.scrollHeight, body.offsetHeight, html.scrollHeight );
39	//console.log (body.scrollHeight + " " + body.offsetHeight + " " + html.clientHeight + " " + html.scrollHeight + " " + html.offsetHeight);
40	return height;
41}
42function setIframeHeight(myiframeid) {
43	var ifrm = document.getElementById(myiframeid);
44	var doc = ifrm.contentDocument? ifrm.contentDocument: ifrm.contentWindow.document;
45	//ifrm.style.visibility = 'hidden';
46    //ifrm.style.height = "2569px";
47	ifrm.style.height = getDocHeight( doc ) + 50+"px";
48	//ifrm.style.visibility = 'visible';
49}
50(function(run){
51	for (i=0;i<frames.length; i++) {
52		var f1 = document.getElementsByTagName('myiframename')[i];
53		if(!f1 && window.addEventListener && !run){
54			document.addEventListener('DOMContentLoaded', arguments.callee, false);
55			return;
56		}
57		if(!f1){setTimeout(arguments.callee, 300); return;}
58		/*f2 = f1.cloneNode(false);
59		f1.src = 'about: blank';
60		f2.frameBorder = '0';
61		f2.allowTransparency = 'yes';
62		f2.scrolling = 'no';
63		f1.parentNode.replaceChild(f2, f1);*/
64	}
65})();

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.