Auto Refresh 🔄 Web Page Bookmarklet Script
This is the bookmarklet to auto refresh any web page. Simply drag and drop that link to your web browsers favorites or bookmarks bar.
This auto refresh bookmarklet works with all the major web browsers including:
- Google Chrome.
- Mozilla Firefox.
- Internet Explorer.
- Microsoft Edge.
- Safari.
- Opera.
- Any web browser that has a favorites or bookmarks bar.
When you are on a web page you wish to auto refresh ...
- Click the auto refresh web page bookmarklet.
- Enter the number of seconds pause between refreshes. Each minute = 60 seconds so if you want to auto refresh the web page every 5 minutes you would enter
300
. - The web page will keep auto refreshing at the time interval you specified.
So for example, if you wish to automatically refresh a web page every 5 seconds ...
- Go to the web page you wish to auto refresh.
- Click the auto refresh bookmarklet.
- Enter 5.
Auto Refresh 🔄 Web Page Javascript Code
The raw Javascript code to reload/refresh a web page is extremely uncomplicated and simple: window.location.reload();
. You can create a pause before this reload web page code runs using a simple Javascript timer: setInterval(function(){ window.location.reload();},3000);
the number 3000
represents 3000 milliseconds pause before the reload code runs. You can change that to any number of seconds you want by multiplying the number of seconds pause * 1000 so if you want to reload the web page every 10 seconds you would make this number 10000.
Auto Refresh 🔄 Web Page Web Browser Extension
That are web browser extensions to auto reload a web page however a bookmarklet script, like the one above, is better because it works in and and all browsers where extensions only work with the particular web browser they are written for.
Some web page auto reload web browser extensions/add-ons ...
Auto Refresh 🔄 Web Page PHP Code
The PHP code to auto refresh a web page is also very simple in PHP ...
(the assumption in this example is a reload every 10 seconds).
Auto Refresh 🔄 Web Page Meta Tag
The HTML meta tag for auto refresh of a web page: <meta http-equiv="refresh" content="10">
(the assumption in this example is a reload every 10 seconds).