DEV Community


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

samthor profile image
Sam Thorogood Author • 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

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

Forem Open with the Forem app