Ignore about: tabs on broadcast
This commit is contained in:
parent
f707f4da75
commit
0a1aeb2342
1 changed files with 3 additions and 0 deletions
|
@ -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,
|
||||
});
|
||||
|
|
Reference in a new issue