new Vivaldi uses vivExtData
This commit is contained in:
parent
a77996df60
commit
b5fd8b63dc
|
@ -248,7 +248,7 @@ const tokenMan = (() => {
|
||||||
// Workaround for https://github.com/openstyles/stylus/issues/1182
|
// Workaround for https://github.com/openstyles/stylus/issues/1182
|
||||||
// Note that modern Vivaldi isn't exposed in `navigator.userAgent` but it adds `extData` to tabs
|
// Note that modern Vivaldi isn't exposed in `navigator.userAgent` but it adds `extData` to tabs
|
||||||
const anyTab = await getActiveTab() || (await browser.tabs.query({}))[0];
|
const anyTab = await getActiveTab() || (await browser.tabs.query({}))[0];
|
||||||
if (anyTab && !anyTab.extData) {
|
if (anyTab && !(anyTab.extData || anyTab.vivExtData)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
let bugged = true;
|
let bugged = true;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user