mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 03:51:58 +01:00
Fix La Vanguardia (xhr)
This commit is contained in:
parent
8d1c5b80bc
commit
6b968754f4
6 changed files with 12 additions and 10 deletions
|
@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Firefox
|
|||
Updates (install signed xpi-file): https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/releases
|
||||
|
||||
Post-release
|
||||
Fix La Vanguardia (xhr)
|
||||
Fix Roularta Media Group (js)
|
||||
|
||||
* v3.1.5.0 (2023-04-23)
|
||||
|
|
|
@ -45,7 +45,7 @@ var usa_outside_mag_domains = ["backpacker.com", "betamtb.com", "betternutrition
|
|||
var usa_tribune_domains = ['baltimoresun.com', 'chicagotribune.com', 'courant.com', 'dailypress.com', 'mcall.com', 'nydailynews.com', 'orlandosentinel.com', 'pilotonline.com', 'sun-sentinel.com'];
|
||||
|
||||
// clean local storage of sites (with an exemption for hold-list)
|
||||
var arr_localstorage_hold = ['aachener-nachrichten.de', 'aachener-zeitung.de', 'allgaeuer-zeitung.de', 'augsburger-allgemeine.de', 'barrons.com', 'businessinsider.com', 'businessoffashion.com', 'businesspost.ie', 'challenges.fr', 'charliehebdo.fr', 'cmjornal.pt', 'corriere.it', 'corrieredellosport.it', 'cyclingtips.com', 'dvhn.nl', 'economictimes.com', 'eldiario.es', 'elespanol.com', 'elle.fr', 'elpais.com', 'elperiodico.com', 'enotes.com', 'estadao.com.br', 'forbes.com', 'fortune.com', 'freiepresse.de', 'globo.com', 'ilfoglio.it', 'inc42.com', 'indianexpress.com', 'ksta.de', 'kurier.at', 'lanouvellerepublique.fr', 'latimes.com', 'lc.nl', 'lesechos.fr', 'livemint.com', 'mid-day.com', 'nationalreview.com', 'nw.de', 'nytimes.com', 'nzherald.co.nz', 'record.pt', 'rundschau-online.de', 'sandiegouniontribune.com', 'scmp.com', 'seekingalpha.com', 'telegraph.co.uk', 'tes.com', 'theatlantic.com', 'thebulletin.org', 'thecritic.co.uk', 'thetimes.co.uk', 'uol.com.br', 'wsj.com'].concat(be_roularta_domains, ca_gcm_domains, de_funke_medien_domains, de_lv_domains, de_westfalen_medien_domains, es_epiberica_domains, es_epiberica_custom_domains, es_grupo_vocento_domains, es_unidad_domains, fr_groupe_ebra_domains, fr_groupe_la_depeche_domains, fr_groupe_nice_matin_domains, it_gedi_domains, it_quotidiano_domains, ca_gcm_domains, nl_dpg_media_domains, no_nhst_media_domains, timesofindia_domains, usa_hearst_comm_domains, usa_mcc_domains);
|
||||
var arr_localstorage_hold = ['aachener-nachrichten.de', 'aachener-zeitung.de', 'allgaeuer-zeitung.de', 'augsburger-allgemeine.de', 'barrons.com', 'businessinsider.com', 'businessoffashion.com', 'businesspost.ie', 'challenges.fr', 'charliehebdo.fr', 'cmjornal.pt', 'corriere.it', 'corrieredellosport.it', 'cyclingtips.com', 'dvhn.nl', 'economictimes.com', 'eldiario.es', 'elespanol.com', 'elle.fr', 'elpais.com', 'elperiodico.com', 'enotes.com', 'estadao.com.br', 'forbes.com', 'fortune.com', 'freiepresse.de', 'globo.com', 'ilfoglio.it', 'inc42.com', 'indianexpress.com', 'ksta.de', 'kurier.at', 'lanouvellerepublique.fr', 'latimes.com', 'lc.nl', 'lesechos.fr', 'livemint.com', 'mid-day.com', 'mundodeportivo.com', 'nationalreview.com', 'nw.de', 'nytimes.com', 'nzherald.co.nz', 'record.pt', 'rundschau-online.de', 'sandiegouniontribune.com', 'scmp.com', 'seekingalpha.com', 'telegraph.co.uk', 'tes.com', 'theatlantic.com', 'thebulletin.org', 'thecritic.co.uk', 'thetimes.co.uk', 'uol.com.br', 'wsj.com'].concat(be_roularta_domains, ca_gcm_domains, de_funke_medien_domains, de_lv_domains, de_westfalen_medien_domains, es_epiberica_domains, es_epiberica_custom_domains, es_grupo_vocento_domains, es_unidad_domains, fr_groupe_ebra_domains, fr_groupe_la_depeche_domains, fr_groupe_nice_matin_domains, it_gedi_domains, it_quotidiano_domains, ca_gcm_domains, nl_dpg_media_domains, no_nhst_media_domains, timesofindia_domains, usa_hearst_comm_domains, usa_mcc_domains);
|
||||
if (!matchDomain(arr_localstorage_hold)) {
|
||||
window.localStorage.clear();
|
||||
}
|
||||
|
@ -1281,8 +1281,8 @@ else if (matchDomain(es_epiberica_domains) || matchDomain(es_epiberica_custom_do
|
|||
}
|
||||
|
||||
else if (matchDomain(['lavanguardia.com', 'mundodeportivo.com'])) {
|
||||
let ads = document.querySelectorAll('span.content-ad, span.hidden-ad');
|
||||
removeDOMElement(...ads);
|
||||
let ads = document.querySelectorAll('span.content-ad, span.hidden-ad, span.ad-unit, div.ad-div');
|
||||
hideDOMElement(...ads);
|
||||
}
|
||||
|
||||
else if (matchDomain('observador.pt')) {
|
||||
|
|
|
@ -51,5 +51,5 @@
|
|||
"webRequestBlocking",
|
||||
"*://*/*"
|
||||
],
|
||||
"version": "3.1.5.1"
|
||||
"version": "3.1.5.2"
|
||||
}
|
||||
|
|
|
@ -753,5 +753,5 @@
|
|||
"*://html.onlineviewer.net/*",
|
||||
"*://webcache.googleusercontent.com/*"
|
||||
],
|
||||
"version": "3.1.5.1"
|
||||
"version": "3.1.5.2"
|
||||
}
|
||||
|
|
4
sites.js
4
sites.js
|
@ -1114,7 +1114,7 @@ var defaultSites = {
|
|||
"La Vanguardia": {
|
||||
domain: "lavanguardia.com",
|
||||
allow_cookies: 1,
|
||||
block_regex: /(\.evolok\.net\/|\.lavanguardia\.com\/js\/godo-basex-)/
|
||||
block_regex: /\/ev\.lavanguardia\.com\//
|
||||
},
|
||||
"Landwirtschaftsverlag": {
|
||||
domain: "###_de_lv",
|
||||
|
@ -1373,7 +1373,7 @@ var defaultSites = {
|
|||
"Mundo Deportivo": {
|
||||
domain: "mundodeportivo.com",
|
||||
allow_cookies: 1,
|
||||
block_regex: /(\.evolok\.net\/|\.lavanguardia\.com\/js\/godo-basex-)/
|
||||
block_regex: /\.evolok\.net\//
|
||||
},
|
||||
"National Geographic USA": {
|
||||
domain: "nationalgeographic.com",
|
||||
|
|
|
@ -27,9 +27,10 @@
|
|||
"allow_cookies": 1,
|
||||
"useragent": "googlebot"
|
||||
},
|
||||
"Nautilus": {
|
||||
"domain": "nautil.us",
|
||||
"remove_cookies_select_drop": ["arc", "sfa"]
|
||||
"La Vanguardia": {
|
||||
"domain": "lavanguardia.com",
|
||||
"allow_cookies": 1,
|
||||
"block_regex": "\\/ev\\.lavanguardia\\.com"
|
||||
},
|
||||
"The New York Times": {
|
||||
"domain": "nytimes.com",
|
||||
|
|
Loading…
Reference in a new issue