From: Matteo Nastasi Date: Sun, 19 Apr 2020 09:52:56 +0000 (+0200) Subject: test avoid reuse page (with browsers button or tab duplication) X-Git-Url: https://mop.ddnsfree.com/gitweb/?p=brisk.git;a=commitdiff_plain;h=adca8c40390c5086ec21b01e5e9d191503b6cf40 test avoid reuse page (with browsers button or tab duplication) --- diff --git a/web/index.php b/web/index.php index 10ff96c..9e3efe5 100644 --- a/web/index.php +++ b/web/index.php @@ -1254,7 +1254,15 @@ cookie_law(null); // var nonunload = false; var spo_slide, sup_slide; + var prevent_reuse = ""; window.onload = function() { + + if (prevent_reuse == "") { + prevent_reuse = "first load"; + } + else { + location.reload(); + } g_brow = get_browser_agent(); g_prefs = new client_prefs(null);