mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-09-20 02:11:06 +02:00
Fix ElMundo.es (amp)
This commit is contained in:
parent
eda650a4a8
commit
0242681813
4 changed files with 8 additions and 2 deletions
|
@ -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"
|
||||
}
|
2
sites.js
2
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,
|
||||
|
|
Loading…
Reference in a new issue