aboutsummaryrefslogtreecommitdiff
path: root/src/background/infrastructures
diff options
context:
space:
mode:
Diffstat (limited to 'src/background/infrastructures')
-rw-r--r--src/background/infrastructures/ContentMessageClient.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/background/infrastructures/ContentMessageClient.js b/src/background/infrastructures/ContentMessageClient.js
index 7e7e602..0fab5a3 100644
--- a/src/background/infrastructures/ContentMessageClient.js
+++ b/src/background/infrastructures/ContentMessageClient.js
@@ -4,6 +4,9 @@ export default class ContentMessageClient {
async broadcastSettingsChanged() {
let tabs = await browser.tabs.query({});
for (let tab of tabs) {
+ if (tab.url.startsWith('about:')) {
+ continue;
+ }
browser.tabs.sendMessage(tab.id, {
type: messages.SETTINGS_CHANGED,
});