I would like to know if there is a method to intercept onbeforeunload event and consequently do some action in a browser that have java script execution disabled.
Thank You
Piercarlo
I would like to know if there is a method to intercept onbeforeunload event and consequently do some action in a browser that have java script execution disabled.
Thank You
Piercarlo
If Javascript is disabled, you won't be able to use Javascript, so you can't intercept anything.
Also, I feel like there's a need for disambiguation here. You say
java script
so it seems that you may be confusing the Java programming language, with Javascript, which despite sharing 4 letters, are completely different beasts.
Check this old question for more information, and a bunch of geeky jokes on the subject.