Fix El Periodico de Catalunya (amp)

This commit is contained in:
magnolia1234 2021-09-28 21:17:52 +02:00
parent 798ff94f3c
commit 3ea2c9bd8b
4 changed files with 5 additions and 4 deletions

View File

@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Chrome
Post-release
Remove Gazet van Antwerpen (obsolete)
Fix El Periodico de Catalunya (amp)
Fix Foreign Affairs (timing)
Fix Telerama.fr (mobile)

View File

@ -708,9 +708,9 @@ else if (matchDomain('elperiodico.com')) {
} else {
let not_logged = document.querySelector('.ep-masPeriodico-info-login');
if (not_logged) {
let non_subscr_section = document.querySelector('div[amp-access="NOT logged"]');
let non_subscr_section = document.querySelector('div[amp-access^="NOT logged"]');
removeDOMElement(not_logged, non_subscr_section);
let subscr_section = document.querySelector('div[amp-access="logged"][amp-access-hide]');
let subscr_section = document.querySelector('div[amp-access^="logged"][amp-access-hide]');
if (subscr_section)
subscr_section.removeAttribute('amp-access-hide');
}

View File

@ -39,5 +39,5 @@
"webRequestBlocking",
"<all_urls>"
],
"version": "2.3.7.1"
"version": "2.3.7.2"
}

View File

@ -548,5 +548,5 @@
"*://*.wallkit.net/*",
"*://*.wsj.net/*"
],
"version": "2.3.7.1"
"version": "2.3.7.2"
}