diff --git a/background.js b/background.js index 9527931..740c807 100644 --- a/background.js +++ b/background.js @@ -4,7 +4,7 @@ chrome.runtime.onInstalled.addListener(() => { chrome.declarativeContent.onPageChanged.removeRules(undefined, () => { chrome.declarativeContent.onPageChanged.addRules([{ conditions: [ new chrome.declarativeContent.PageStateMatcher({ - pageUrl: { }, + pageUrl: { schemes: [ 'http', 'https' ] }, }) ], actions: [ new chrome.declarativeContent.ShowPageAction() ] }]);