new Vivaldi uses vivExtData

This commit is contained in:
tophf 2022-06-04 19:20:20 +03:00
parent a77996df60
commit b5fd8b63dc

View File

@ -248,7 +248,7 @@ const tokenMan = (() => {
// 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
const anyTab = await getActiveTab() || (await browser.tabs.query({}))[0];
if (anyTab && !anyTab.extData) {
if (anyTab && !(anyTab.extData || anyTab.vivExtData)) {
return false;
}
let bugged = true;