Browser question

Hi,

I am using Google Chrome. How can I make my page reload every five minutes. I have to hit F5 to reload to see my stock price. Just wondering if there is any kind of options I can set which will do this automatically. I don't have to use Chrome, if I.E has this options, I can switch to I.E. Please let me know.

I think you could craft an .html file like this:

<html>
        <head><meta http-equiv="Refresh" CONTENT="300"/></head>
        <iframe src="http://website/that/I/want"></iframe>
</html>

Then load it in whatever browser.

Thank you for the quick reply. When i try the code, I get this error message. Any idea?

This content cannot be displayed in a frame

To help protect the security of information you enter into this website, the publisher of this content does not allow it to be displayed in a frame.
 
  What you can try: 
  Open this content in a new window  

How about this:

<html>
<body>
        <script type='text/javascript'>
                var dest="http://website/whatever.html";
                var rwindow=window.open();
                var t=1000 * 5 * 60; // 5 minutes in milliseconds

                function refresh()
                {
                        rwindow.location=dest;
                        setTimeout("refresh()", t);
                }

                refresh();
        </script>
</body>
</html>

This opens a new window which the javascript can control and refreshes that.

1 Like

Yes. It's working now. Thank you so much for your help.