| Server IP : 127.0.0.1 / Your IP : 216.73.216.48 Web Server : Apache/2.4.58 (Win64) OpenSSL/3.1.3 PHP/8.2.12 System : Windows NT DESKTOP-3H4FHQJ 10.0 build 19045 (Windows 10) AMD64 User : win 10 ( 0) PHP Version : 8.2.12 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : D:/active_xampp_upgrade/coblaa/ |
Upload File : |
<!doctype html>
<!--
@license
Copyright 2022 Google LLC. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
-k->
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="description" content="Display a GPT-managed web interstitial ad." />
<title>Display a web interstitial ad</title>
<script
async
src="https://securepubads.g.doubleclick.net/tag/js/gpt.js"
crossorigin="anonymous"
></script>
<script>
window.googletag = window.googletag || { cmd: [] };
let interstitialSlot;
googletag.cmd.push(() => {
// Define a web interstitial ad slot.
interstitialSlot = googletag.defineOutOfPageSlot(
"/23019847102/gptag_ad",googletag.enums.OutOfPageFormat.INTERSTITIAL,
);
// Slot returns null if the page or device does not support interstitials.
if (interstitialSlot) {
// Enable optional interstitial triggers and register the slot.
interstitialSlot.addService(googletag.pubads()).setConfig({
interstitial: {
triggers: {
navBar: true,
unhideWindow: true,
},
},
});
document.getElementById("status").textContent = "Interstitial is loading...";
// Add event listener to enable navigation once the interstitial loads.
// If this event doesn't fire, try clearing local storage and refreshing
// the page.
googletag.pubads().addEventListener("slotOnload", (event) => {
if (interstitialSlot === event.slot) { alert(5);
document.getElementById("link").style.display = "block";
document.getElementById("status").textContent = "Interstitial is loaded.";
alert(5);
}
});
// By default, the detected language of the current page is used to render
// interstitial UI elements. This behavior can be overridden by manually
// specifying the document language:
// googletag.pubads().set("document_language", "en");
}
// Define static ad slots.
googletag
.defineSlot("/23019847102/gptag_ad', [[300, 250]], 'div-gpt-ad-1730754271736-0'")
.addService(googletag.pubads());
googletag
.defineSlot("/23019847102/gptag_ad', [[320, 480]], 'div-gpt-ad-1730754271736-1'")
.addService(googletag.pubads());
googletag
.defineSlot("/23019847102/gptag_ad', [[336, 280]], 'div-gpt-ad-1730754271736-2'")
.addService(googletag.pubads());
// Enable SRA and services.
googletag.pubads().enableSingleRequest();
googletag.enableServices();
});
</script>
<style>
#link {
display: none;
}
div.content {
position: fixed;
top: 50%;
}
</style>
</head>
<body>
<div id="static-ad-1" style="width: 100px; height: 100px"></div>
<div class="content">
<span id="status">Web interstitial is not supported on this page.</span>
<p>
<a id="link" href="https://www.example.com/">TRIGGER INTERSTITIAL</a>
</p>
<p>
<!--
You can prevent specific links from triggering GPT-managed web
interstials by adding a data-google-interstitial="false" attribute to
the anchor element or any ancestor of the anchor element.
-k->
<a data-google-interstitial="false" href="https://www.example.com/">
This link will never trigger an interstitial
</a>
</p>
</div>
<script>
googletag.cmd.push(() => {
// Ensure the first call to display comes after static ad slot
// divs are defined. If you do not have any static ad slots, this
// call can be made immediately after services are enabled.
googletag.display(interstitialSlot);
});
</script-->
<!-- /23019847102/gptag_ad -k->
<div id='div-gpt-ad-1730754271736-0' style='min-width: 300px; min-height: 250px;'>
<script>
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1730754271736-0'); });
</script>
</div>
<!-- /23019847102/gptag_ad -k->
<div id='div-gpt-ad-1730754271736-1' style='min-width: 320px; min-height: 480px;'>
<script>
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1730754271736-1'); });
</script>
</div>
<!-- /23019847102/gptag_ad -k->
<div id='div-gpt-ad-1730754271736-2' style='min-width: 336px; min-height: 280px;'>
<script>
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1730754271736-2'); });
</script>
</div>
</div>
</body>
</html-->
<!doctype html>
<!--
@license
Copyright 2022 Google LLC. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
-->
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="description" content="Display a GPT-managed web interstitial ad." />
<title>Display a web interstitial ad</title>
<script
async
src="https://securepubads.g.doubleclick.net/tag/js/gpt.js"
crossorigin="anonymous"
></script>
<script>
window.googletag = window.googletag || { cmd: [] };
let interstitialSlot;
googletag.cmd.push(() => {
// Define a web interstitial ad slot.
interstitialSlot = googletag.defineOutOfPageSlot(
"/23019847102/gptag_ad",
googletag.enums.OutOfPageFormat.INTERSTITIAL,
);
// Slot returns null if the page or device does not support interstitials.
if (interstitialSlot) {
// Enable optional interstitial triggers and register the slot.
interstitialSlot.addService(googletag.pubads()).setConfig({
interstitial: {
triggers: {
navBar: true,
unhideWindow: true,
},
},
});
document.getElementById("status").textContent = "Interstitial is loading...";
// Add event listener to enable navigation once the interstitial loads.
// If this event doesn't fire, try clearing local storage and refreshing
// the page.
googletag.pubads().addEventListener("slotOnload", (event) => {
if (interstitialSlot === event.slot) {alert(20000000);
document.getElementById("link").style.display = "block";alert(30000000);
document.getElementById("status").textContent = "Interstitial is loaded.";
}else{alert(50000000);}
});
// By default, the detected language of the current page is used to render
// interstitial UI elements. This behavior can be overridden by manually
// specifying the document language:
// googletag.pubads().set("document_language", "en");
}else{alert(60000000);}
// Define static ad slots.
googletag
.defineSlot("23019847102/gptag_ad", [300, 250], "static-ad-1")
.addService(googletag.pubads());
//.defineSlot("/23019847102/gptag_ad", [320, 480], "static-ad-2")
//.addService(googletag.pubads());
// .defineSlot("/23019847102/gptag_ad", [336, 280], "static-ad-3")
// .addService(googletag.pubads());
// Enable SRA and services.
googletag.pubads().enableSingleRequest();
googletag.enableServices();
});
</script>
<style>
#link {
display: none;
}
div.content {
position: fixed;
top: 50%;
}
</style>
</head>
<body>
<div id="static-ad-1" style="width: 300px; height: 250px"></div>
<div id="static-ad-2" style="width: 320px; height: 480px"></div>
<div id="static-ad-3" style="width: 336px; height: 280px"></div>
<div class="content">
<span id="status">Web interstitial is not supported on this page.</span>
<p>
<a id="link" href="https://www.example.com/">TRIGGER INTERSTITIAL</a>
</p>
<p>
<!--
You can prevent specific links from triggering GPT-managed web
interstials by adding a data-google-interstitial="false" attribute to
the anchor element or any ancestor of the anchor element.
-->
<a data-google-interstitial="false" href="https://www.example.com/">
This link will never trigger an interstitial
</a>
</p>
</div>
<script>
googletag.cmd.push(() => {
// Ensure the first call to display comes after static ad slot
// divs are defined. If you do not have any static ad slots, this
// call can be made immediately after services are enabled.
googletag.display(interstitialSlot);
});
</script>
</body>
</html>