Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question
1  
Whatever solution you select, it might be good to see what is being refreshed. Like Drostie's Greasemonkey option will NOT make your browser request cached things again (which is GOOD), while other solutions might make your browser request ALL anew. This is like the difference between typing a URL (or a bookmark, or hitting Ctrl-L followed by Return) compared to hitting refresh. The latter makes most browsers even ask the server if cached things need updating. That slows down things. –  Arjan Oct 16 '10 at 12:10
2  
Also, some solutions might render the refreshed page in a nicer way than other solutions -- like I would hate to see a page being fully rendered all over again. Also, I assume most (if not all) answers imply that the browser will scroll back to the top of the page? (Curious about which answer turns out to work best for you!) –  Arjan Oct 16 '10 at 12:13
    
superuser.com/questions/110233/… –  random Oct 16 '10 at 12:55

7 Answers 7

up vote 5 down vote accepted

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.

share|improve this answer
    
Seems simplest, and works great, thanks. –  Oren A Oct 18 '10 at 18:34

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

setTimeout(function(){ window.location.href = window.location.href; }, 5000);
share|improve this answer
1  
window.location.reload(false) - developer.mozilla.org/en/DOM/window.location is at the least more readable, if not faster. Also, if you're using a Greasemonkey script, you can always GM_registerMenuCommand instead of always refreshing on that page. –  Hello71 Oct 16 '10 at 14:08
    
@Hello71, without trying in Greasemonkey but when using Safari on a Mac: just pasting the following in the location bar, javascript:window.location.href=window.location.href renders MUCH nicer than javascript:window.location.reload(false) (which completely clears the window first). Given the documentation, I don't understand why though... –  Arjan Oct 16 '10 at 15:52
    
@Arjan: With a little testing, I found out that setting window.location.href to itself only reloads if the page does not have a hash at the end of it (#12345). –  Hello71 Oct 16 '10 at 17:19
    
@Hello71, again just using the location bar, not Greasemonkey: javascript:window.location.href=window.location.href works fine for me (testing with Stack Overflow, without anything such as Web Inspector open, and taking the cache of the site itself into account as well). But: your findings might make sense, as the hash is not included in location.href, as it's really client side only. –  Arjan Oct 16 '10 at 17:31
    
@Arjan: Firefox doesn't even send a request, according to Firebug and my poor skills with Wireshark. –  Hello71 Oct 16 '10 at 17:32

Opera has a "reload every" function built into it.

If you use Firefox you can download the ReloadEvery addon from:

https://addons.mozilla.org/en-US/firefox/addon/115/ which works quite well :)

share|improve this answer

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 ;-)

share|improve this answer

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

share|improve this answer
    
+1 Looks interesting.. I should consider if it's worth the effort though, as there are "out of the box" solutions. –  Oren A Oct 16 '10 at 17:52

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

share|improve this answer
    
Please refer to this meta post when answering questions with a product recommendation. –  KronoS Jan 14 '13 at 15:36

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/

share|improve this answer
1  
Can you summarize the information at the link in your answer in case the page disappears. –  jonsca Sep 7 '13 at 23:18
    
Welcome to Super User! Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. –  slm Sep 7 '13 at 23:53

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.