ソースを参照

Disabled page action for all but http(s)

master
Said Achmiz 6年前
コミット
db2f3e391c
1個のファイルの変更1行の追加1行の削除
  1. 1
    1
      background.js

+ 1
- 1
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() ]
}]);

読み込み中…
キャンセル
保存