fix(browser-extension): issue #644 temporarily

This commit is contained in:
wanhose 2024-08-02 19:39:52 +02:00
parent 1ea189525b
commit 83198c3b4f

View File

@ -205,7 +205,7 @@ function match(element, skipMatch) {
}
if (element.hasAttributes()) {
// 2023-06-10: twitch.tv temporary fix
// 2023-06-10: fix twitch.tv temporarily
if (element.classList.contains('chat-line__message')) {
return false;
}
@ -243,6 +243,9 @@ function fix() {
}
}
// 2024-08-02: fix #644 temporarily
document.getElementsByTagName('ion-router-outlet')[0]?.removeAttribute('inert');
for (const fix of fixes) {
const [match, selector, action, property] = fix.split('##');