From ff0285725b71efe420aa9407ea52f37fda92779c Mon Sep 17 00:00:00 2001 From: Rodrigo O Date: Sun, 20 Sep 2020 12:58:53 -0300 Subject: [PATCH] Atualiza regra de paywall para sites Abril --- src/content.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/content.js b/src/content.js index 3d33291..938f95e 100644 --- a/src/content.js +++ b/src/content.js @@ -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 = {