Corrige especial da Superinteressante (#97)
parent
9a4709f0f2
commit
2867c7f69b
|
@ -176,9 +176,10 @@ document.addEventListener('DOMContentLoaded', function() {
|
|||
|
||||
else if (/super\.abril\.com\.br/.test(document.location.host)) {
|
||||
code = `
|
||||
document.querySelector('.callpaywall').remove();
|
||||
document.querySelector('.content-blocked').classList
|
||||
.remove('content-blocked');
|
||||
document.querySelectorAll('.callpaywall')
|
||||
.forEach(x => x.remove());
|
||||
document.querySelectorAll('.content-blocked')
|
||||
.forEach(x => x.classList.remove('content-blocked'));
|
||||
`;
|
||||
}
|
||||
|
||||
|
|
|
@ -40,9 +40,10 @@ const INJECTION = {
|
|||
superinteressante: {
|
||||
url: /super.abril.com.br/,
|
||||
code: `
|
||||
document.querySelector('.callpaywall').remove();
|
||||
document.querySelector('.content-blocked').classList
|
||||
.remove('content-blocked');
|
||||
document.querySelectorAll('.callpaywall')
|
||||
.forEach(x => x.remove());
|
||||
document.querySelectorAll('.content-blocked')
|
||||
.forEach(x => x.classList.remove('content-blocked'))
|
||||
`
|
||||
},
|
||||
veja: {
|
||||
|
|
Loading…
Reference in New Issue