fix rules for delfi.ee (#1150)

- update ad-block element properties
This commit is contained in:
laur89 2021-03-09 05:37:59 +01:00 committed by GitHub
parent dac780498d
commit 45ab0e86ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -497,8 +497,8 @@ if (matchDomain('elmercurio.com')) {
removeDOMElement(paywall);
} else if (matchDomain('delfi.ee')) {
// Remove 'adblocker-detected' notification overlay
document.body.classList.remove('adb-curtain');
const el = document.getElementById('ab--notification-header');
document.body.classList.remove('U-overflow-hidden');
const el = document.getElementsByClassName('C-ad-block-layer')[0];
removeDOMElement(el);
} else if (matchDomain(['postimees.ee', 'elu24.ee'])) {
setTimeout(function () {