Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
What is the easiest way to make your browser refresh a page every say, 5 seconds?
How can I run a web page in task scheduler every day?

Are there some ways to make the browser automatically do some operations (such as refresh the webpage every a few minutes) to avoid being idle?

My OS is Ubuntu 10.10 and browsers are Firefox and Chrome.

share|improve this question

marked as duplicate by JdeBP, random Sep 10 '11 at 14:40

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Why do you want to do this with a web browser, when you can just keep a terminal window open running a ping? – user3463 Sep 10 '11 at 7:12
If you look at the earlier version of the question, M. West, you'll see that the questioner is trying to earn the equivalent of the "Enthusiast" badge on "some forums". As such, this question is a duplicate of "How can I run a web page in task scheduler every day?" where the questioner is trying to cheat the StackExchange system. – JdeBP Sep 10 '11 at 10:58

There are addons for both Firefox and Chrome that does this.
Here are two examples, Firefox:ReloadEvery Crome:Page Refresh

But if you just want to keep a connection alive you could use this bash oneliner

while true; do wget -qO- > /dev/null; sleep 300; done


while true; do curl -s > /dev/null; sleep 300; done

it will download every 300 seconds and throw away the result.

share|improve this answer
Thanks! Are the last two methods by wget and by curl able to make me login and keep me stay as such? – Tim Sep 10 '11 at 13:56

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