window.location = "https://" + window.location.hostname + window.location.pathname + window.location.search;