diff --git a/src/manifest.v2.json b/src/manifest.v2.json index abccea6..ff5e1c7 100644 --- a/src/manifest.v2.json +++ b/src/manifest.v2.json @@ -23,7 +23,7 @@ ] }, "browser_action": { - "default_popup": "popup.html" + "default_popup": "popup.html?popup=true" }, "options_ui": { "page": "popup.html", diff --git a/src/popup/Popup.jsx b/src/popup/Popup.jsx index f13d60a..3bfcb38 100644 --- a/src/popup/Popup.jsx +++ b/src/popup/Popup.jsx @@ -24,7 +24,7 @@ import wechatpay from './donation/wechatpay.jpg' import bugmeacoffee from './donation/bugmeacoffee.png' import { useWindowTheme } from '../hooks/use-window-theme.mjs' import { languageList } from '../config/language.mjs' -import { isFirefox, isSafari } from '../utils/index.mjs' +import { isSafari } from '../utils/index.mjs' import { useTranslation } from 'react-i18next' function GeneralPart({ config, updateConfig }) { @@ -307,9 +307,7 @@ function AdvancedPart({ config, updateConfig }) { updateConfig({ userSiteRegexOnly: checked }) }} /> - {`${t('Exclusively use Custom Site Regex for website matching,')}${ - isFirefox() ?
: ' ' - }${t('ignoring built-in rules')}`} + {t('Exclusively use Custom Site Regex for website matching, ignoring built-in rules')}