fix(browser-extension): issue #701

This commit is contained in:
wanhose 2024-08-03 09:22:04 +02:00
parent d7fcc2d433
commit 2edd94d709

View File

@ -223,11 +223,16 @@ function match(element, skipMatch) {
}
if (element.hasAttributes()) {
// 2023-06-10: fix twitch.tv temporarily
// 2023-06-10: fix #113 temporarily
if (element.classList.contains('chat-line__message')) {
return false;
}
// 2024-08-03: fix #701 temporarily
if (element.classList.contains('sellos')) {
return false;
}
const isDialog = tagName === 'DIALOG' && element.getAttribute('open') === 'true';
const isFakeDialog = tagName === 'DIV' && element.className.includes('cmp');