-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvzscrtc.min.js
1 lines (1 loc) · 942 Bytes
/
vzscrtc.min.js
1
function defer1(a,b,c,d,e){if(window.jQuery){var k,l,g=(navigator.appVersion,navigator.userAgent),h=navigator.appName;parseFloat(navigator.appVersion),parseInt(navigator.appVersion,10);-1!=(l=g.indexOf("Opera"))?h="Opera":-1!=(l=g.indexOf("MSIE"))?h="Microsoft Internet Explorer":-1!=(l=g.indexOf("Chrome"))?h="Chrome":-1!=(l=g.indexOf("Safari"))?h="Safari":-1!=(l=g.indexOf("Firefox"))?h="Firefox":(k=g.lastIndexOf(" ")+1)<(l=g.lastIndexOf("/"))&&(h=g.substring(k,l));var n=!1,o=$("#"+a);if(o.length<1){$("iframe").each(function(){try{$(this).contents().find("#"+a).length>0&&(o=$(this))}catch(a){}})}$.screentime({fields:[{selector:o,name:a}],reportInterval:3,callback:function(f,g){if(!n&&g[a]>0){n=!0,console.log("bidder viewed..");var i=window.location,j=document.createElement("img");j.src="https://vu.vrtzads.com/empty.gif?u="+a+"&tv="+g[a]+"&browserName="+h+"&p="+i+"&c="+b+"&cr="+c+"&n="+d+"&s="+e,document.head.appendChild(j)}}})}}