mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-20 14:43:48 +01:00
prevent browser back in history
This commit is contained in:
parent
9c85df1f5d
commit
31edf92092
Binary file not shown.
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 31 KiB |
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 54 KiB After Width: | Height: | Size: 109 KiB |
@ -13,7 +13,12 @@
|
||||
<meta name="msapplication-TileColor" content="#000000"/>
|
||||
<meta name="msapplication-config" content="dist/browserconfig.xml"/>
|
||||
<meta name="theme-color" content="#ffffff"/>
|
||||
|
||||
<script>
|
||||
// Give a warning if you go back in browser history.
|
||||
window.onbeforeunload = function () {
|
||||
return "Your work will be lost.";
|
||||
};
|
||||
</script>
|
||||
<!-- Google Analytics -->
|
||||
<script>
|
||||
(function (i, s, o, g, r, a, m) {
|
||||
@ -58,5 +63,4 @@
|
||||
<body>
|
||||
<div id="root"/>
|
||||
<script type="text/javascript" src="dist/vendor.bundle.js"></script><script type="text/javascript" src="main.bundle.js"></script></body>
|
||||
<!-- http://plaza.dsolver.ca/m/hydroflame4418 -->
|
||||
</html>
|
||||
|
@ -13,7 +13,12 @@
|
||||
<meta name="msapplication-TileColor" content="#000000" />
|
||||
<meta name="msapplication-config" content="dist/browserconfig.xml" />
|
||||
<meta name="theme-color" content="#ffffff" />
|
||||
|
||||
<script>
|
||||
// Give a warning if you go back in browser history.
|
||||
window.onbeforeunload = function () {
|
||||
return "Your work will be lost.";
|
||||
};
|
||||
</script>
|
||||
<!-- Google Analytics -->
|
||||
<script>
|
||||
(function (i, s, o, g, r, a, m) {
|
||||
@ -58,5 +63,4 @@
|
||||
<body>
|
||||
<div id="root" />
|
||||
</body>
|
||||
<!-- http://plaza.dsolver.ca/m/hydroflame4418 -->
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user