Atualiza seletores do paywall

master
Rodrigo Orem 2021-09-18 23:55:57 -03:00 committed by GitHub
parent 283f7bca73
commit 9d114c12b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 5 deletions

View File

@ -77,11 +77,7 @@ const INJECTION = {
observador: {
url: /observador.pt/,
code: `
if (!document.body.classList.contains('premium-article'))
return;
document.body.classList.remove('premium-article');
const paywall = document.querySelector('.premium-paywall');
paywall.parentElement.removeChild(paywall);
document.querySelector('.piano-article-blocker').remove();
document.querySelector('.article-body-wrapper').style.maxHeight = 'inherit';
`
}