Fix ElMundo.es (amp)
This commit is contained in:
parent
b96c51bd09
commit
991e403850
@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Chrome
|
||||
|
||||
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);
|
||||
}
|
||||
|
@ -39,5 +39,5 @@
|
||||
"webRequestBlocking",
|
||||
"<all_urls>"
|
||||
],
|
||||
"version": "2.4.2.4"
|
||||
"version": "2.4.2.5"
|
||||
}
|
@ -546,5 +546,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…
x
Reference in New Issue
Block a user