Fix popup script fetching from local domain #6

Merged
Trivernis merged 1 commits from main into prod 1 year ago

@ -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