Difference between revisions of "Team:Judd UK/"

Line 11: Line 11:
 
<div class="JC">
 
<div class="JC">
 
     <script>
 
     <script>
         var page = decodeURIComponent((new RegExp('[?|&]([^&;]+?)(&|#|;|$)').exec(location.search) || [null, ''])[1].replace(/\+/g, '%20')) || "Page-1";
+
         var page = window.location.search.substring(1);
 
         console.log(page);
 
         console.log(page);
 
         window.history.replaceState(null, null, page.replace(/\*/g, "/") + ".html");
 
         window.history.replaceState(null, null, page.replace(/\*/g, "/") + ".html");

Revision as of 02:19, 23 October 2017

Contents

Copyright © 2017 Aleksandur Murfitt