Add LaVoz.com.ar

This commit is contained in:
magnolia1234 2022-10-02 08:40:43 +02:00
parent d78e70df3b
commit 2ec2d015b6
6 changed files with 18 additions and 6 deletions

View file

@ -784,7 +784,8 @@ Grouped in options:\
##### Argentina
[Ámbito](https://www.ambito.com) -
[Clarín](https://www.clarin.com) -
[La Nación](https://www.lanacion.com.ar)
[La Nación](https://www.lanacion.com.ar) -
[La Voz del Interior](https://www.lavoz.com.ar)
##### Brazil
[Estado de Minas](https://www.em.com.br) -
[Exame](https://exame.com) -

View file

@ -657,7 +657,7 @@ ext_api.webRequest.onHeadersReceived.addListener(function (details) {
['blocking', 'responseHeaders']);
// block inline script
var block_js_inline = ["*://*.crusoe.uol.com.br/*", "*://*.elpais.com/*", "*://*.nautil.us/*"];
var block_js_inline = ["*://*.crusoe.uol.com.br/*", "*://*.elpais.com/*", "*://*.lavoz.com.ar/*", "*://*.nautil.us/*"];
if (block_js_inline.length)
ext_api.webRequest.onHeadersReceived.addListener(function (details) {
let url_path = details.url.split('?')[0];

View file

@ -4,6 +4,7 @@ Changelog Bypass Paywalls Clean - Firefox
Post-release
Add ArcInfo.ch
Add Axios
Add LaVoz.com.ar
Add NK News (free articles only)
Add Rheinische Post Mediengruppe
Add 5 more Gannett sites

View file

@ -2317,7 +2317,7 @@ else if (matchDomain('thetimes.co.uk')) {
else
csDone = true;
} else if (window.location.hostname.match(/\.(br|cl|pe)$/) || matchDomain(['clarin.com', 'elespectador.com', 'elmercurio.com', 'latercera.com', 'lasegunda.com', 'valor.globo.com'])) {//south america
} else if (window.location.hostname.match(/\.(ar|br|cl|pe)$/) || matchDomain(['clarin.com', 'elespectador.com', 'elmercurio.com', 'latercera.com', 'lasegunda.com', 'valor.globo.com'])) {//south america
if (matchDomain('abril.com.br')) {
if (window.location.pathname.endsWith('/amp/')) {
@ -2440,8 +2440,8 @@ else if (matchDomain('blogfolha.uol.com.br')) {
}
else if (matchDomain('latercera.com')) {
let subscr_banner = document.querySelector('.empty');
removeDOMElement(subscr_banner);
let subscr_banner = document.querySelector('.empty');
removeDOMElement(subscr_banner);
}
else if (matchDomain('lasegunda.com')) {
@ -2455,6 +2455,11 @@ else if (matchDomain('lasegunda.com')) {
}
}
else if (matchDomain('lavoz.com.ar')) {
let wrapperblock = document.querySelector('.wrapperblock');
removeDOMElement(wrapperblock);
}
else if (matchDomain('valor.globo.com')) {
let url = window.location.href;
let paywall = document.querySelector('div.paywall');

View file

@ -352,6 +352,7 @@
"*://*.laverdad.es/*",
"*://*.lavie.fr/*",
"*://*.lavoixdunord.fr/*",
"*://*.lavoz.com.ar/*",
"*://*.lavozdigital.es/*",
"*://*.law.com/*",
"*://*.law360.com/*",
@ -721,5 +722,5 @@
"*://gcm.omerlocdn.com/*",
"*://webcache.googleusercontent.com/*"
],
"version": "2.8.6.6"
"version": "2.8.6.7"
}

View file

@ -1031,6 +1031,10 @@ var defaultSites = {
allow_cookies: 1,
block_regex: /\.poool\.fr\//
},
"La Voz del Interior": {
domain: "lavoz.com.ar",
allow_cookies: 1
},
"Law.com (free articles only)": {
domain: "law.com",
allow_cookies: 1,