PageSourceSearch

https://school.ksenialebedeva.ru/pl/lite/widget/script?id=861799

js ksenialebedeva.ru collected 2026-09-30 14:52:28 UTC 2,897 bytes, 86 lines download raw bytes

1
2var startWidgete5b4a14b5fa9b14b04188c9653303c93c3a3f263 = function() {
3    var script = document.getElementById('e5b4a14b5fa9b14b04188c9653303c93c3a3f263');
4
5	var par = script.parentNode;
6	script.parentNode.style.overflow = 'hidden';
7
8	var iframe = document.createElement('iframe');
9	iframe.src = 'https://school.ksenialebedeva.ru/pl/lite/widget/widget'
10		+ "?" + window.location.search.substring(1)
11		+ "&id=861799"
12		+ "&ref=" + encodeURIComponent(document.referrer)
13		+ "&loc=" + encodeURIComponent(document.location.href);
14
15	try {
16		if (window.clrtQueryData) {
17			iframe.src += "&clrtQueryData=" + encodeURIComponent(JSON.stringify(window.clrtQueryData));
18		}
19	} catch(e) {}
20
21	iframe.dataset.accountId = 125821;
22	iframe.style.width = '100%';
23	iframe.style.height = '0px';
24	iframe.style.border = 'none';
25	iframe.style.overflow = 'hidden';
26	iframe.setAttribute('allowfullscreen', 'allowfullscreen');
27    iframe.className = '187';
28	iframe.id = '2e89662d153c6460f9474ab841e7088a9723fc0f' + '_' + iframe.className;
29	// name можно получить изнутри iframe
30	iframe.name = iframe.className;
31
32	var iframeId = iframe.id;
33
34	var gcEmbedOnMessage = function(e) {
35		var insertedIframe = document.getElementById(iframeId);
36		if (!insertedIframe) {
37			return;
38		}
39
40		if (e.data.uniqName == 'e5b4a14b5fa9b14b04188c9653303c93c3a3f263') {
41			if (e.data.height) {
42			    if (e.data.iframeName) {
43					//Скрипты метрик изменяют название iframe, из-за чего не срабатывает выставление высоты
44					var cuttedName = e.data.iframeName.split('&')[0];
45					if (cuttedName == iframe.name) {
46                        par.style.height = ( e.data.height ) + "px";
47						insertedIframe.style.height = (e.data.height) + "px";
48                    }
49                } else {
50                    par.style.height = ( e.data.height ) + "px";
51					insertedIframe.style.height = (e.data.height) + "px";
52                }
53            }
54		}
55	};
56
57	if (window.addEventListener) {
58		window.addEventListener("message", gcEmbedOnMessage, false);
59	}  else if (window.attachEvent) {
60		window.attachEvent('onmessage', gcEmbedOnMessage)
61	} else {
62		window['onmessage'] = gcEmbedOnMessage
63	}
64
65	script.parentNode.insertBefore(iframe, script);
66	par.removeChild( script )
67}
68
69document.addEventListener("DOMContentLoaded", startWidgete5b4a14b5fa9b14b04188c9653303c93c3a3f263);
70
71document.addEventListener("StartWidgete5b4a14b5fa9b14b04188c9653303c93c3a3f263", function(event) {
72	startWidgete5b4a14b5fa9b14b04188c9653303c93c3a3f263();
73});
74
75var getLocation = function(href) {
76	var l = document.createElement("a");
77	l.href = href;
78	return l;
79};
80
81var currentScript = document.currentScript || (function() {
82	var scripts = document.getElementsByTagName('script');
83	return scripts[scripts.length - 1];
84})();
85
86var domain = ( (getLocation( currentScript.src )).hostname );

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.