diff --git a/chrome/extension/popup/controller.js b/chrome/extension/popup/controller.js index f0bafa3b..85dfda9c 100644 --- a/chrome/extension/popup/controller.js +++ b/chrome/extension/popup/controller.js @@ -52,6 +52,8 @@ masterToggle.onchange = () => { settings.save('extensionDisabled', !config.extensionDisabled) Object.keys(sync).forEach(key => sync[key]()) // sync fade + storage to UI + notify(`${chrome.i18n.getMessage('appName')} 🧩 ${chrome.i18n.getMessage(`state_${ + config.extensionDisabled ? 'off' : 'on' }`).toUpperCase()}`) } // Create CHILD menu entries on matched pages diff --git a/firefox/extension/popup/controller.js b/firefox/extension/popup/controller.js index f0bafa3b..85dfda9c 100644 --- a/firefox/extension/popup/controller.js +++ b/firefox/extension/popup/controller.js @@ -52,6 +52,8 @@ masterToggle.onchange = () => { settings.save('extensionDisabled', !config.extensionDisabled) Object.keys(sync).forEach(key => sync[key]()) // sync fade + storage to UI + notify(`${chrome.i18n.getMessage('appName')} 🧩 ${chrome.i18n.getMessage(`state_${ + config.extensionDisabled ? 'off' : 'on' }`).toUpperCase()}`) } // Create CHILD menu entries on matched pages