DOWNLOAD TIMER SCRIPT
Important!
Before we start adding codes in XML, I will recommend you to take a Backup of your current theme. By chance if any problem occurs, you can restore it later.
Step 1: First of all Login to your Blogger Dashboard.
Step 2: In Blogger, create a post or page and insert the code shown below.
Step 3: Copy and paste the following code into Blogger's blog Post.
<div id="abedonpotrodown"><center>
<!--Google Adsense Code-->
<br>
<center>
<style>#postTitle{text-align: center;}</style>
<button id="download-btn" onclick="generate()">
<i class="fa fa-download"></i>writing application form pdf Download
</button>
<div id="refresh" style="display: none; font-size: 18px;"><b>Thanks!</b><br> Your download will start in few seconds... <br> If not then,</div>
<a href="https://abdullahcoded.blogspot.com/" id="re-download-btn" style="display: none;">Click Here</a>
<script>
function generate() {
var j = document.getElementById("refresh");
var e, n = document.getElementById("re-download-btn"),
t = document.getElementById("download-btn"),
a = document.getElementById("re-download-btn").href,
l = 30,
d = document.createElement("span");
n.parentNode.replaceChild(d, n),
e = setInterval(function () {
--l < 0 ? (d.parentNode.replaceChild(n, d),
clearInterval(e),
window.location.replace(a),
j.style.display = "contents",
n.style.display = "inline") : (d.innerHTML = "<div class='waiting'>Rules for writing application form pdf Download pageMaking...</div><div class='timer'>" + l.toString() + "</div> <div class='second'>Please wait Seconds</div>",
t.style.display = "none")
}, 1e3)
}
</script>
<style>
button#download-btn {
padding: 10px 25px 10px 25px;
border: none;
border-radius: 5px;
color: white;
background: dodgerblue;
font-weight: 600;
}
button#download-btn:hover {
background: royalblue;
}
.timer {
background: bisque;
width: 5%;
padding: 10px;
font-size: 25px;
border-radius: 50%;
width: 7%;
}
</style>
</center>
<br><br>
<!--Google Adsense Code-->
</center>
</div>
Conclusion
This is all about adding the Copy Pre Content to Blogger Website. I hope you enjoy this article. Please do share this article. And if you are facing problem in any section or you have any question then ask us in comment box. Thank you!
Copyright ©
ᗩᗷᗪᑌᒪᒪᗩᕼ ᑕᗝᗪᗴᗪ