Changes

Jump to navigation Jump to search
Better style
if (location.href.startsWith("http://")) {
var nav = document.querySelector("#p-navigation ul");
var a li = document.createElement("ali"); a.var href = "https://" + location.href.substring("http://".length); li.innerHTML = '<a.innerText href= "' + href + '">Upgrade to HTTPS</a>"; nav.insertBefore(aali, nav.children[1]);
}

Navigation menu