Add La Nazione (Italy)

Plus update block TinyPass (cdn only)
This commit is contained in:
magnolia1234 2021-04-23 09:04:09 +02:00
parent 0906ef8dc3
commit c15fd87ccb
6 changed files with 11 additions and 4 deletions

View file

@ -340,6 +340,7 @@ Madsack Mediengruppe sites like
[Il Manifesto](https://ilmanifesto.it) - [Il Manifesto](https://ilmanifesto.it) -
[Il Resto del Carlino](https://www.ilrestodelcarlino.it) - [Il Resto del Carlino](https://www.ilrestodelcarlino.it) -
[Il Secolo XIX](https://www.ilsecoloxix.it) - [Il Secolo XIX](https://www.ilsecoloxix.it) -
[La Nazione](https://www.lanazione.it) -
[La Nuova Sardegna](https://www.lanuovasardegna.it) - [La Nuova Sardegna](https://www.lanuovasardegna.it) -
[La Repubblica](https://www.repubblica.it) - [La Repubblica](https://www.repubblica.it) -
[La Stampa](https://www.lastampa.it) - [La Stampa](https://www.lastampa.it) -

View file

@ -88,6 +88,7 @@ var allow_cookies_default = [
'knack.be', 'knack.be',
'kurier.at', 'kurier.at',
'la-croix.com', 'la-croix.com',
'lanazione.it',
'lanouvellerepublique.fr', 'lanouvellerepublique.fr',
'latribune.fr', 'latribune.fr',
'lavanguardia.com', 'lavanguardia.com',
@ -315,6 +316,7 @@ var blockedRegexes = {
'kurier.at': /\.tinypass\.com\//, 'kurier.at': /\.tinypass\.com\//,
'la-croix.com': /cdn\.ampproject\.org\/v\d\/amp-(access|ad)-.+\.js/, 'la-croix.com': /cdn\.ampproject\.org\/v\d\/amp-(access|ad)-.+\.js/,
'lasegunda.com': /\.(lasegunda\.com|emol\.cl)\/(.+\/)?js\/(.+\/)?(modal|merPramV\d|PramModal\.min)\.js/, 'lasegunda.com': /\.(lasegunda\.com|emol\.cl)\/(.+\/)?js\/(.+\/)?(modal|merPramV\d|PramModal\.min)\.js/,
'lanazione.it': /\.tinypass\.com\//,
'latercera.com': /(\.latercera\.com\/arc\/subs\/p\.js|cdn\.cxense\.com\/)/, 'latercera.com': /(\.latercera\.com\/arc\/subs\/p\.js|cdn\.cxense\.com\/)/,
'latimes.com': /js\.matheranalytics\.com\//, 'latimes.com': /js\.matheranalytics\.com\//,
'latribune.fr': /\.poool\.fr\//, 'latribune.fr': /\.poool\.fr\//,
@ -849,7 +851,7 @@ ext_api.webRequest.onHeadersReceived.addListener(function (details) {
}, },
['blocking', 'responseHeaders']); ['blocking', 'responseHeaders']);
var block_js_default = ["*://*.tinypass.com/*", "*://*.piano.io/*", "*://*.poool.fr/*", "*://cdn.ampproject.org/v*/amp-access-*.js", "*://*.blueconic.net/*", "*://*.cxense.com/*", "*://*.evolok.net/*", "*://js.matheranalytics.com/*", "*://*.newsmemory.com/*", "*://*.onecount.net/*", "*://js.pelcro.com/*", "*://*.qiota.com/*", "*://*.tribdss.com/*"]; var block_js_default = ["*://cdn.tinypass.com/*", "*://*.piano.io/*", "*://*.poool.fr/*", "*://cdn.ampproject.org/v*/amp-access-*.js", "*://*.blueconic.net/*", "*://*.cxense.com/*", "*://*.evolok.net/*", "*://js.matheranalytics.com/*", "*://*.newsmemory.com/*", "*://*.onecount.net/*", "*://js.pelcro.com/*", "*://*.qiota.com/*", "*://*.tribdss.com/*"];
var block_js_custom = []; var block_js_custom = [];
var block_js_custom_ext = []; var block_js_custom_ext = [];
var block_js = block_js_default.concat(block_js_custom); var block_js = block_js_default.concat(block_js_custom);

View file

@ -3,9 +3,11 @@ Changelog Bypass Paywalls Clean - Firefox
Post-release Post-release
Add L'Express (France) Add L'Express (France)
Add La Nazione (Italy)
Remove Rheinische Post Mediengruppe (obsolete) Remove Rheinische Post Mediengruppe (obsolete)
Fix-update NyTeknik (images) Fix-update NyTeknik (images)
Fix-update Repubblica.it Fix-update Repubblica.it
Update block TinyPass (cdn only)
* v2.1.7.0 (2021-04-18) * v2.1.7.0 (2021-04-18)
Add NyTeknik (Sweden) Add NyTeknik (Sweden)

View file

@ -996,7 +996,7 @@ else if (matchDomain('ilfattoquotidiano.it')) {
}, 500); // Delay (in milliseconds) }, 500); // Delay (in milliseconds)
} }
else if (matchDomain(["ilrestodelcarlino.it", "quotidiano.net"])) { else if (matchDomain(['ilrestodelcarlino.it', 'lanazione.it', 'quotidiano.net'])) {
let detail_text_truncated = document.querySelector('div.detail-text--truncated'); let detail_text_truncated = document.querySelector('div.detail-text--truncated');
let detail_page_paywall = document.querySelector('body.detail-page--paywall'); let detail_page_paywall = document.querySelector('body.detail-page--paywall');
if (detail_page_paywall) { if (detail_page_paywall) {
@ -2358,7 +2358,7 @@ function matchDomain(domains, hostname) {
} }
function replaceDomElementExt(url, proxy, base64, selector, text_fail = '') { function replaceDomElementExt(url, proxy, base64, selector, text_fail = '') {
let proxyurl = proxy ? 'https://bpc-cors-anywhere.herokuapp.com/' : ''; let proxyurl = proxy ? 'https://bpc2-cors-anywhere.herokuapp.com/' : '';
fetch(proxyurl + url, {headers: {"Content-Type": "text/plain", "X-Requested-With": "XMLHttpRequest"} }) fetch(proxyurl + url, {headers: {"Content-Type": "text/plain", "X-Requested-With": "XMLHttpRequest"} })
.then(response => { .then(response => {
let article = document.querySelector(selector); let article = document.querySelector(selector);

View file

@ -229,6 +229,7 @@
"*://*.ladepeche.fr/*", "*://*.ladepeche.fr/*",
"*://*.lalsace.fr/*", "*://*.lalsace.fr/*",
"*://*.lanacion.com.ar/*", "*://*.lanacion.com.ar/*",
"*://*.lanazione.it/*",
"*://*.lanouvellerepublique.fr/*", "*://*.lanouvellerepublique.fr/*",
"*://*.lanuovasardegna.it/*", "*://*.lanuovasardegna.it/*",
"*://*.laprovincia.es/*", "*://*.laprovincia.es/*",
@ -498,5 +499,5 @@
"*://*.wallkit.net/*", "*://*.wallkit.net/*",
"*://*.wsj.net/*" "*://*.wsj.net/*"
], ],
"version": "2.1.7.4" "version": "2.1.7.5"
} }

View file

@ -126,6 +126,7 @@ var defaultSites =
"La Croix": "la-croix.com", "La Croix": "la-croix.com",
"La Estrella de Valparaíso": "estrellavalpo.cl", "La Estrella de Valparaíso": "estrellavalpo.cl",
"La Nación": "lanacion.com.ar", "La Nación": "lanacion.com.ar",
"La Nazione": "lanazione.it",
"La Nouvelle République du Centre-Ouest": "lanouvellerepublique.fr", "La Nouvelle République du Centre-Ouest": "lanouvellerepublique.fr",
"La Nueva España": "lne.es", "La Nueva España": "lne.es",
"La Nuova Sardegna": "lanuovasardegna.it", "La Nuova Sardegna": "lanuovasardegna.it",