fix(browser-extension): issue #714

This commit is contained in:
wanhose 2024-08-04 09:31:23 +02:00
parent 57aed8a6c4
commit 75af9b6a02

View File

@ -235,7 +235,9 @@ function match(element, skipMatch) {
return false;
}
if (element.hasAttributes()) {
const hasAttributes = !!element.getAttributeNames().filter((x) => x !== 'data-nosnippet').length;
if (hasAttributes) {
// 2023-06-10: fix #113 temporarily
if (element.classList.contains('chat-line__message')) {
return false;