Back   Home   PHP Scripts   Javascripts   Blog  

Tropical PC Solutions: Refresh reload page once Javascript

Sometimes you need for a web document to instantly reload itself but only once. This refresh / reload once Javascript does just that. As soon as the page loads it will refresh, but only once. This script will append ?reloaded=true to the page it reloads. If this is manually changed in browser it will continually reload the page.

Note, I found this script online with no credit intact. I did not write this, but I found it to be useful and thought I would pass it along.

The below Javascript should be placed in the HEAD section of your HTML document.

To download this refresh/reload once Javascript click here.

Sign up for our newsletter and get a free eBook!
Twitter Get the latest, subscribe via Twitter!

Copyright 2009 ...