DEV Community

Discussion on: Sure you want to leave?—browser beforeunload event

 
samthor profile image
Sam Thorogood • Edited

Yes, I think it's impossible. Allowing an annoying popup to be generated without the user ever using the page is against what browsers are aiming for.

Thread Thread
 
yerycs profile image
yerycs

Can you explain about "against what browser are aiming for"?
Sorry for annoying. :)