diff --git a/extension/background.js b/extension/background.js index cb4ff04..fa43ec5 100644 --- a/extension/background.js +++ b/extension/background.js @@ -110,6 +110,9 @@ async function handleContentScriptMessage({type, params, host}) { return result } + case 'ping': { + return 'pong' + } } return diff --git a/extension/common.js b/extension/common.js index 5264fe2..3042a56 100644 --- a/extension/common.js +++ b/extension/common.js @@ -1,6 +1,7 @@ import browser from 'webextension-polyfill' export const NO_PERMISSIONS_REQUIRED = { + ping: true, replaceURL: true }