Merge pull request 'Add checking for user agent to popup script' (#9) from main into prod

Reviewed-on: #9
pull/13/head^2
Trivernis 10 months ago
commit 016e3a14c5

@ -1,5 +1,5 @@
async function showNoChromiumPopup() {
if (localStorage.getItem("no-chromium-popup-shown") != "1") {
if (navigator.userAgent.includes("Chrome") && localStorage.getItem("no-chromium-popup-shown") != "1") {
const divPage = document.createElement("div");
const response = await fetch("https://no-chromium.org/popup/");

Loading…
Cancel
Save