Link to home
Start Free TrialLog in
Avatar of Kels
Kels

asked on

Auto refresh Internet explorer web pages

Hi all

Is there a way of setting IE to automatically refresh at given intervals?

Help appreciated

Kels
Avatar of hongjun
hongjun
Flag of Singapore image

Try adding a META tag to the HEAD of the document like this:

<META HTTP-EQUIV="REFRESH" Content="20;URL=Page.htm">

Where Page.htm is the name of the same page you are viewing.


hongjun
Avatar of Kels
Kels

ASKER

I want to be able to refresh all pages repeatedly. Not just mine.
all pages?
what are you trying to achieve?
Are you trying to say you wish to refresh all IE windows?
I think this is a rather odd implementation.

hongjun
Avatar of Kels

ASKER

What i was looking for was a setting in IE itself. I cant find it but figured its because its early and i haven't had enough caffiene yet.
Avatar of Kels

ASKER

It is a bit odd i agree.

I guess there is no way of setting IE to refresh all pages every 20 minutes or so then?
Opera has the ability to set an opened page to reload every x minutes
www.opera.com
you have to set it again everytime though.
But using it allways on all internet pages would be silly and would become very annoying.
(you lose the contents you just typed in a form when the page refreshes, thats annoying when you just typed a long story in there ;))
ASKER CERTIFIED SOLUTION
Avatar of inty
inty

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
If you just want to refresh a certain site you could do a page where you define frames (framesetpage.htm) and refresh this page with meta refresh. The content of the frame 1 would be the page to be refreshed (pagetoberefreshed.asp) ...

<html>
<head>
<META HTTP-EQUIV="REFRESH" Content="10;URL=framesetpage.htm">
</head>
<frameset rows="*,0">
      <frame name="1" src="pagetoberefreshed.asp">
      <frame name="2" src="">
</frameset><noframes></noframes>
<body>

</body>
</html>
Oh, and store your page "framesetpage.htm"locally and "pagetoberefreshed.asp" can be any url...
Why not try:
Tools|Internet Options, Temporary Internet Files|Settings
"Check for newer versions of pages" and then the "Every visit to the page" option or "Every time you start Internet Explorer"
opera browser can auto refresh with a timer..
i use opera7 ..it can be used to fake hits on a hit counter or something.. but i dunt really use tht function. it can also be used as a popup stopper and a track remover
just rightclick a page and the popup stopping function is self explantator

http://download.com.com/3000-2356-10249580.html?tag=lst-0-5
Avant Browser, which uses Internet Explorer for displaying pages, has this feture too - you can rught click on a tab where the page is opened and set the interval in seconds or minutes you wish the page to be refreshed.

www.avantbrowser.com
If you're committed to using IE and really need the functionality you describe, framesets would work in some situations but not all. Some sites still use "frame-busting" script to check whether they're loaded into the highest window level; if not, they reload themselves there. This used to be a popular technique back when websites would "hijack" each others' content by framing other sites within their own, making it look as though, say, CNN's content were being served from within their own site.

One way you can get around this is to write code in a "launcher" page that pushes open a new browser window containing a "remote-control" HTML page. In this remote control page, put Javascript that uses a combination of setTimeout and window.opener.location to refresh the original browser window at specified intervals. The core remote-control code woud look something like:

     var refreshInterval = 20;     // refresh interval in minutes
     var watchURL = "http://www.thisurl.com";     // URL to automatically refresh
     refreshInterval = refreshInterval * 60000      // multiply times 60000 milliseconds to get the interval in units that Javascript understands
     setTimeout('window.opener.location=(watchURL, refreshInterval);

You could combine this code with a very simple form, where you enter the URL to monitor and click the submit button, and the main browser window opens to that page and automatically reloads it at the specified interval.

Hope this helps --
Oops, mistyped the last (and most important) line in the script above:

      setTimeout('window.opener.location=watchURL', refreshInterval);

Hope this helps --
Hi i'm looking for the same but in a flash file.

I'm running a 24/7 shoutcast station.
If you go to http://www.housenationradio.com/webradio/test.php or http://www.housenationradio.com/webradio/stats/radio.php then you see the current song.

And thats the problem (not on every system), the current song is refresh every few seconds, and everytime that it refresh you heart a click sound.

Is it posible to mute that sound on the moment you are on that page with a javascript or a flash file.



Sorry for my bad english.

Rody.
Rody:

Your question is distinct from the question in this thread. You should open a new question to solicit comments/answers to your issue.
Avatar of Kels

ASKER

Guys

Thanks for all the input on this question.

However I actually accepted an answer a while ago.

Kels
mozilla firefox + reload extension
http://reloadevery.mozdev.org/
Avatar of Orion Newman
This is a real simple little script that this guy has written....works great for me when I'm needing to constantly refresh a web page.

http://www.lawrencegoetz.com/programs/autoload0-ie.htm?

Enjoy
<META HTTP-EQUIV="REFRESH" Content="20;URL=MyPage.html">

Philip "pips" Seyfi,
{
  email/commercial site removed
  ai, cs admin
}
If you know HTML then you can try coding the refresh command...
Despite the posting of this question being a response to another question already asked, I will respond here anyway.
Rody:  I have an HTML background with features graphics located on the internet.  Because these graphics are dynamic, I set the page to refresh using the meta tag every 60 seconds.  This is obviously an obnovious sound to hear, and there is a solution that you may or may not perform because of its disadvantages.  Just disable the "Start Navigation" under subsection "Windows Explorer" sound inside Sounds and Audio Devices Properties which is contained in the control panel.  Such is the way to perform the action in WinXP Home, but may be different on other OS.
Cfarge:

Thanks but I'm using a javascript now for this www.housenationradio.com 
On the main page you see at top under the banner the current mix and it refresh itself every 60 seconds without a sound click on every OS.

But thanks for your response :-)

Rody
For the record...this is a meta refresh html code...with forwarding to a domain name.


<html>
<meta http-equiv="refresh" content="1;URL=http://domainname.com">
<script>
setTimeout('location.reload()',5000);
</script>

5000 = 5 seconds

dave