Arkadaşlar aşapğıdaki kod 15 saniye içinde indirme sayfasına yönlendiriyor. Sitemden çıkış yapıyor. Ben süre dolunca indirme sayfası yan sekmede açılsın istiyorum lütfen yardım.
<br />
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- Esnek Kare Aralara -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-1781638607430167"
data-ad-slot="9113196785"
data-ad-format="auto"
data-full-width-responsive="true"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
<br />
<div dir="ltr" style="text-align: left;" trbidi="on">
<script>
var count = 15; // Number of remaining seconds.
var counter; // Handle for the countdown event.
function start() {
counter = setInterval(timer, 1000);
}
function timer() {
// Show the number of remaining seconds on the web page.
var output = document.getElementById("displaySeconds");
output.innerHTML = count;
// Decrease the remaining number of seconds by one.
count--;
// Check if the counter has reached zero.
if (count < 0) { // If the counter has reached zero...
// Stop the counter.
clearInterval(counter);
// Start the download.
window.location.href = "https://drive.google.com/file/d/1icqLN97d85hJxrJwIUJKiRGlzLm1a_zg/view?usp=sharing ";
return;
}
}
// Start the countdown timer when the page loads.
window.addEventListener("load", start, false);
</script>
<br /><b>
<h2>İndirmeniz başlayacak <span id="displaySeconds">20</span> saniye içinde.</h2><br />
<br />
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- Esnek Kare Aralara -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-1781638607430167"
data-ad-slot="9113196785"
data-ad-format="auto"
data-full-width-responsive="true"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
<br /><br /></b></div>