Is there a way to make onbeforeunload work in Opera?

I know that Opera does not support JS onbeforeunload and does not support it. But is there a way to make it work? Or maybe some jQuery plugins can make it work, and let the script know if the window will be closed? I only found a way to make onclick for each tag, but this is not a complete solution.

0
source share
2 answers

Upgrading to Opera 15. is onbeforeunloadnow supported in this version because they have moved to the WebKit engine. It is still not supported in 12.x because this version and all previous versions are based on Presto.

+3
source

onbeforeunload Opera. - , , Opera (IE, FireFox, Safari, Chrome).

unbeforeunload beforeunload : http://help.dottoro.com/ljhtbtum.php

, : Crossbrowser onbeforeunload?

0

Source: https://habr.com/ru/post/1537482/


All Articles