Changes

Jump to navigation Jump to search
Test
if (location.href.startsWith("http://")) {
let nav = document.querySelector("#p-navigation ul");
let a = document.createElement("a")
a.href = "https://" + location.href.substring("http://".length);
a.innerText = "Upgrade to HTTPS";
nav.insertAfter(nav.children[0]);
}

Navigation menu