Fix: dom.js is not a content script anymore
This commit is contained in:
parent
7266c38d56
commit
2b614bdee2
|
@ -47,7 +47,7 @@ onDOMready().then(() => {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
if (navigator.userAgent.includes('Firefox') && chrome.windows) {
|
if (navigator.userAgent.includes('Firefox')) {
|
||||||
// die if unable to access BG directly
|
// die if unable to access BG directly
|
||||||
chrome.windows.getCurrent(wnd => {
|
chrome.windows.getCurrent(wnd => {
|
||||||
if (!BG && wnd.incognito) {
|
if (!BG && wnd.incognito) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user