Fix El Periodico de Catalunya (amp)
This commit is contained in:
parent
798ff94f3c
commit
3ea2c9bd8b
@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Chrome
|
|||||||
|
|
||||||
Post-release
|
Post-release
|
||||||
Remove Gazet van Antwerpen (obsolete)
|
Remove Gazet van Antwerpen (obsolete)
|
||||||
|
Fix El Periodico de Catalunya (amp)
|
||||||
Fix Foreign Affairs (timing)
|
Fix Foreign Affairs (timing)
|
||||||
Fix Telerama.fr (mobile)
|
Fix Telerama.fr (mobile)
|
||||||
|
|
||||||
|
@ -708,9 +708,9 @@ else if (matchDomain('elperiodico.com')) {
|
|||||||
} else {
|
} else {
|
||||||
let not_logged = document.querySelector('.ep-masPeriodico-info-login');
|
let not_logged = document.querySelector('.ep-masPeriodico-info-login');
|
||||||
if (not_logged) {
|
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);
|
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)
|
if (subscr_section)
|
||||||
subscr_section.removeAttribute('amp-access-hide');
|
subscr_section.removeAttribute('amp-access-hide');
|
||||||
}
|
}
|
||||||
|
@ -39,5 +39,5 @@
|
|||||||
"webRequestBlocking",
|
"webRequestBlocking",
|
||||||
"<all_urls>"
|
"<all_urls>"
|
||||||
],
|
],
|
||||||
"version": "2.3.7.1"
|
"version": "2.3.7.2"
|
||||||
}
|
}
|
@ -548,5 +548,5 @@
|
|||||||
"*://*.wallkit.net/*",
|
"*://*.wallkit.net/*",
|
||||||
"*://*.wsj.net/*"
|
"*://*.wsj.net/*"
|
||||||
],
|
],
|
||||||
"version": "2.3.7.1"
|
"version": "2.3.7.2"
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user