diff --git a/handshake.js b/handshake.js index a49341e..20a35ba 100644 --- a/handshake.js +++ b/handshake.js @@ -1,5 +1,5 @@ if (window.location.hostname != document.currentScript.getAttribute('domain')){ - window.location.href = "https://" + document.currentScript.getAttribute('domain') + window.location.pathname; + window.location.href = "https://" + document.currentScript.getAttribute('domain') + window.location.pathname + window.location.search + window.location.hash; } else{ console.log("Already Redirected");