); console.log(url); //location.href = location.href.replace("http://", "https://")+"/main"; } else { } //location.href="/main";