We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7866f63 commit 6580568Copy full SHA for 6580568
1 file changed
src/bg/RequestGuard.js
@@ -246,7 +246,11 @@ var RequestGuard = (() => {
246
let recipient = {frameId: 0};
247
for (let tab of await browser.tabs.query({url: ["http://*/*", "https://*/*"]})) {
248
recipient.tabId = tab.id;
249
- Messages.send("seen", payload, recipient);
+ try {
250
+ Messages.send("seen", payload, recipient);
251
+ } catch (e) {
252
+ // likely a privileged tab where our content script couldn't run
253
+ }
254
}
255
256
return;
0 commit comments