> As I wrote in my initial post, my observation was actually > that this is contrary to current browser behaviour. Ah, I see. So in Gecko, at least, beforeunload fires before the document is aborted. -Boris