We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9725c5f commit d64627bCopy full SHA for d64627b
src/background/services/background.ts
@@ -92,9 +92,13 @@ export class Background {
92
js: ['polyfill/polyfill.js'],
93
matches: this.browser.runtime.getManifest().host_permissions,
94
runAt: 'document_start',
95
+ persistAcrossSessions: false,
96
},
97
]);
98
} catch (error) {
99
+ if (/duplicate/i.test(error.message)) {
100
+ return;
101
+ }
102
// Firefox <128 will throw saying world: MAIN isn't supported. So, we'll
103
// inject via contentScript later. Injection via contentScript is slow,
104
// but apart from WM detection on page-load, everything else works fine.
0 commit comments