]> foleosoft.com Git - QAnsel.git/commitdiff
Sun Aug 4 03:29:49 PM EDT 2024
authormiha-q <>
Sun, 4 Aug 2024 19:29:49 +0000 (15:29 -0400)
committermiha-q <>
Sun, 4 Aug 2024 19:29:49 +0000 (15:29 -0400)
src/index.html
src/src.zip

index 5b968728be417322cbe21c9a6673470dc4f63c07..b1cf8e5dd4c16c859300beed79f6bbc379dddd99 100644 (file)
        <table border=1 class="program-drag" style="visibility: hidden;"></table>
        <script>
                $ = x => { return document.querySelectorAll(x); };
+               if (window.location.href.includes("apikey="))
+               {
+                       var h = window.location.href;
+                       var k = h.split("apikey=")[1].split("&")[0];
+                       localStorage.setItem("apikey", unescape(k));
+                       h = h.replace("apikey=" + k + "&", "");
+                       h = h.replace("apikey=" + k, "");
+                       if (h.split("?")[1].trim().length == 0)
+                               h = h.substring(0, h.length - 1);
+                       window.location.href = h;
+               }
                IstinaEditor.init();
                function overline(instr, pos, compare)
                {
index 0d56fcf95c9177933e62f8f6dd22f73dde7badff..9e9c6b02640433157bc30d8bbda538c805a06722 100644 (file)
Binary files a/src/src.zip and b/src/src.zip differ