mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-04 12:00:10 +00:00
Fix ABC.es (amp)
This commit is contained in:
parent
efb2cc97a0
commit
3adcc0e4fd
@ -4,6 +4,7 @@ Changelog Bypass Paywalls Clean - Firefox
|
||||
Post-release
|
||||
Add Koelner Stadt-Anzeiger & Koelnische Rundschau
|
||||
Add The (New Orleans) Advocate
|
||||
Fix ABC.es (amp)
|
||||
Fix Funke Mediengruppe (amp)
|
||||
Fix Lecho.be (separate from Groupe Rossel)
|
||||
Fix Repubblica sites (no amp)
|
||||
|
@ -648,7 +648,15 @@ else
|
||||
|
||||
} else if (window.location.hostname.match(/\.(es|pt)$/) || matchDomain(['diariovasco.com', 'elconfidencial.com', 'elcorreo.com', 'elespanol.com', 'elpais.com', 'elperiodico.com', 'elperiodicomediterraneo.com', 'expansion.com', 'larioja.com', 'lavanguardia.com', 'levante-emv.com', 'marca.com', 'politicaexterior.com'])) {//spain/portugal
|
||||
|
||||
if (matchDomain('cmjornal.pt')) {
|
||||
if (matchDomain('abc.es')) {
|
||||
if (window.location.pathname.endsWith('_amp.html')) {
|
||||
amp_unhide_access_hide('="result=\'ALLOW_ACCESS\'"', '', 'amp-ad, amp-embed');
|
||||
premium_banner = document.querySelector('.cierre-suscripcion');
|
||||
removeDOMElement(premium_banner);
|
||||
}
|
||||
}
|
||||
|
||||
else if (matchDomain('cmjornal.pt')) {
|
||||
let paywall = document.querySelector('.bloqueio_exclusivos');
|
||||
let amphtml = document.querySelector('link[rel="amphtml"]');
|
||||
let url = window.location.href;
|
||||
|
Loading…
Reference in New Issue
Block a user