1
!function(){
2
if(window.__audioEyeInitialized) { return; }
3
window.__audioEyeInitialized=!0;
4
var document = window.document,
5
addListener = document.addEventListener || document.attachEvent,
6
removeListener = document.removeEventListener || document.detachEvent,
7
eventName = document.addEventListener ? "DOMContentLoaded" : "onreadystatechange",
8
hostOverride = window.localStorage.getItem("aeHostOverride")
9
readyCallback = function () {
10
removeListener.call(document, eventName, readyCallback, false);
11
var a=document.createElement("script"),h=window.__AudioEyeSiteHash,d=window.location.hostname;
12
a.src=[hostOverride||"https://wsv3cdn.audioeye.com","/bootstrap.js?",h?"h="+h:"d="+d].filter(Boolean).join('');
13
a.type="text/javascript";
14
a.setAttribute("async","");
15
document.getElementsByTagName("body")[0].appendChild(a)
16
};
17
if (document.readyState !== "loading") {
18
readyCallback();
19
} else {
20
addListener.call(document, eventName, readyCallback, false);
21
}
22
}();