PageSourceSearch

https://www.iso-chauffe.com/javascript/oxratingcertificate.asp

js iso-chauffe.com collected 2026-10-08 05:55:49 UTC 1,708 bytes, 55 lines download raw bytes

1
2(function OxSiteRating() {
3	var _P = this;
4	var m_bJSonToAdd = true;
5	this.m_html = null;
6	this.m_lookingForID = "OxSiteRating";
7	this.encodeHtml = function (html) { return html.replace(/\'\"/g, function (v) { return '\\' + v; }); };
8	this.checkEnable = function () {
9		var callBack = (typeof OxSiteRatingFctCallBack == "function");
10		if (!window.OxSiteRatingDisable && !callBack) _P.findAndReplace();
11		if (callBack) OxSiteRatingFctCallBack(_P.m_html);
12	};
13	this.findAndReplace = function () {
14		var nd;
15		if (nd = document.getElementById(_P.m_lookingForID)) {
16			nd.innerHTML = _P.m_html;
17			if ( m_bJSonToAdd ) this.addJSonLD();
18			}
19		if (!nd) {
20			if (nd = document.getElementsByTagName('div')) {
21				for (var i = 0, l = nd.length; i < l; i++) {
22					if (nd[i].className == "OxSiteRating") {
23						nd[i].innerHTML = _P.m_html;
24						if ( m_bJSonToAdd ) this.addJSonLD();
25					}
26				}
27			};
28		};
29	};
30	this.addEvent = function (obj, evName, fct) {
31		if(obj.addEventListener) {
32			obj.addEventListener(evName, fct, false);
33		} else {
34			obj.attachEvent("on" + evName, fct);
35		};
36	};
37	this.init = function () {
38		var ndList;
39		_P.m_html = _P.encodeHtml("");
40		window.OxSiteRatingHTML= _P.m_html;
41		if ((ndList = document.getElementsByTagName("body")) && ndList.length > 0) _P.checkEnable();
42		else {
43			_P.addEvent(document, "DOMContentLoaded", _P.checkEnable);
44			_P.addEvent(window, "load", _P.checkEnable);
45		};
46	};
47	this.addJSonLD = function () {
48		var el = document.createElement('script');
49		el.type = 'application/ld+json';
50		el.text = "";
51		document.getElementsByTagName('head')[0].appendChild(el);
52		m_bJSonToAdd = false;
53	};
54	_P.init();
55})();

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.