Atualiza regra de paywall para sites Abril

master
Rodrigo O 2020-09-20 12:58:53 -03:00
parent 2a0675e726
commit ff0285725b
1 changed files with 3 additions and 4 deletions

View File

@ -1,9 +1,8 @@
// run_at: document_idle
const ABRIL_CODE = `
document.querySelectorAll('.callpaywall')
.forEach(x => x.remove());
document.querySelectorAll('.content-blocked')
.forEach(x => x.classList.remove('content-blocked'))
document.querySelector('body').classList.remove('disabledByPaywall')
document.querySelector('.piano-offer-overlay').remove()
document.querySelector('#piano_offer').remove()
`;
const INJECTION = {