center
!–Google Adsense Code–
br
center
style#postTitle{text-align center;}style
button id=download-btn onclick=generate()
i class=fa fa-downloadi Download Now
button
div id=refresh style=display none; font-size 18px;bThanks!bbr Your download will start in few seconds… br If not then,div
a href= id=re-download-btn style=display none;Click Herea
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 = 5,
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’Please Wait…divdiv class=’timer’ + l.toString() + div div class=’second’Secondsdiv,
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-btnhover {
background royalblue;
}
.timer {
background bisque;
width 5%;
padding 10px;
font-size 25px;
border-radius 50%;
width 7%;
}
style
link href=httpscdnjs.cloudflare.comajaxlibsfont-awesome4.7.0cssfont-awesome.min.css rel=stylesheetlink
script
document.getElementById(re-download-btn).href=localStorage.getItem(Download Link);
document.getElementById(postTitle).innerHTML = localStorage.getItem(Post Title);
script
center
brbr
!–Google Adsense Code–
center