1function loadScript(url, data, callback){ 2 var script = document.createElement("script") 3 script.type = "text/javascript"; 4 if (!isEmptyObject(data)) { 5 $.each(data, function(name, value) { 6 script.setAttribute(name, value); 7 }); 8 } 9 10 if (script.readyState){ 11 script.onreadystatechange = function(){ 12 if (script.readyState == "loaded" || 13 script.readyState == "complete"){ 14 script.onreadystatechange = null; 15 callback(); 16 } 17 }; 18 } else { 19 script.onload = function(){ 20 if (callback) { 21 callback(); 22 } 23 }; 24 } 25 26 script.src = url; 27 document.getElementsByTagName("head")[0].appendChild(script); 28} 29 30function isEmptyObject(obj) { 31 return JSON.stringify(obj) == '{}'; 32} 33
vendor: 127 bytes, lines 34-37
34window.dataLayer = window.dataLayer || []; 35function gtag(){dataLayer.push(arguments);} 36gtag('js', new Date()); 37gtag('config', '
37UA-138719363-1
vendor: 5 bytes, lines 37-38
37'); 38
39var lazyAll; 40 41$(document).ready(function() { 42 var loadedMetrica = false; 43 44 // $(document).on("scroll.delayed", checkDelayedEvent); 45 $(document).on("click.delayed", checkDelayedEvent); 46 $(document).on("mousemove.delayed", checkDelayedEvent); 47 48 $(document).on("touchstart.delayed", checkDelayedEvent); 49 $(document).on("touchmove.delayed", checkDelayedEvent); 50 51 var delayTimeout = setTimeout(checkDelayedTimeout, 3000); 52 53 function checkDelayedTimeout(e) { 54 if (!loadedMetrica) { 55 loadDelayedScripts(); 56 } 57 }; 58 59 function checkDelayedEvent(e) { 60 if (e.originalEvent && !loadedMetrica) { 61 loadDelayedScripts(); 62 clearTimeout(delayTimeout); 63 } 64 }; 65 66 function loadDelayedScripts() { 67 loadedMetrica = true;
vendor: 406 bytes, lines 67-72
67 68 69 70 71 (function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)}; m[i].l=1*new Date(); for (var j = 0; j < document.scripts.length; j++) {if (document.scripts[j].src === r) { return; }} k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)}) (window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym"); 72 ym(
72197635
vendor: 96 bytes, lines 72-73
72, "init", { clickmap:true, trackLinks:true, accurateTrackBounce:true, webvisor:true }); 73
73console.log("Yandex Metrika loaded"); 74 75 !function(){var t=document.createElement("script");t.type="text/javascript",t.async=!0,t.src='https://vk.com/js/api/openapi.js?169',t.onload=function(){VK.Retargeting.Init("VK-RTRG-1275375-hRWtj"),VK.Retargeting.Hit()},document.head.appendChild(t)}(); 76 console.log("VK openapi loaded"); 77 78 /*loadScript("https://code-ya.jivosite.com/widget/v2qp0fBUi5", {}, function(){ 79 console.log("JivoSite loaded"); 80 });*/ 81 82 // loadScript("https://myreviews.dev/widget/dist/index.js", {}, function(){ 83 // var myReviewsInit = function () { 84 // new window.myReviews.CustomBadgeWidget({ 85 // uuid: "5a7c2130-62a3-426b-b3ec-63b6306aff6a", 86 // name: "customWidget-1", 87 // additionalFrame:"none" 88 // }).init(); 89 // }; 90 // if (document.readyState === "loading") { 91 // document.addEventListener('DOMContentLoaded', function () { 92 // myReviewsInit() 93 // }) 94 // } else { 95 // myReviewsInit() 96 // } 97 // console.log("Myreviews loaded"); 98 // }); 99 100 (function(w, d, u, i, o, s, p) { if (d.getElementById(i)) { return; } w['MangoObject'] = o; w[o] = w[o] || function() { (w[o].q = w[o].q || []).push(arguments) }; w[o].u = u; w[o].t = 1 * new Date(); s = d.createElement('script'); s.async = 1; s.id = i; s.src = u; p = d.getElementsByTagName('script')[0]; p.parentNode.insertBefore(s, p); }(window, document, '//widgets.mango-office.ru/widgets/mango.js', 'mango-js', 'mgo')); mgo({calltracking: {id: 20177, elements: [{"numberText":"74953171317"}]}}); 101 console.log("Mango loaded"); 102 103 (function(w,d,n,c){w.CalltouchDataObject=n;w[n]=function(){w[n]["callbacks"].push(arguments)};if(!w[n]["callbacks"]){w[n]["callbacks"]=[]}w[n]["loaded"]=false;if(typeof c!=="object"){c=[c]}w[n]["counters"]=c;for(var i=0;i<c.length;i+=1){p(c[i])}function p(cId){var a=d.getElementsByTagName("script")[0],s=d.createElement("script"),i=function(){a.parentNode.insertBefore(s,a)},m=typeof Array.prototype.find === 'function',n=m?"init-min.js":"init.js";s.async=true;s.src="https://mod.calltouch.ru/"+n+"?id="+cId;if(w.opera=="[object Opera]"){d.addEventListener("DOMContentLoaded",i,false)}else{i()}}})(window,document,"ct","b50761d3"); 104 console.log("Calltouch loaded"); 105 106 (function(w,d,n,c){w.CalltouchDataObject=n;w[n]=function(){w[n]["callbacks"].push(arguments)};if(!w[n]["callbacks"]){w[n]["callbacks"]=[]}w[n]["loaded"]=false;if(typeof c!=="object"){c=[c]}w[n]["counters"]=c;for(var i=0;i<c.length;i+=1){p(c[i])}function p(cId){var a=d.getElementsByTagName("script")[0],s=d.createElement("script"),i=function(){a.parentNode.insertBefore(s,a)},m=typeof Array.prototype.find === 'function',n=m?"init-min.js":"init.js";s.async=true;s.src="https://mod.calltouch.ru/"+n+"?id="+cId;if(w.opera=="[object Opera]"){d.addEventListener("DOMContentLoaded",i,false)}else{i()}}})(window,document,"ct","n7yesgvg"); 107 console.log("Calltouch loaded"); 108 109 110 111 // $(document).off("scroll.delayed", checkDelayedEvent); 112 $(document).off("click.delayed", checkDelayedEvent); 113 $(document).off("mousemove.delayed", checkDelayedEvent); 114 115 $(document).off("touchstart.delayed", checkDelayedEvent); 116 $(document).off("touchmove.delayed", checkDelayedEvent); 117 } 118 119 lazyAll = $(".lazy-image").lazy({ 120 defaultImage: "", 121 chainable: false, 122 visibleOnly: true, 123 effect: "fadeIn", 124 effectTime: 500, 125 threshold: 200, 126 beforeLoad: function(element){ 127 element.css("display", ""); 128 }, 129 afterLoad: function(element) { 130 element.css("display", ""); 131 } 132 }); 133})
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.