Link to home
Start Free TrialLog in
Avatar of andersy
andersy

asked on

How to refresh browser automatically

I visit a web site that update info frequently. I'd like to know if there's any program/browser that can refresh automatically as I don't want to click 'Refresh' every minute.

many thanks.
Avatar of sunray_2003
sunray_2003
Flag of United States of America image

The meta tag belongs within the <head> of your HTML document. When used to refresh the current page, the syntax looks like this:


<meta http-equiv="refresh" content="600">    ( THIS IS WHAT YOU HAVE TO PUT)

meta
This is the actual HTML tag.  
Advertisement    

 
It belongs in the <head> of your HTML document. You can learn more about the meta tag in my tag library.

http-equiv="refresh"
This attribute tells the browser that this meta tag is sending an HTTP command rather than a standard meta tag. Refresh is an actual HTTP header used by the Web server. It tells the server that the page is going to be reloaded or sent somewhere else.

content="600"
This is the amount of time, in seconds, until the browser should reload the current page.


Sunray
Avatar of FlamingSword
FlamingSword

No you cannot do this:

"browser that can refresh automatically "

Except periodically, such as daily or when you open the browser so it can check at that time for what is new.   There would really be too much traffic and bandwidth used if your browser kept checking your servers more frequently than every minute. Just thing of how much longer it would take for so many more downloads of webpages.  What you can do, is if you have two such sites, then set up browser to always check for updates each time you visit. But that comes from visit, a click, and is not the same automation you ask about.

If it is really too tough to click on refresh once a minute, and all that is running is IE displaying a single website's page, then, um, need something else added here, um,... can I buy you a drink?
ASKER CERTIFIED SOLUTION
Avatar of san-deep
san-deep

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of andersy

ASKER

many thanks to all.
Not to be a smart aleck, but "You can't do this (except with Opera)" isn't the right answer.  Sunray started off in the right direction but fell short.... here's what you do:

1.  Open a simple text editor (if using Windows, "Notepad" will do, find it at  Start > Programs > Accessories)
2.  Paste in the following text:
<html>
<meta http-equiv="refresh" content="10">
<frameset cols="5%,*" rows="*">
  <frame src="" />
  <frame src="http://www.yahoo.com" />
</frameset>
</html>

3.  Change the number on the 2nd line to whatever refresh frequecy you want (above it is every 10 secs)
4.  Change the URL on the 5th line to the site you want to be reloading: say http://my.yahoo.com
5.  Save this file, give it a name like "AutoRefresh_MyYahoo.html" and put it on your desktop so it is easy to find later (or if you know how to get to it later you can save it where ever you like)

Ok so it is a pretty technical answer and maybe you won't tell grandma to do this, but it can be done and this'll work.  Also, when you use this, you'll note an empty column on the left (set to 5% width), I added this only so that you won't confuse this auto-reloading page with a normal browser version of the page - if you don't like it set the 5% to 0% and all you'll see is a thin gray line on the far left of the page.

Note: there are cases when this won't work perfectly, but you can still work around them.   For example, if the page you want to reload automatically is available only after logging into a site.  If after logging in, you get a different URL everytime, you'll need to log in first, copy the URL from the logged in page, update the URL in this file and save it, then finally open the auto-reload file from the same browser window.... but in that case you'd probably be happier with Opera.
by press F5 u refresh ur page
Yah its much easier to just press F5 then go thru so much trouble. Anyway I am another user of Opera and I can confidently say that IE has a LOT to learn from Opera. Its about time every1 shifted to Opera! haha.