feat(browser-extension): minor improvement if tags are not loaded
This commit is contained in:
parent
cb8f173226
commit
072f684e74
@ -112,7 +112,7 @@ function match(element, skipMatch) {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (data?.tags.includes(element.tagName?.toUpperCase?.())) {
|
if (!data?.tags?.length || data.tags.includes(element.tagName?.toUpperCase?.())) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user