Ver código fonte

Disabled page action for all but http(s)

master
Said Achmiz 6 anos atrás
pai
commit
db2f3e391c
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1
    1
      background.js

+ 1
- 1
background.js Ver arquivo

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

Carregando…
Cancelar
Salvar