Browse Source

overwrite the back action on summary page

koellenberger 1 year ago
parent
commit
7413d8c43e
1 changed files with 7 additions and 0 deletions
  1. 7 0
      public/submit.php

+ 7 - 0
public/submit.php

@@ -1,6 +1,13 @@
 <!DOCTYPE html>
 <html>
   <head>
+      <script language="javascript" type="text/javascript">
+       history.pushState(null, document.title, location.href);
+       window.addEventListener('popstate', function (event)
+       {
+          history.pushState(null, document.title, location.href);
+       });
+      </script>
       <meta charset="utf-8">
       <meta name="generator" content="GitLab Pages">
       <title>KATRIN remote analysis shift</title>