Monday, October 19, 2009

Auto refresh any web page

A helpful little tidbit for people newer to coding web pages....

Auto refresh any web page: "

Filed under: , ,

Last night when the Apple store went down, I got tired of hitting refresh in Safari every few minutes while waiting for it to come back up, and went searching for something that would do the job for free.



Now, this is not for coders who will laugh hysterically at my incompetence, but for those of you that are either lazy or don't program at all. I fit both categories.



Back in 2005 someone going by the moniker of Biovizier posted the solution on Macosxhints.com. It's a little html snippet that will refresh any web page as frequently as you'd like, and its easily customizable for any page at all.



Here it is:



<html>

<head>

<**** **********='refresh' content='60'>

</head>

<body>

<FRAMESET>

<FRAME src='http://www.tuaw.com'>

</FRAMESET>

</body>

</html>







Copy this into TextEdit and save it with an .html extension. Then just double click it.



You can change the refresh time from 60 to the amount of seconds you want to wait before the page refreshes, and you can change the URL to anything you want. I was using: http://apple.com/store and having it refresh every 20 seconds which must make me a certifiable fanatic.



Since I saw this I've found a ton of uses for it, like refreshing eBay auctions in the last few minutes, or just leaving it set for TUAW to see new stories coming up when I'm doing something else. At present I have four or five of these snippets in a folder on my desktop for different purposes.



Give it a try and see if you don't find a handful of uses for it.



Okay, you coders can stop laughing now.



Note: TJ Luoma just let me know that this tip won't work with Twitter which intentionally blocks this sort of thing.





Thanks to macosxhints.com and Biovizier wherever you are.

TUAWAuto refresh any web page originally appeared on The Unofficial Apple Weblog (TUAW) on Wed, 30 Sep 2009 17:30:00 EST. Please see our terms for use of feeds.

Read | Permalink | Email this | Comments



Add to digg
Add to del.icio.us
Add to Google
Add to StumbleUpon
Add to Facebook
Add to Reddit
Add to Technorati





Sponsored Topics:
Twitter - Apple - Safari - TUAW - Unofficial Apple Weblog"



(Via The Unofficial Apple Weblog (TUAW).)

No comments: