+ 1
it's possible to write a javascript who can run when the user try to close the navigature?
i want to make a script who will run when the user try to close the navigature like the confirm function but i want it to run just if the navigature will be closed
2 ответов
+ 7
document.onbeforeunload = function(){....}
+ 1
thank you