Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

Beforeunload not working when browser closed but while debug beforeunload working [closed]

$
0
0

function registerBeforeUnload(dotnethelper) {    window.addEventListener('beforeunload', function (event) {        event.preventDefault();    });}

beforeunload not working when browser closed but while debug beforeunload working.please help me without debugging.


Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>