Update index.html
This commit is contained in:
parent
3d44dc6d66
commit
6a85f19d7d
48
index.html
48
index.html
|
|
@ -18995,41 +18995,19 @@ Cancer, Landmine, Grenade, Smoke Grenade">?</span>
|
||||||
window.addEventListener('load', function() {
|
window.addEventListener('load', function() {
|
||||||
if (standalone) return;
|
if (standalone) return;
|
||||||
if (window.location.protocol === "file:") return;
|
if (window.location.protocol === "file:") return;
|
||||||
// var adscript1 = document.createElement('script');
|
var adscript1 = document.createElement('script');
|
||||||
// adscript1.src = "https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-8485284630785740";
|
adscript1.src = "https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-8485284630785740";
|
||||||
// adscript1.crossorigin = "anonymous";
|
adscript1.crossorigin = "anonymous";
|
||||||
// document.getElementById('bottomLeftBox').appendChild(adscript1);
|
document.getElementById('bottomLeftBox').appendChild(adscript1);
|
||||||
// var ins1 = document.createElement('ins');
|
var ins1 = document.createElement('ins');
|
||||||
// ins1.className = "adsbygoogle";
|
ins1.className = "adsbygoogle";
|
||||||
// ins1.style = "display:inline-block;width:728px;height:90px";
|
ins1.style = "display:inline-block;width:728px;height:90px";
|
||||||
// ins1.setAttribute('data-ad-client', "ca-pub-8485284630785740");
|
ins1.setAttribute('data-ad-client', "ca-pub-8485284630785740");
|
||||||
// ins1.setAttribute('data-ad-slot', "9484672079");
|
ins1.setAttribute('data-ad-slot', "9484672079");
|
||||||
// document.getElementById('bottomLeftBox').appendChild(ins1);
|
document.getElementById('bottomLeftBox').appendChild(ins1);
|
||||||
// var adscript2 = document.createElement('script');
|
var adscript2 = document.createElement('script');
|
||||||
// adscript2.innerHTML = "(adsbygoogle = window.adsbygoogle || []).push({});";
|
adscript2.innerHTML = "(adsbygoogle = window.adsbygoogle || []).push({});";
|
||||||
// document.getElementById('bottomLeftBox').appendChild(adscript2);
|
document.getElementById('bottomLeftBox').appendChild(adscript2);
|
||||||
|
|
||||||
var adscript = document.createElement('script');
|
|
||||||
adscript.src = "https://hb.vntsm.com/v4/live/vms/sites/sandboxels.r74n.com/index.js";
|
|
||||||
adscript.setAttribute("data-disable-placements","vertical-sticky, video_slider");
|
|
||||||
adscript.addEventListener('load', function() {
|
|
||||||
self.__VM = self.__VM || [];
|
|
||||||
self.__VM.push(function (admanager, scope) {
|
|
||||||
scope.Config.get('billboard').display('slot-1');
|
|
||||||
// scope.Config.get('leaderboard').display('slot-2');
|
|
||||||
// scope.Config.get('double_mpu').display('slot-3');
|
|
||||||
// scope.Config.get('mpu').display('slot-4');
|
|
||||||
scope.Config.get('mobile_banner').display('slot-5');
|
|
||||||
// scope.Config.get('mobile_mpu').display('slot-6');
|
|
||||||
// scope.Config.get('skyscraper').display('slot-7');
|
|
||||||
// scope.Config.get('video').display('slot-8');
|
|
||||||
// scope.Config.get('desktop_takeover').display('slot-9');
|
|
||||||
// scope.Config.get('mobile_takeover').display('slot-10');
|
|
||||||
// Based on your layout, here are the responsive tags. The placement will change based on screen width.
|
|
||||||
// With the mobile breakpoint set by default at max-width:1024px
|
|
||||||
});
|
|
||||||
});
|
|
||||||
document.head.appendChild(adscript);
|
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue