SitePoint Sponsor |
|
User Tag List
Results 1 to 2 of 2
-
Dec 2, 2003, 05:04 #1
- Join Date
- Dec 2003
- Location
- Italy
- Posts
- 1
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
How to catch browser reload and stop events
Hi All,
is it possible to catch the Browser's reload and stop events?
I mean, I would like to do something when the user clicks on the Browser reload and stop buttons, how to catch these events?
Thanks,
Stefano
-
Dec 2, 2003, 13:04 #2
- Join Date
- Mar 2002
- Location
- Manchester, UK
- Posts
- 853
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I don't think you can.
The closest you can get to reload would be the onUnload event handler (which isn't even very close). All it tells you is that they're leaving the page, not where they're going - even if they're coming right back.
And as for stop - no chance.gav
http://www.livejournal.com/users/blufive/
browser stats analysis and comment:
http://www.livejournal.com/community/stats_weenie/
Bookmarks