first commit
This commit is contained in:
7
application/views/web/test/index.php
Executable file
7
application/views/web/test/index.php
Executable file
@@ -0,0 +1,7 @@
|
||||
|
||||
<script type="text/javascript" language="Javascript">
|
||||
window.onbeforeunload = function() {
|
||||
console.log('event');
|
||||
return false; //here also can be string, that will be shown to the user
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user