IS there a way to make IE7/FF/Opera auto-refresh?
If not then if i constructed a browser in VB (something simple) how would i make it automatically refresh the page every few seconds?
-
-
Refreshing (in a traditional way) in a browser means to reload the web site's content from the server. That means that, for example, all input in your forms might be lost, the page is scrolled back up to the top, etc.
That's also why AJAX has been thought up: to refresh only parts of a website.
The refresh call would look like this in C#:
webBrowser1.Refresh(WebBrowserRefreshOption.Completely); -
Sorry, dont know C... after I "master" vb would it be a good idea to go strait for C/C# or should i go to something like Python, Ruby, PERL, etc.
-
Lloyd_Humph wrote:Sorry, dont know C... after I "master" vb would it be a good idea to go strait for C/C# or should i go to something like Python, Ruby, PERL, etc.
Oh. Poor you, I'll give you the VB.NET version. Create a new Windows Form application in VB Express. Add a Webbrowser control to the form. Add a button to the form. Add this code to the Click even handler of the button (double click the button to open the click event handler):
WebBrowser1.Refresh(WebBrowserRefreshOption.Completely) -
There is a Firefox plugin called ReloadEvery (https://addons.mozilla.org/firefox/addon/115) that reloads a page (actually the tab) with a custom frequence.
-
doesnt that just refresh though? i want it to automatically refresh after a preset number of seconds/minutes etc.
-
Lloyd_Humph wrote:doesnt that just refresh though? i want it to automatically refresh after a preset number of seconds/minutes etc.
A refresh of a website is always a reload from the web server! HTTP is state less. You have to reload all the page (or use AJAX). That's how it is now. The plugin does that: reloads the whole page from the webserver. -
How does the auto-refresh plugin work? right click on tab or refresh button or what? none of those work for me...
-
nvm i know how... also works for opera if installed. weirdly enough.. hmmm. maybe its a plugin for opera also.
-
Lloyd_Humph wrote:How does the auto-refresh plugin work? right click on tab or refresh button or what? none of those work for me...
Start Firefox. Install the plugin. Open the web site you want to reload. Right click it. Go to "Reload Every". Set the seconds and click the "Enable" menu entry. -
Lloyd_Humph wrote:nvm i know how... also works for opera if installed. weirdly enough.. hmmm. maybe its a plugin for opera also.
Opera is probably having an interface to use the firefox plugins. -
Are you the author of the page? If so you can add a Refresh: header. Note this is not an HTTP standard header, but it is widely supported. If you can't add headers you can add a <meta http-equiv="refresh" content="60" /> tag.
-
littleguru wrote:

Lloyd_Humph wrote: nvm i know how... also works for opera if installed. weirdly enough.. hmmm. maybe its a plugin for opera also.
Opera is probably having an interface to use the firefox plugins.
Actually, auto-reloading is built into Opera. It's purely a coincidence that the text and method of access is the same.
-
Matthew van Eerde wrote:Are you the author of the page? If so you can add a Refresh: header. Note this is not an HTTP standard header, but it is widely supported. If you can't add headers you can add a <meta http-equiv="refresh" content="60" /> tag.
Actually, im using it on the C9 forums - so i dont have to keep re-loading to check for new posts, threads... etc. -
Lloyd_Humph wrote:

Matthew van Eerde wrote: Are you the author of the page? If so you can add a Refresh: header. Note this is not an HTTP standard header, but it is widely supported. If you can't add headers you can add a <meta http-equiv="refresh" content="60" /> tag.
Actually, im using it on the C9 forums - so i dont have to keep re-loading to check for new posts, threads... etc.
You could also use an RSS reader and subscribe to the RSS feed.
There are a lot of free RSS reader available.
-
I use FeedReader - at first, I didnt see the point in RSS feeds - now however I find them extremely handy for getting all the latest gadget, tech, software news... and especially watching ebay items ... most of them include programming books and computer stuff.
Anyways, when it comes to C9, this is a more practical option for me. -
Well done for brining up a 2 year old thread to pimp your service. That doesn't look like spam at all, no siree!
-
I know this was built-in funcionality in Opera years ago... I don't know if it's still in there. The option would re-send form data as I would expect. This was good for gaming some site that I have forgotten about...
Thread Closed
This thread is kinda stale and has been closed but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.