hns.ws/public/js/redirect.js

7 lines
225 B
JavaScript

if (location.hostname !=
document.currentScript.getAttribute('domain')){
location.href = "https://" +
document.currentScript.getAttribute('domain') + location.pathname;
} else{
console.log("Your using Handshake");
}