mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 06:47:47 +01:00
Fix-update MIT Technology Review (overlay)
This commit is contained in:
parent
18eb966018
commit
2082e40cd1
1 changed files with 6 additions and 0 deletions
|
@ -375,6 +375,12 @@ else if (matchDomain("technologyreview.com")) {
|
|||
let overlay = document.querySelector('div[class*="overlayFooter__wrapper"]');
|
||||
if (overlay)
|
||||
overlay.setAttribute('style', 'display:none');
|
||||
let content_body_hidden = document.querySelector('div[class*="contentBody__contentHidden"]');
|
||||
if (content_body_hidden)
|
||||
removeClassesByPrefix(content_body_hidden, 'contentBody__contentHidden');
|
||||
let content_body_overlay = document.querySelector('div[class*="contentBody__overlay"]');
|
||||
if (content_body_overlay)
|
||||
content_body_overlay.removeAttribute('class');
|
||||
}, 500);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue