Debian Codegraph @

fixtures/prevent-close.html

raw
1 <html>
2 <script>
3 window.onbeforeunload = (e) => {
4 e.returnValue = 'prevent close'
5 }
6 </script>
7 </html>