Add Editorial Prensa Ibérica (Spain)

Diario de Ibiza/Mallorca, Faro de Vigo & La Provincia
This commit is contained in:
magnolia1234 2021-02-02 19:17:01 +01:00
parent 59ee462d72
commit 44d9d75a02
7 changed files with 36 additions and 7 deletions

View File

@ -50,7 +50,7 @@ Windows Registry Editor Version 5.00
#### Android
1. Install [Kiwi Browser](https://play.google.com/store/apps/details?id=com.kiwibrowser.browser&hl=nl) or [Yandex Browser](https://play.google.com/store/apps/details?id=com.yandex.browser&hl=en) from the Google PlayStore.
2. For Kiwi Browser load the CRX-file in releases (auto-updating, no whitelist needed, opt-in for custom sites not working (use kiwi-custom crx)).
2. For Kiwi Browser load the CRX-file in releases (auto-updating, no whitelist needed, opt-in for custom sites not working (use kiwi-custom crx; updates to latest regular version)).
3. For Yandex Browser follow Chrome instructions above (load unpacked; step 6: pick `manifest.json` instead of the folder).
#### Firefox
@ -375,13 +375,17 @@ Grouped in options:\
##### Spain
[ABC](https://www.abc.es) -
[Diario de Ibiza](https://www.diariodeibiza.es) -
[Diario de Mallorca](https://www.diariodemallorca.es) -
[El Confidencial](https://www.elconfidencial.com) -
[El Diario.es](https://www.eldiario.es) -
[El Mundo](https://www.elmundo.es) -
[El País](https://elpais.com) -
[El Periódico de Catalunya](https://www.elperiodico.com) -
[Expansión](https://www.expansion.com) -
[Faro de Vigo](https://www.farodevigo.es) -
[La Nueva España](https://www.lne.es) -
[La Provincia](https://www.laprovincia.es) -
[La Vanguardia](https://www.lavanguardia.com)\
Grouped in options:\
Grupo Vocento (ABC) regional sites like

View File

@ -343,6 +343,7 @@ const usa_nymag_domains = ['curbed.com', 'grubstreet.com', 'nymag.com', 'thecut.
// grouped domains (rules only)
const au_nine_domains = ['brisbanetimes.com.au', 'smh.com.au', 'theage.com.au', 'watoday.com.au'];
const es_epiberica_domains = ['diariodeibiza.es', 'diariodemallorca.es', 'farodevigo.es', 'laprovincia.es'];
const nl_pg_domains = ['parool.nl', 'trouw.nl', 'volkskrant.nl', 'humo.be', 'demorgen.be'];
const userAgentDesktopG = "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
@ -475,6 +476,8 @@ function add_grouped_sites(init_rules) {
// rules only
for (let domain of au_nine_domains)
blockedRegexes[domain] = /cdn\.ampproject\.org\/v\d\/amp-subscriptions-.+\.js/;
for (let domain of es_epiberica_domains)
allow_cookies.push(domain);
for (let domain of nl_pg_domains)
remove_cookies_select_drop[domain] = ['TID_ID'];
use_google_bot_default = use_google_bot.slice();

View File

@ -2,6 +2,7 @@
Changelog Bypass Paywalls Clean - Chrome
Post-release
Add Diario de Ibiza/Mallorca, Faro de Vigo & La Provincia (Spain)
Add Le Un (France)
* v2.0.6.0 (2021-01-31)

View File

@ -6,6 +6,7 @@ var csDone = false;
var ca_torstar_domains = ['niagarafallsreview.ca', 'stcatharinesstandard.ca', 'thepeterboroughexaminer.com', 'therecord.com', 'thespec.com', 'thestar.com', 'wellandtribune.ca'];
var de_funke_media_domains = ['abendblatt.de', 'braunschweiger-zeitung.de', 'morgenpost.de', 'nrz.de', 'otz.de', 'thueringer-allgemeine.de', 'waz.de', 'wp.de', 'wr.de'];
var de_madsack_domains = ['haz.de', 'kn-online.de', 'ln-online.de', 'lvz.de', 'maz-online.de', 'neuepresse.de', 'ostsee-zeitung.de'];
var es_epiberica_domains = ['diariodeibiza.es', 'diariodemallorca.es', 'farodevigo.es', 'laprovincia.es'];
var es_grupo_vocento_domains = ['diariosur.es', 'diariovasco.com', 'elcomercio.es', 'elcorreo.com', 'eldiariomontanes.es', 'elnortedecastilla.es', 'hoy.es', 'ideal.es', 'larioja.com', 'laverdad.es', 'lavozdigital.es'];
var fr_groupe_ebra_domains = ['bienpublic.com', 'dna.fr', 'estrepublicain.fr', 'lalsace.fr', 'ledauphine.com', 'lejsl.com', 'leprogres.fr', 'republicain-lorrain.fr', 'vosgesmatin.fr'];
var fr_groupe_la_depeche_domains = ['centrepresseaveyron.fr', 'ladepeche.fr', 'lindependant.fr', 'midi-olympique.fr', 'midilibre.fr', 'nrpyrenees.fr', 'petitbleu.fr'];
@ -2014,6 +2015,17 @@ else if (matchDomain('stratfor.com')) {
let css_link = document.querySelector('link[rel="stylesheet"]:not([href="/assets/worldview.d6b47e5305e05acb0c45.css"])');
if (css_link)
css_link.href = '/assets/worldview.d6b47e5305e05acb0c45.css';
let hidden_images = document.querySelectorAll('img[src^="data:image/gif"][data-src]');
for (let hidden_image of hidden_images)
hidden_image.setAttribute('src', hidden_image.getAttribute("data-src"));
}
else if (matchDomain(es_epiberica_domains)) {
document.querySelector('div.article-body--truncated')?.classList.remove('article-body--truncated');
document.querySelector('div.baldomero')?.classList.remove('baldomero');
window.setTimeout(function () {
document.querySelector('div.paywall')?.remove();
}, 500); // Delay (in milliseconds)
}
else if (!matchDomain(['belfasttelegraph.co.uk', 'independent.ie']))

View File

@ -97,6 +97,8 @@
"*://*.destentor.nl/*",
"*://*.deutsche-wirtschafts-nachrichten.de/*",
"*://*.df.cl/*",
"*://*.diariodeibiza.es/*",
"*://*.diariodemallorca.es/*",
"*://*.diariosur.es/*",
"*://*.diariovasco.com/*",
"*://*.digiday.com/*",
@ -126,6 +128,7 @@
"*://*.exame.abril.com.br/*",
"*://*.examiner.com.au/*",
"*://*.expansion.com/*",
"*://*.farodevigo.es/*",
"*://*.faz.net/*",
"*://*.fd.nl/*",
"*://*.financialpost.com/*",
@ -197,6 +200,7 @@
"*://*.lalsace.fr/*",
"*://*.lanacion.com.ar/*",
"*://*.lanuovasardegna.it/*",
"*://*.laprovincia.es/*",
"*://*.lardennais.fr/*",
"*://*.larioja.com/*",
"*://*.lasegunda.com/*",
@ -434,5 +438,5 @@
"*://*.userzoom.com/*",
"*://*.wsj.net/*"
],
"version": "2.0.6.1"
"version": "2.0.6.2"
}

View File

@ -20,9 +20,10 @@
<h1>Options | <small><span id="version"></span><br><span id="version_new"></span></small></h1>
<br><a href="https://gitlab.com/magnolia1234/bypass-paywalls-chrome-clean/-/blob/master/changelog.txt" style="color:black" target="_blank">Changelog</a>
<div style="width:90%;">
Selected sites will have their cookies cleared and referer set to Google.
You should uncheck sites you have an account with or else you will be logged out at every visit.<br>
For some sites (check list) a necessary cookie has to be set; enable in opt-in.
<br>Most selected sites will have their cookies cleared (not all though).<br>
You should uncheck the sites (or add to excluded sites) for which you have an account or else you will be logged out at every visit.<br><br>
If you want to also block general paywall-scripts for non-listed sites you have to opt-in to custom sites (permission for access to all sites is needed).<br>
To view some sites (check list) a necessary cookie has to be set (enable this in opt-in).
</div>
<br>
<div style='float:left'>

View File

@ -42,6 +42,8 @@ var defaultSites =
"De Tijd": "tijd.be",
"DeMorgen": "demorgen.be",
"Deutsche Wirtschafts Nachrichten": "deutsche-wirtschafts-nachrichten.de",
"Diario de Ibiza": "diariodeibiza.es",
"Diario de Mallorca": "diariodemallorca.es",
"Diario Financiero": "df.cl",
"Die Zeit": "zeit.de",
"Digiday": "digiday.com",
@ -61,6 +63,7 @@ var defaultSites =
"Eureka Report": "eurekareport.com.au",
"Exame": "exame.abril.com.br",
"Expansión": "expansion.com",
"Faro de Vigo": "farodevigo.es",
"Financial News": "fnlondon.com",
"Financial Post": "financialpost.com",
"Financial Times": "ft.com",
@ -115,6 +118,7 @@ var defaultSites =
"La Nación": "lanacion.com.ar",
"La Nueva España": "lne.es",
"La Nuova Sardegna": "lanuovasardegna.it",
"La Provincia": "laprovincia.es",
"La Repubblica": "repubblica.it",
"La Segunda": "lasegunda.com",
"La Stampa": "lastampa.it",