PageSourceSearch

https://sponsors.macaronikid.com/emit/7232.js

js macaronikid.com collected 2026-09-24 08:45:52 UTC 6,252 bytes, 1 lines download raw bytes

1(function(){var l={};l.randomString=function(o){return Math.round((Math.pow(36,o+1)-Math.random()*Math.pow(36,o))).toString(36).slice(1)};var f=l.analytics=(function(){var t="883496",p="{DATA:zone_id}",u="{DATA:campaign_id}",v="7232",q="{DATA:advertiser_id}",y="//sponsors.macaronikid.com:443/";var o=(new Date()).getTime()+"_"+l.randomString(32);if(t.indexOf("DATA")>0){t=null}if(p.indexOf("DATA")>0){p=null}if(u.indexOf("DATA")>0){u=null}if(v.indexOf("DATA")>0){v=null}if(q.indexOf("DATA")>0){q=null}var r=function(){var D=window.navigator.userAgent,z=window.navigator.platform,E=["Macintosh","MacIntel","MacPPC","Mac68K"],B=["Win32","Win64","Windows","WinCE"],C=["iPhone","iPad","iPod"],A={is_mobile:0,os:null,browser:null};if(E.indexOf(z)!==-1){A.os="Mac OS"}else{if(C.indexOf(z)!==-1){A.os="iOS";A.is_mobile=1}else{if(B.indexOf(z)!==-1){A.os="Windows"}else{if(/Android/.test(D)){A.os="Android";A.is_mobile=1}else{if(/Linux/.test(z)){A.os="Linux"}}}}}if(D.match(/Edg/)){A.browser="edge"}else{if(D.match(/OPR/)){A.browser="opera"}else{if(D.match(/Chrome/)){A.browser="chrome"}else{if(D.match(/Firefox/)){A.browser="firefox"}else{if(D.match(/^(Chrome)|Safari/)){A.browser="safari"}else{if(D.match(/\\.NET/)){A.browser="ie"}}}}}}return A};var x=function(z,E,C){if(t&&t.indexOf("DATA:advertisement_id")<0){var D="?ad_id="+t;if(u){D+="&campaign_id="+u}if(p){D+="&zone_id="+p}if(v){D+="&network_id="+v}if(q){D+="&advertiser_id="+q}if(localStorage&&localStorage.bsid){D+="&uid="+localStorage.bsid}if(location.hostname){D+="&domain="+location.hostname}if(location.pathname){D+="&path="+location.pathname}if(location.href){D+="&url="+location.href}if(window.navigator&&window.navigator.userAgent){var B=r();if(B&&B.os){D+="&os="+B.os}if(B&&B.browser){D+="&browser="+B.browser}if(B&&B.is_mobile){D+="&is_mobile="+B.is_mobile}}D+="&page_imp_id=unknown";D+="&ad_imp_id="+o;D+="&event_name="+z;D+="&event_value="+E;var A=window.XMLHttpRequest?new XMLHttpRequest():new ActiveXObject("Microsoft.XMLHTTP");A.open("GET",y+"event"+D,!C);A.withCredentials=true;A.send()}else{console.log("Could not track event for unknown nodeski: ",z,"=",E)}};var w=function(z,C){if(t&&t.indexOf("DATA:advertisement_id")<0){var B="?metric="+z;if(u){B+="&campaign_id="+u}if(v){B+="&network_id="+v}if(localStorage&&localStorage.bsid){B+="&uid="+localStorage.bsid}if(location.hostname){B+="&domain="+location.hostname}if(location.pathname){B+="&path="+location.pathname}if(location.href){B+="&url="+location.href}if(window.navigator&&window.navigator.userAgent){var A=r();if(A&&A.os){B+="&os="+A.os}if(A&&A.browser){B+="&browser="+A.browser}if(A&&A.is_mobile){B+="&is_mobile="+A.is_mobile}}B+="&value="+(C?C:1);fetch(y+"content/"+t+B,{method:"GET",keepalive:true}).then(function(){})}else{console.log("Could not track metric for unknown: ",z,"=",C)}};var s={trackEvent:x,trackContentMetric:w};return{invoke:function(z){if("broadstreet"!="broadstreet"){return}if(s[z]){s[z].apply(null,Array.prototype.slice.call(arguments).slice(1))}},getMeta:function(){return{advertisement_id:t,zone_id:p,campaign_id:u}}}})();if(window["bsa_content_883496_tracked"]){return}else{window["bsa_content_883496_tracked"]=true}var e=false,a;var c=document.createElement("span");c.style.display="inline-block";c.style.width="2px";c.style.height="2px";function j(){if(window.broadstreetContentContainerSelector){console.log("broadstreetContentContainerSelector overridden",window.broadstreetContentContainerSelector);return document.querySelector(window.broadstreetContentContainerSelector)}return Array.prototype.slice.call(document.querySelectorAll("p")).reduce(function(p,q){p=p||q.parentNode;return q.parentNode.clientHeight>p.clientHeight?q.parentNode:p})}function b(o){var p=o.getBoundingClientRect();if(p.top>=0&&p.left>=0&&p.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&p.right<=(window.innerWidth||document.documentElement.clientWidth)){return true}else{return false}}function n(){localStorage.bs_content_tracker_urls=localStorage.bs_content_tracker_urls||"{}";var o=JSON.parse(localStorage.bs_content_tracker_urls);if(!o[window.location.href]){o[window.location.href]=true;localStorage.bs_content_tracker_urls=JSON.stringify(o);return true}}function h(){var q=30*60*1000;var o=new Date().getTime();if(localStorage.bs_content_session){var p=new Date(localStorage.bs_content_session).getTime();if((o-p)>q){localStorage.bs_content_session=new Date();return true}else{localStorage.bs_content_session=new Date();return false}}else{localStorage.bs_content_session=new Date();return true}}function d(){f.invoke("trackContentMetric","adblock_read")}function k(){}function g(){fetch("https://www3.doubleclick.net",{method:"HEAD",mode:"no-cors",cache:"no-store"}).then(k,d)}function i(o){if(document.readyState==="complete"||document.readyState==="loaded"||document.readyState==="interactive"){if(o){o()}return true}else{if(o){document.addEventListener("DOMContentLoaded",o)}return false}}function m(){l.analytics.invoke("trackContentMetric","read");if(n()){f.invoke("trackContentMetric","unique_read");f.invoke("trackEvent","unique")}if(h()){f.invoke("trackContentMetric","session")}g();i(function(){l.analytics.invoke("trackContentMetric","loaded_read");j().querySelectorAll("a").forEach(function(v){v.addEventListener("click",function(){f.invoke("trackEvent","link_click",this.href)})});j().appendChild(c)});var p=new URLSearchParams(window.location.search);var u=p.get("utm_source");if(u){f.invoke("trackEvent","referrer",u)}else{if(document.referrer){var o=document.createElement("a");o.href=document.referrer;if(o.hostname!=document.location.hostname){f.invoke("trackEvent","referrer",o.hostname)}}}var t=Date.now();var s=0;var r=Date.now();window.addEventListener("visibilitychange",function(x){if(document.hidden){r=D
1ate.now()}else{var v=Date.now();var w=((v-r)/1000).toFixed(0);s=s+parseInt(w)}});window.addEventListener("pagehide",function(w){if(document.visibilityState==="hidden"){var v=Date.now();var x=((v-t)/1000).toFixed(0);f.invoke("trackContentMetric","time_on_page",(parseInt(x)-s))}});var q=setInterval(function(){if(b(c)){f.invoke("trackContentMetric","complete_read");clearInterval(q)}},1000)}if(e){l.analytics.invoke("trackContentMetric","preview")}else{m()}})();

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.