diff --git a/changelog.txt b/changelog.txt index 04bc8fe..a467c67 100644 --- a/changelog.txt +++ b/changelog.txt @@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Firefox Post-release Add Mitteldeutsche Zeitung +Fix ElMundo.es (amp) Fix Lee Enterprises Group Fix LesEchos.fr (json) Fix WaPo (images) diff --git a/contentScript.js b/contentScript.js index 4042cfd..43981df 100644 --- a/contentScript.js +++ b/contentScript.js @@ -680,6 +680,11 @@ else if (domain = matchDomain(es_unidad_domains)) { div_hidden.removeAttribute('amp-access-hide'); } } + let preview = document.querySelector('[subscriptions-section="content-not-granted"]'); + removeDOMElement(preview); + let subscr_section = document.querySelectorAll('[subscriptions-section="content"]'); + for (let elem of subscr_section) + elem.removeAttribute('subscriptions-section'); let adverts = document.querySelectorAll('.advertising, amp-embed, amp-ad'); removeDOMElement(...adverts); } diff --git a/manifest.json b/manifest.json index 337ce0f..f47dd8c 100644 --- a/manifest.json +++ b/manifest.json @@ -558,5 +558,5 @@ "*://*.wallkit.net/*", "*://*.wsj.net/*" ], - "version": "2.4.2.4" + "version": "2.4.2.5" } \ No newline at end of file diff --git a/sites.js b/sites.js index 692f501..e2e61db 100644 --- a/sites.js +++ b/sites.js @@ -1692,7 +1692,7 @@ var group_rules = { }, es_unidad_domains: { allow_cookies: 1, - block_regex: /cdn\.ampproject\.org\/v\d\/amp-(access|(sticky-)?ad|consent)-.+\.js/ + block_regex: /cdn\.ampproject\.org\/v\d\/amp-(access|(sticky-)?ad|consent|subscriptions)-.+\.js/ }, it_repubblica_domains: { allow_cookies: 1,