Fix popup script fetching from local domain

prod
trivernis 1 year ago
parent 5d2ddea3c3
commit e6b7a9849f
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

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