fix(browser-extension): issue #714
This commit is contained in:
parent
57aed8a6c4
commit
75af9b6a02
@ -235,7 +235,9 @@ function match(element, skipMatch) {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (element.hasAttributes()) {
|
const hasAttributes = !!element.getAttributeNames().filter((x) => x !== 'data-nosnippet').length;
|
||||||
|
|
||||||
|
if (hasAttributes) {
|
||||||
// 2023-06-10: fix #113 temporarily
|
// 2023-06-10: fix #113 temporarily
|
||||||
if (element.classList.contains('chat-line__message')) {
|
if (element.classList.contains('chat-line__message')) {
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user