[thelist] javascript:location.reload() <3

Anthony Baratta Anthony at Baratta.com
Tue Oct 1 21:31:01 CDT 2002

At 03:37 PM 10/1/2002, Dan Stockton wrote:
>Hence: my question-
>how can I know how many times a page has reloaded?
>((__if(var refreshpage<3){location.reload}
>else{document.write"sorry"}__type-o'thing, y'know?)))

Append to the URL a counter. Parse for it and increment it and use it
again. When it reaches your threshold (e.g. 3) bail.
Anthony Baratta
Keyboard Jockeys

"Conformity is the refuge of the unimaginative."

More information about the thelist mailing list