From 46f443bdf404b5f5b81fa59899e271cb356e0598 Mon Sep 17 00:00:00 2001 From: sameerasw Date: Wed, 5 Mar 2025 19:10:38 +0530 Subject: minor website detection text bug fix --- .gitignore | 4 +++- manifest.json | 2 +- popup/popup.js | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 3a92e8d..552704b 100644 --- a/.gitignore +++ b/.gitignore @@ -15,4 +15,6 @@ builds/ # macos .DS_Store .AppleDouble -.LSOverride \ No newline at end of file +.LSOverride + +.zip \ No newline at end of file diff --git a/manifest.json b/manifest.json index 2749856..3ad194a 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 2, "name": "Zen Internet", - "version": "1.4.0", + "version": "1.4.1", "description": "Inject custom css from my repository in real time", "browser_specific_settings": { "gecko": { diff --git a/popup/popup.js b/popup/popup.js index ece8633..71ad967 100644 --- a/popup/popup.js +++ b/popup/popup.js @@ -227,7 +227,7 @@ new (class ExtensionPopup { const features = styles[currentSiteKey]; - if (this.globalSettings.forceStyling) { + if (!currentSiteKey || currentSiteKey === "example.com.css") { const skipForceThemingToggle = document.createElement("div"); skipForceThemingToggle.className = "toggle-container"; skipForceThemingToggle.innerHTML = ` -- cgit v1.2.3