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
| SitePoint Sponsor |
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
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