12

Is there a browser that supports refreshing a page every say, 5 seconds? Is there an add-on?

If not, is there a more simple way than writing a full (C# or Java) program in order to do that?

Added: Opera is horrible! I set Stack Overflow to refresh every 5 seconds, but when I click on a post, it refreshes it every 5 secs too! I just wanted the main page to refresh every 5 seconds.

Another "Added": apparently it refreshes the current tab, so as long as I open the post in a new tab, it works great.

Oliver Salzburg
  • 89,072
  • 65
  • 269
  • 311
Oren A
  • 587
  • 3
  • 7
  • 16

8 Answers8

13

Or for Firefox, use the following one-liner as a Greasemonkey script:

setTimeout(function(){ window.location.href = window.location.href; }, 5000);
Arjan
  • 31,511
Drostie
  • 131
9

Yes, Opera supports this feature out of the box. Go to the webpage, right click and select Reload Every.

See the following screenshot for illustration:

reload every in action

You might also be interested in the Check4Change extension for Firefox.

random
  • 15,201
Om Nom Nom
  • 1,395
4

Opera has a Reload Every option built into it.

If you use Firefox you can download the ReloadEvery addon.

kenorb
  • 26,615
evol
  • 629
3

you can do with /bin/bash and links (or any other command like curl or wget)

while true;                                                                                                                                                 
do
    links http://127.0.0.1:3000 -dump > /dev/null 
    sleep 2
done

if you need to see the html use -source instead of -dump ;-)

PJJ
  • 161
2

Use the iMacros addon! It is available for IE, Firefox and Chrome.

iMacros is a great (and open source) web browser macro recorder addon, and refreshing a website is dead simple with it. Use this macro:

  VERSION BUILD=7000928 RECORDER=FX
  REFRESH
  WAIT SECONDS=5

and start it with the LOOP button.

If you want to make sure that the page is really completely reloaded (not from cache) use the CLEAR command and reload the complete website via URL GOTO command:

  VERSION BUILD=7000928 RECORDER=FX
  CLEAR
  URL GOTO=http://superuser.com/
  WAIT SECONDS=5

alt text

FrankJK
  • 236
2

I'm using the Auto Refresh add-on for Firefox and it works great.

Indrek
  • 24,874
Nuno
  • 21
0

Here is a solution for those who cannot install any external extensions...

var w = window.open(window.location.href);
setInterval(function(){w.window.location.reload()},10000)

this will duplicate a tab and reload it every 10 second (10000 milisecond), change it as required

put above code in a book marklet converter like https://mrcoles.com/bookmarklet/

here is the bookmarklet for it, add this to bookmark panel

javascript:(function()%7Bvar%20w%20%3D%20window.open(window.location.href)%3BsetInterval(function()%7Bw.window.location.reload()%7D%2C10000)%7D)()

or you can click on this to try it out... (or drag to bookmarklet panel)

https://gist.github.com/Vaisakhkm2625/ca8b9acd5517eb768b14f05c7a98bcfe

0

To enable auto refresh in Chrome, download and install the Auto Refresh Plus extension from the Web Store.

To integrate the feature in Firefox, download and install Auto Refresh add-on, the one that Nuno recommended, and restart your browser. Then open the web page you want to refresh and select the time period of auto refresh from the right-click menu under the Auto refresh option.

Just like Om Nom Nom said, auto reload option is available in Opera by default and thus one does not need an extension.

Here is the link to the original articol with screenshots and more information:

http://www.guidingtech.com/12491/auto-refresh-pages-chrome-firefox-opera/