Merge pull request 'Fix popup script fetching from local domain' (#6) from main into prod

Reviewed-on: Trivernis/no-chromium#6
prod
Trivernis 1 year ago
commit b472e7e7ce

@ -2,7 +2,7 @@ async function showNoChromiumPopup() {
if (localStorage.getItem("no-chromium-popup-shown") != "1") { if (localStorage.getItem("no-chromium-popup-shown") != "1") {
const divPage = document.createElement("div"); const divPage = document.createElement("div");
const response = await fetch("/popup/"); const response = await fetch("https://no-chromium.org/popup/");
divPage.innerHTML = await response.text(); divPage.innerHTML = await response.text();
for (const child of divPage.querySelectorAll("#no-chromium-head > *")) { for (const child of divPage.querySelectorAll("#no-chromium-head > *")) {

Loading…
Cancel
Save