Add checking for user agent to popup script

pull/9/head
trivernis 10 months ago
parent c2e672ea29
commit c526911449
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

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