diff options
author | sameerasw <[email protected]> | 2025-03-05 19:10:38 +0530 |
---|---|---|
committer | sameerasw <[email protected]> | 2025-03-05 19:10:41 +0530 |
commit | 46f443bdf404b5f5b81fa59899e271cb356e0598 (patch) | |
tree | ca1229f4e70a3247288e431f62212aa8c98815c2 | |
parent | 6b25539949e6235d3aaacd8278f06a0002f8edf7 (diff) |
minor website detection text bug fix
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | manifest.json | 2 | ||||
-rw-r--r-- | popup/popup.js | 2 |
3 files changed, 5 insertions, 3 deletions
@@ -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 = ` |