diff --git a/js/messaging.js b/js/messaging.js index 55809e50..432ba0fd 100644 --- a/js/messaging.js +++ b/js/messaging.js @@ -192,8 +192,10 @@ function openURL({url, currentWindow = true}) { chrome.tabs.update({url}, resolve); } else { // create a new tab - const openerSupported = !FIREFOX && tab && !chromeInIncognito; - const options = openerSupported ? {url, openerTabId: tab.id} : {url}; + const options = {url}; + if (tab && (!FIREFOX || FIREFOX >= 57) && !chromeInIncognito) { + options.openerTabId = tab.id; + } chrome.tabs.create(options, resolve); } });