Fix ElMundo.es (amp)

merge-requests/2/head
magnolia1234 3 years ago
parent eda650a4a8
commit 0242681813

@ -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)

@ -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);
}

@ -558,5 +558,5 @@
"*://*.wallkit.net/*",
"*://*.wsj.net/*"
],
"version": "2.4.2.4"
"version": "2.4.2.5"
}

@ -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,

Loading…
Cancel
Save