0

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.

Tim
  • 17,743

1 Answers1

2

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- http://www.google.com > /dev/null; sleep 300; done

or

while true; do curl -s http://www.google.com > /dev/null; sleep 300; done

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

Nifle
  • 34,998