mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 06:27:48 +01:00
Add El Observador, El Pais & La Diaria (Uruguay)
This commit is contained in:
parent
4050c3a7ce
commit
b8bff621bc
8 changed files with 78 additions and 11 deletions
|
@ -883,6 +883,10 @@ Grouped in options:\
|
||||||
[Diario Correo](https://diariocorreo.pe) -
|
[Diario Correo](https://diariocorreo.pe) -
|
||||||
[El Comercio](https://elcomercio.pe) -
|
[El Comercio](https://elcomercio.pe) -
|
||||||
[Gestión](https://gestion.pe)
|
[Gestión](https://gestion.pe)
|
||||||
|
##### Uruguay
|
||||||
|
[El Observador](https://www.elobservador.com.uy) -
|
||||||
|
[El País](https://www.elpais.com.uy) -
|
||||||
|
[La Diaria](https://ladiaria.com.uy)
|
||||||
|
|
||||||
_* free articles only._
|
_* free articles only._
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Firefox
|
||||||
Updates: https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/releases
|
Updates: https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/releases
|
||||||
|
|
||||||
Post-release
|
Post-release
|
||||||
|
Add El Observador, El Pais & La Diaria (Uruguay)
|
||||||
Add Jacobin.de
|
Add Jacobin.de
|
||||||
|
|
||||||
* v3.1.3.0 (2023-04-10)
|
* v3.1.3.0 (2023-04-10)
|
||||||
|
|
|
@ -2667,7 +2667,7 @@ else if (matchDomain(uk_nat_world_domains) || document.querySelector('footer > d
|
||||||
else
|
else
|
||||||
csDone = true;
|
csDone = true;
|
||||||
|
|
||||||
} else if (window.location.hostname.match(/\.(ar|br|cl|pe)$/) || matchDomain(['clarin.com', 'elespectador.com', 'elmercurio.com', 'eltiempo.com', 'latercera.com', 'lasegunda.com', 'valor.globo.com'])) {//south america
|
} else if (window.location.hostname.match(/\.(ar|br|cl|pe|uy)$/) || matchDomain(['clarin.com', 'elespectador.com', 'elmercurio.com', 'eltiempo.com', 'latercera.com', 'lasegunda.com', 'valor.globo.com'])) {//south america
|
||||||
|
|
||||||
if (matchDomain('abril.com.br')) {
|
if (matchDomain('abril.com.br')) {
|
||||||
if (window.location.pathname.endsWith('/amp/')) {
|
if (window.location.pathname.endsWith('/amp/')) {
|
||||||
|
@ -2733,6 +2733,28 @@ else if (matchDomain('elmercurio.com')) {
|
||||||
}, 3000);
|
}, 3000);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
else if (matchDomain('elobservador.com.uy')) {
|
||||||
|
if (window.location.pathname.endsWith('/amp')) {
|
||||||
|
amp_unhide_access_hide('="observador.mostrarNota"');
|
||||||
|
let amp_images = document.querySelectorAll('div.fixed-container > amp-img.null');
|
||||||
|
for (let amp_image of amp_images) {
|
||||||
|
let elem = document.createElement('img');
|
||||||
|
Object.assign(elem, {
|
||||||
|
src: amp_image.getAttribute('src'),
|
||||||
|
alt: amp_image.getAttribute('alt'),
|
||||||
|
title: amp_image.getAttribute('title')
|
||||||
|
});
|
||||||
|
amp_image.parentNode.replaceChild(elem, amp_image);
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
let paywall = document.querySelector('div.mensaje_member');
|
||||||
|
if (paywall) {
|
||||||
|
removeDOMElement(paywall);
|
||||||
|
window.location.href = window.location.pathname + '/amp';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
else if (matchDomain('eltiempo.com')) {
|
else if (matchDomain('eltiempo.com')) {
|
||||||
let modulos = document.querySelector('div.modulos');
|
let modulos = document.querySelector('div.modulos');
|
||||||
if (modulos)
|
if (modulos)
|
||||||
|
@ -2797,6 +2819,16 @@ else if (matchDomain('blogfolha.uol.com.br')) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
else if (matchDomain('ladiaria.com.uy')) {
|
||||||
|
if (window.location.search.startsWith('?display=amp')) {
|
||||||
|
csDoneOnce = true;
|
||||||
|
ampToHtml();
|
||||||
|
} else {
|
||||||
|
let banners = document.querySelectorAll('div.softwall, div.subscribe-notice');
|
||||||
|
removeDOMElement(...banners);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
else if (matchDomain('latercera.com')) {
|
else if (matchDomain('latercera.com')) {
|
||||||
let subscr_banner = document.querySelector('.empty');
|
let subscr_banner = document.querySelector('.empty');
|
||||||
removeDOMElement(subscr_banner);
|
removeDOMElement(subscr_banner);
|
||||||
|
@ -4995,7 +5027,7 @@ function amp_unhide_subscr_section(amp_ads_sel = 'amp-ad, .ad', replace_iframes
|
||||||
}
|
}
|
||||||
|
|
||||||
function amp_unhide_access_hide(amp_access = '', amp_access_not = '', amp_ads_sel = 'amp-ad, .ad', replace_iframes = true, amp_iframe_link = false, source = '') {
|
function amp_unhide_access_hide(amp_access = '', amp_access_not = '', amp_ads_sel = 'amp-ad, .ad', replace_iframes = true, amp_iframe_link = false, source = '') {
|
||||||
let access_hide = document.querySelectorAll('[amp-access' + amp_access + '][amp-access-hide]:not([amp-access="error"], [amp-access^="message"])');
|
let access_hide = document.querySelectorAll('[amp-access' + amp_access + '][amp-access-hide]:not([amp-access="error"], [amp-access^="message"]):not(.piano)');
|
||||||
for (let elem of access_hide)
|
for (let elem of access_hide)
|
||||||
elem.removeAttribute('amp-access-hide');
|
elem.removeAttribute('amp-access-hide');
|
||||||
if (amp_access_not) {
|
if (amp_access_not) {
|
||||||
|
|
|
@ -51,5 +51,5 @@
|
||||||
"webRequestBlocking",
|
"webRequestBlocking",
|
||||||
"*://*/*"
|
"*://*/*"
|
||||||
],
|
],
|
||||||
"version": "3.1.3.1"
|
"version": "3.1.3.2"
|
||||||
}
|
}
|
||||||
|
|
|
@ -107,11 +107,6 @@
|
||||||
"cs_code": "[{\"cond\":\"div.article-body-wrapper__styled[style]\",\"rm_attrib\":\"style\"},{\"cond\":\"div.post\",\"rm_elem\":1}]",
|
"cs_code": "[{\"cond\":\"div.article-body-wrapper__styled[style]\",\"rm_attrib\":\"style\"},{\"cond\":\"div.post\",\"rm_elem\":1}]",
|
||||||
"domain": "elfinancierocr.com"
|
"domain": "elfinancierocr.com"
|
||||||
},
|
},
|
||||||
"Elpais.com.uy": {
|
|
||||||
"allow_cookies": 1,
|
|
||||||
"amp_redirect": "div.contenido-exclusivo-nota",
|
|
||||||
"domain": "elpais.com.uy"
|
|
||||||
},
|
|
||||||
"Eluniversal.com.mx": {
|
"Eluniversal.com.mx": {
|
||||||
"allow_cookies": 1,
|
"allow_cookies": 1,
|
||||||
"block_regex": "\\.tinypass\\.com",
|
"block_regex": "\\.tinypass\\.com",
|
||||||
|
|
|
@ -122,7 +122,6 @@
|
||||||
"*://*.brisbanetimes.com.au/*",
|
"*://*.brisbanetimes.com.au/*",
|
||||||
"*://*.britannica.com/*",
|
"*://*.britannica.com/*",
|
||||||
"*://*.buffalonews.com/*",
|
"*://*.buffalonews.com/*",
|
||||||
"*://*.business-standard.com/*",
|
|
||||||
"*://*.businessinsider.com/*",
|
"*://*.businessinsider.com/*",
|
||||||
"*://*.businessoffashion.com/*",
|
"*://*.businessoffashion.com/*",
|
||||||
"*://*.businesspost.ie/*",
|
"*://*.businesspost.ie/*",
|
||||||
|
@ -215,6 +214,8 @@
|
||||||
"*://*.elmercurio.com/*",
|
"*://*.elmercurio.com/*",
|
||||||
"*://*.elmundo.es/*",
|
"*://*.elmundo.es/*",
|
||||||
"*://*.elnortedecastilla.es/*",
|
"*://*.elnortedecastilla.es/*",
|
||||||
|
"*://*.elobservador.com.uy/*",
|
||||||
|
"*://*.elpais.com.uy/*",
|
||||||
"*://*.elpais.com/*",
|
"*://*.elpais.com/*",
|
||||||
"*://*.elperiodico.com/*",
|
"*://*.elperiodico.com/*",
|
||||||
"*://*.eltiempo.com/*",
|
"*://*.eltiempo.com/*",
|
||||||
|
@ -345,6 +346,7 @@
|
||||||
"*://*.la-croix.com/*",
|
"*://*.la-croix.com/*",
|
||||||
"*://*.labusinessjournal.com/*",
|
"*://*.labusinessjournal.com/*",
|
||||||
"*://*.ladepeche.fr/*",
|
"*://*.ladepeche.fr/*",
|
||||||
|
"*://*.ladiaria.com.uy/*",
|
||||||
"*://*.lalibre.be/*",
|
"*://*.lalibre.be/*",
|
||||||
"*://*.lalsace.fr/*",
|
"*://*.lalsace.fr/*",
|
||||||
"*://*.lamontagne.fr/*",
|
"*://*.lamontagne.fr/*",
|
||||||
|
@ -606,8 +608,8 @@
|
||||||
"*://*.theatlantic.com/*",
|
"*://*.theatlantic.com/*",
|
||||||
"*://*.theaustralian.com.au/*",
|
"*://*.theaustralian.com.au/*",
|
||||||
"*://*.thebanker.com/*",
|
"*://*.thebanker.com/*",
|
||||||
"*://*.thechronicle.com.au/*",
|
|
||||||
"*://*.thebulletin.org/*",
|
"*://*.thebulletin.org/*",
|
||||||
|
"*://*.thechronicle.com.au/*",
|
||||||
"*://*.thecourier.com.au/*",
|
"*://*.thecourier.com.au/*",
|
||||||
"*://*.thecritic.co.uk/*",
|
"*://*.thecritic.co.uk/*",
|
||||||
"*://*.thecut.com/*",
|
"*://*.thecut.com/*",
|
||||||
|
@ -748,5 +750,5 @@
|
||||||
"*://*.wallkit.net/*",
|
"*://*.wallkit.net/*",
|
||||||
"*://webcache.googleusercontent.com/*"
|
"*://webcache.googleusercontent.com/*"
|
||||||
],
|
],
|
||||||
"version": "3.1.3.1"
|
"version": "3.1.3.2"
|
||||||
}
|
}
|
||||||
|
|
15
sites.js
15
sites.js
|
@ -472,12 +472,22 @@ var defaultSites = {
|
||||||
block_regex: /\.(elmercurio\.com|emol\.cl)\/(.+\/)?js\/(.+\/)?(modal|merPramV\d|PramModal\.min)\.js/,
|
block_regex: /\.(elmercurio\.com|emol\.cl)\/(.+\/)?js\/(.+\/)?(modal|merPramV\d|PramModal\.min)\.js/,
|
||||||
useragent: "googlebot"
|
useragent: "googlebot"
|
||||||
},
|
},
|
||||||
|
"El Observador.com.uy": {
|
||||||
|
domain: "elobservador.com.uy",
|
||||||
|
allow_cookies: 1,
|
||||||
|
block_regex: /(\.elobservador\.com\.uy\/shares|cdn\.ampproject\.org\/v\d\/amp-access-.+\.js)/
|
||||||
|
},
|
||||||
"El País": {
|
"El País": {
|
||||||
domain: "elpais.com",
|
domain: "elpais.com",
|
||||||
allow_cookies: 1,
|
allow_cookies: 1,
|
||||||
block_js_inline: /\.elpais\.com\/.+\.html/,
|
block_js_inline: /\.elpais\.com\/.+\.html/,
|
||||||
block_regex: /(\/elpais\.com\/arc\/subs\/p\.min\.js|cdn\.ampproject\.org\/v\d\/amp-access-.+\.js)/
|
block_regex: /(\/elpais\.com\/arc\/subs\/p\.min\.js|cdn\.ampproject\.org\/v\d\/amp-access-.+\.js)/
|
||||||
},
|
},
|
||||||
|
"El País.com.uy": {
|
||||||
|
domain: "elpais.com.uy",
|
||||||
|
allow_cookies: 1,
|
||||||
|
block_regex: /(\.elpais\.com\.uy\/user\/authStatus|\.evolok\.net\/|cdn\.cxense\.com\/)/
|
||||||
|
},
|
||||||
"El Periódico (de Catalunya)": {
|
"El Periódico (de Catalunya)": {
|
||||||
domain: "elperiodico.com",
|
domain: "elperiodico.com",
|
||||||
allow_cookies: 1,
|
allow_cookies: 1,
|
||||||
|
@ -1067,6 +1077,11 @@ var defaultSites = {
|
||||||
allow_cookies: 1,
|
allow_cookies: 1,
|
||||||
block_regex: /(\.la-croix\.com\/build\/.+\/paywall.+\.js|cdn\.ampproject\.org\/v\d\/amp-access-.+\.js)/
|
block_regex: /(\.la-croix\.com\/build\/.+\/paywall.+\.js|cdn\.ampproject\.org\/v\d\/amp-access-.+\.js)/
|
||||||
},
|
},
|
||||||
|
"La Diaria.com.uy": {
|
||||||
|
domain: "ladiaria.com.uy",
|
||||||
|
allow_cookies: 1,
|
||||||
|
useragent: "googlebot"
|
||||||
|
},
|
||||||
"La Gazzetta dello Sport": {
|
"La Gazzetta dello Sport": {
|
||||||
domain: "gazzetta.it",
|
domain: "gazzetta.it",
|
||||||
allow_cookies: 1
|
allow_cookies: 1
|
||||||
|
|
|
@ -10,6 +10,19 @@
|
||||||
"block_regex": "(\\.piano\\.io\\/xbuilder\\/experience\\/execute|cdn\\.cxense\\.com\\/|cdn\\.ampproject\\.org\\/v\\d\\/amp-access-.+\\.js)",
|
"block_regex": "(\\.piano\\.io\\/xbuilder\\/experience\\/execute|cdn\\.cxense\\.com\\/|cdn\\.ampproject\\.org\\/v\\d\\/amp-access-.+\\.js)",
|
||||||
"cs_code": "[{\"cond\":\".is-preview\",\"rm_class\":\"is-preview\"},{\"cond\":\".is-hidden\",\"rm_class\":\"is-hidden\"}]"
|
"cs_code": "[{\"cond\":\".is-preview\",\"rm_class\":\"is-preview\"},{\"cond\":\".is-hidden\",\"rm_class\":\"is-hidden\"}]"
|
||||||
},
|
},
|
||||||
|
"El Observador.com.uy": {
|
||||||
|
"domain": "elobservador.com.uy",
|
||||||
|
"allow_cookies": 1,
|
||||||
|
"amp_redirect": "div.mensaje_member",
|
||||||
|
"amp_unhide": 1,
|
||||||
|
"block_regex": "(\\.elobservador\\.com\\.uy\\/shares|cdn\\.ampproject\\.org\\/v\\d\\/amp-access-.+\\.js)",
|
||||||
|
"new_site": 1
|
||||||
|
},
|
||||||
|
"El País.com.uy": {
|
||||||
|
"domain": "elpais.com.uy",
|
||||||
|
"allow_cookies": 1,
|
||||||
|
"block_regex": "(\\.elpais\\.com\\.uy\\/user\\/authStatus|\\.evolok\\.net\\/|cdn\\.cxense\\.com\\/)"
|
||||||
|
},
|
||||||
"Epicurious": {
|
"Epicurious": {
|
||||||
"domain": "epicurious.com",
|
"domain": "epicurious.com",
|
||||||
"allow_cookies": 1,
|
"allow_cookies": 1,
|
||||||
|
@ -22,6 +35,11 @@
|
||||||
"remove_cookies_select_drop": ["TID_ID"],
|
"remove_cookies_select_drop": ["TID_ID"],
|
||||||
"block_regex": "(\\.flair\\.nl\\/temptation\\/resolve|temptation\\.flair\\.nl\\/temptation\\.js)"
|
"block_regex": "(\\.flair\\.nl\\/temptation\\/resolve|temptation\\.flair\\.nl\\/temptation\\.js)"
|
||||||
},
|
},
|
||||||
|
"La Diaria.com.uy": {
|
||||||
|
"domain": "ladiaria.com.uy",
|
||||||
|
"allow_cookies": 1,
|
||||||
|
"useragent": "googlebot"
|
||||||
|
},
|
||||||
"La Libre.be": {
|
"La Libre.be": {
|
||||||
"domain": "lalibre.be",
|
"domain": "lalibre.be",
|
||||||
"allow_cookies": 1,
|
"allow_cookies": 1,
|
||||||
|
|
Loading…
Reference in a new issue