Double Impression Script

ssss
How to Add Auto Refresh Script in Blogger

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.

إرسال تعليق

Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Oops!
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
AdBlock Detected!
We have detected that you are using adblocking plugin in your browser.
The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.
Site is Blocked
Sorry! This site is not available in your country.