From 2b614bdee29e5df0ad09d22d35358e82a74a3d95 Mon Sep 17 00:00:00 2001 From: eight Date: Thu, 9 Nov 2017 08:15:36 +0800 Subject: [PATCH] Fix: dom.js is not a content script anymore --- js/dom.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/dom.js b/js/dom.js index f2d6ac49..02c3e330 100644 --- a/js/dom.js +++ b/js/dom.js @@ -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 chrome.windows.getCurrent(wnd => { if (!BG && wnd.incognito) {