Double Impression Script

 

Double Impression Script

How to Add Auto Refresh Script in Blogger

Sometimes you may want your blog page to refresh automatically after a certain time. This can be useful for increasing ad impressions, updating live data, or refreshing content automatically for your readers. In this tutorial, I will show you how to use a simple Auto Refresh Script in Blogger.

Step 1: Copy the Script

Here is the auto-refresh script that reloads the page every 5 seconds:

<script>
  setTimeout(function(){
    location.reload();
  }, 5000); // 5000ms = 5 seconds
</script>
  

Step 2: Paste in Blogger

  • Login to your Blogger Dashboard
  • Go to Pages or Posts and create a new one
  • Switch to HTML View
  • Paste the above code where you want the auto refresh to work
  • Publish your post

Step 3: Test the Script

After publishing, open the post in your browser. You will notice the page automatically reloads every 5 seconds.

Final Note

You can change 5000 (milliseconds) to any number. For example:

  • 10000 = 10 seconds
  • 60000 = 1 minute

That’s it! 🎉 Now you know how to add an auto-refresh script in Blogger.

Comments

Popular posts from this blog