javascript:(function(){ if (location.href.indexOf("http") !== -1) { location.href = location.href.replace("http", "https"); } })();