Could work like this:
- Start your personal proxy with the anti-idle plug-in in the chain (below).
- In your browser, go to the page you want to periodically re-load.
- At the end of the URL, append a CGI argument. For example you could append "?ttt_anti_idle=300" to reload the page every 5 minutes. If there are already CGI arguments in the URL just append: "&ttt_anti_idle=300".
- Load the new URL you've just typed. The anti-idle plug-in will strip out the extra argument you've appended prior to giving the URL to the "real" server.
- The anti-idle plug-in monitors its stream for "ttt_anti_idle" arguments and builds a list of pages to reload at certain intervals. It discards the result of course.
Here's how I imagine I'd set up the pipeline:
$ proxy | anti_idle --use_cgi=ttt_anti_idle | respond
Post a Comment