We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1212ef1 commit 94edbe2Copy full SHA for 94edbe2
1 file changed
webextensions/edge/background.js
@@ -21,10 +21,11 @@ chrome.scripting.registerContentScripts([{
21
}]);
22
23
24
-chrome.runtime.onMessage.addListener((message, sender, sendResponse) => {
+chrome.runtime.onMessage.addListener((message, sender, _sendResponse) => {
25
console.log("accept message.");
26
if (message === 'cancel') {
27
- sendResponse(user);
+ const query = new String('Q ' + BROWSER);
28
+ chrome.runtime.sendNativeMessage(SERVER_NAME, query);
29
}
30
return true;
31
});
0 commit comments