Automatic Page Refresh Script

Refreshes the page after a certain number of seconds.

About This Script

Sometimes you have a page with content that needs to continually be updated. This is an easy way to refresh the page every few seconds so the visitor will always see the latest content. Paste the code anywhere on the page you want to automatically refresh.

Demo

Code

<p id="refreshCountdown"></p> <script> // Auto Refresh provided by http://www.top-site-list.com var refreshIn = 10; function refreshTick() { --refreshIn; if (refreshIn <= 0) { window.location.reload(); } document.getElementById('refreshCountdown').innerHTML = str = 'This page will refresh in ' + refreshIn + ' second' + (refreshIn > 1 ? 's' : ''); } setInterval(refreshTick, 1000); refreshTick(); </script>
More scripts

Do you want to expose your site to millions?
Do you want to be ranked higher in Google?
Do you want to be known as the best site in your niche?

Then look no further. Add your site in 3 simple steps. Sign up, Add your site and Start receiving votes! It only takes 10 seconds!

Sign Up to Top Site List Planet Now!

Login with one of these social networks...

Sign in with FacebookSign in with TwitterSign in with Google+Sign in with Yahoo!Sign in with LinkedIn

or create an account with your email...

Login To An Existing Account