How To Add Download Timer Script in Blogger and Make Money

free script to add Download timer button to blogger posts easily in just few simple steps

Add Download Timer Script in Blogger and Make Money

Add Download Timer Script in Blogger and Make Money

Step 1: Copy the whole CSS Code and paste it into the below opening head tag of the blogger theme. <head>

CSS

  <style>

.astbutton {

    background: linear-gradient(99deg, rgba(2,0,36,1) 0%, rgba(0,255,196,1) 0%, rgba(242,242,242,0.9192270658263305) 100%);

    border: none;

    color: black;

    font-family: system-ui;

    font-size: 17px;

    text-decoration: none;

    padding: 10px 20px;

    cursor: pointer;

    border-radius: 19px;

}

    

.infoblogger{

    background: linear-gradient(99deg, rgba(2,0,36,1) 0%, rgba(0,255,196,1) 0%, rgba(242,242,242,0.9192270658263305) 100%);

    border: none;

    color: black;

    font-family: system-ui;

    font-size: 17px;

    text-decoration: none;

    padding: 10px 20px;

    cursor: pointer;

    border-radius: 19px;

}

    

</style>

Step2: Copy the all javascript and past to the closing body ( just above it ) </body>

JavaScript

<script type='text/javascript'>

//<![CDATA[

var downloadButton = document.getElementById("download");

var counter = 5;

var newElement = document.createElement("p");

newElement.innerHTML = "";

var id;

downloadButton.parentNode.replaceChild(newElement, downloadButton);

function startDownload() {

    this.style.display = 'none';

    id = setInterval(function () {

        counter--;

        if (counter < 0) {

            newElement.parentNode.replaceChild(downloadButton, newElement);

            clearInterval(id);

        } else {

            newElement.innerHTML = +counter.toString() + " second.";

        }

    }, 1000);

};

var clickbtn = document.getElementById("btn");

clickbtn.onclick = startDownload;

//]]>

</script>

Step3: copy the HTML code and past it in your blogger post in HTML view where you want to add a download button

Step5: Replace the "####" with your original download link

HTML

<div><br /></div>

<div style="text-align: center;"><a class="astbutton" href="####" id="download" target="_blank"> Download File </a><button class="infoblogger" id="btn"> Click Here </button> 

</div>


Download TXT file


Download File

Post a Comment

Community Rules & Guidelines
1: Do not post email IDs or any kind of personal information.
2: Do not post your own blog/website links.
3: For Help & Support, use the Contact Us form.
Subscribe Us ( YouTube )