- import browser from 'webextension-polyfill'
-
- import pageActionButton from './pageActionButton'
- import { toggleEnabled, isEnabled } from './perOrigin'
-
-
- pageActionButton({ predicate: tab => true })
- browser.pageAction.onClicked.addListener(tab => toggleEnabled(tab.url))
|