diff options
-rw-r--r-- | manifest.json | 2 | ||||
-rw-r--r-- | popup/popup.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/manifest.json b/manifest.json index 2034b23..5ae275c 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 2, "name": "Zen Internet", - "version": "1.1.1", + "version": "1.1.2", "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 d6495d5..aa0d556 100644 --- a/popup/popup.js +++ b/popup/popup.js @@ -254,7 +254,7 @@ new (class ExtensionPopup { let siteKey = null; for (const site of Object.keys(styles)) { const siteName = site.replace(/\.css$/, ""); - if (hostname.includes(siteName)) { + if (hostname === siteName || hostname === `www.${siteName}`) { siteKey = site; break; } |