Add Huffingtonpost.it

This commit is contained in:
magnolia1234 2023-12-27 08:24:33 +01:00
parent cc8e1f14f3
commit 65c707cf63
7 changed files with 18 additions and 10 deletions

View file

@ -693,6 +693,7 @@ Grouped in options:\
Grouped in options:\
*Gruppo GEDI.it* sites like\
[Huffingtonpost.it](https://www.huffingtonpost.it) -
[Il Secolo XIX](https://www.ilsecoloxix.it) -
[Italian.tech](https://www.italian.tech) -
[La Repubblica](https://www.repubblica.it) -

View file

@ -883,7 +883,7 @@ if (typeof browser !== 'object') {
}
} // !cs_block_domain
// remove cookies after page load
if (rc_domain_enabled) {
if (rc_domain_enabled && !['huffingtonpost.it', 'lastampa.it', 'repubblica.it'].includes(rc_domain)) {
remove_cookies_fn(rc_domain, true);
}
}, n * 200);

View file

@ -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
Add Huffingtonpost.it
Remove Haaretz Group (fix obsolete)
Fix elDiario.es (amp-redirect)
Fix S&P Global (js-inline)

View file

@ -27,7 +27,7 @@ var fr_be_groupe_rossel = ['aisnenouvelle.fr', 'courrier-picard.fr', 'lardennais
var fr_groupe_la_depeche_domains = ['centrepresseaveyron.fr', 'ladepeche.fr', 'lindependant.fr', 'midilibre.fr', 'nrpyrenees.fr', 'petitbleu.fr', 'rugbyrama.fr'];
var fr_groupe_nice_matin_domains = ['monacomatin.mc', 'nicematin.com', 'varmatin.com'];
var it_ilmessaggero_domains = ['corriereadriatico.it', 'ilgazzettino.it', 'ilmattino.it', 'ilmessaggero.it', 'quotidianodipuglia.it'];
var it_gedi_domains = ['ilsecoloxix.it', 'italian.tech', 'lastampa.it', 'lescienze.it', 'moda.it', 'repubblica.it'];
var it_gedi_domains = ['huffingtonpost.it', 'ilsecoloxix.it', 'italian.tech', 'lastampa.it', 'lescienze.it', 'moda.it', 'repubblica.it'];
var it_quotidiano_domains = ['ilgiorno.it', 'ilrestodelcarlino.it', 'iltelegrafolivorno.it', 'lanazione.it', 'quotidiano.net'];
var medium_custom_domains = ['betterprogramming.pub', 'towardsdatascience.com'];
var nl_dpg_adr_domains = ['ad.nl', 'bd.nl', 'bndestem.nl', 'destentor.nl', 'ed.nl', 'gelderlander.nl', 'pzc.nl', 'tubantia.nl'];
@ -2316,17 +2316,17 @@ else if (matchDomain('italiaoggi.it')) {
}
else if (matchDomain(it_gedi_domains)) {
if (matchDomain(['lastampa.it', 'repubblica.it'])) {
if (domain = matchDomain(['huffingtonpost.it', 'lastampa.it', 'repubblica.it'])) {
if (window.location.pathname.includes('/news/')) {
if (!window.location.pathname.match(/\amp(\/)?$/)) {
csDoneOnce = true;
let paywall = document.querySelector('iframe#__limio_frame');
if (paywall)
refreshCurrentTab_bg();
if (paywall) {
ext_api.runtime.sendMessage({request: 'clear_cookies_domain', data: {domain: domain}});
refreshCurrentTab();
}
let modal = document.querySelector('aside#widgetDP');
removeDOMElement(modal);
let ads = document.querySelectorAll('div[id^="adv"]');
hideDOMElement(...ads);
} else
ampToHtml();
}

View file

@ -51,5 +51,5 @@
"webRequestBlocking",
"*://*/*"
],
"version": "3.4.8.2"
"version": "3.4.8.3"
}

View file

@ -309,6 +309,7 @@
"*://*.housebeautiful.com/*",
"*://*.houstonchronicle.com/*",
"*://*.hoy.es/*",
"*://*.huffingtonpost.it/*",
"*://*.humanite.fr/*",
"*://*.humo.be/*",
"*://*.ideal.es/*",
@ -821,5 +822,5 @@
"*://archive.vn/*",
"*://webcache.googleusercontent.com/*"
],
"version": "3.4.8.2"
"version": "3.4.8.3"
}

View file

@ -1002,6 +1002,7 @@ var defaultSites = {
"Gruppo GEDI.it (listed sites only)": {
domain: "###_it_gedi",
group: [
"huffingtonpost.it",
"ilsecoloxix.it",
"italian.tech",
"lastampa.it",
@ -1013,6 +1014,10 @@ var defaultSites = {
block_regex: /(scripts\.repubblica\.it\/pw\/pw\.js|cdn\.ampproject\.org\/v\d\/amp-(access|user-notification)-.+\.js)/,
useragent: "googlebot",
exception: [{
domain: "huffingtonpost.it",
block_js_inline: /\.huffingtonpost\.it\/.+\/news\//,
remove_cookies_select_drop: ["blaize_session"]
}, {
domain: "lastampa.it",
block_js_inline: /\.lastampa\.it\/.+\/news\//,
remove_cookies_select_drop: ["blaize_session"]
@ -2914,6 +2919,6 @@ var de_rp_aachen_medien_nofix_domains = ['aachener-nachrichten.de', 'aachener-ze
var fr_groupe_ebra_nofix_domains = ['bienpublic.com', 'dna.fr', 'estrepublicain.fr', 'lalsace.fr', 'ledauphine.com', 'lejsl.com', 'leprogres.fr', 'republicain-lorrain.fr', 'vosgesmatin.fr'];
var fr_indigo_nofix_domains = ['africaintelligence.com', 'africaintelligence.fr', 'glitz.paris', 'intelligenceonline.com', 'intelligenceonline.fr', 'lalettre.fr'];
var il_haaretz_group_nofix_domains = ['haaretz.co.il', 'haaretz.com', 'themarker.com'];
var it_gedi_nofix_domains = ['gelocal.it', 'huffingtonpost.it', 'limesonline.com'];
var it_gedi_nofix_domains = ['gelocal.it', 'limesonline.com'];
var nl_mediahuis_region_nofix_domains = ['gooieneemlander.nl', 'haarlemsdagblad.nl', 'ijmuidercourant.nl', 'leidschdagblad.nl', 'noordhollandsdagblad.nl'];
var nofix_sites = ['aamulehti.fi', 'aftenposten.no', 'aftonbladet.se', 'allgaeuer-zeitung.de', 'asahi.com', 'asiatimes.com', 'autosport.com', 'aviationweek.com', 'badische-zeitung.de', 'bloomberglaw.com', 'bloombergtax.com', 'bnn.de', 'borsen.dk', 'businessinsider.de', 'businesslive.co.za', 'businesstimes.com.sg', 'caixin.com', 'caixinglobal.com', 'caravanmagazine.in', 'catalyst-journal.com', 'codesports.com.au', 'compactmag.com', 'courrierinternational.com', 'coursehero.com', 'deutsche-wirtschafts-nachrichten.de', 'die-glocke.de', 'dn.no', 'dn.se', 'elordenmundial.com', 'entrepreneur.com', 'epw.in', 'expresso.pt', 'falter.at', 'finance.si', 'ftchinese.com', 'ftchineselive.com', 'gamestar.de', 'geo.de', 'golem.de', 'gp.se', 'handelsblatt.com', 'hbrchina.org', 'hbrfrance.fr', 'heise.de', 'hln.be', 'hs.fi', 'ilsole24ore.com', 'information.dk', 'investors.com', 'iltalehti.fi', 'jacobin.com', 'jeuneafrique.com', 'jungefreiheit.de', 'kleinezeitung.at', 'lavie.fr', 'lavozdegalicia.es', 'law360.co.uk', 'law360.com', 'le1hebdo.fr', 'leconomiste.com', 'lefilmfrancais.com', 'lequipe.fr', 'lesjours.fr', 'letemps.ch', 'liberation.fr', 'limburger.nl', 'main-echo.de', 'mainpost.de', 'manager-magazin.de', 'medianama.com', 'mediapart.fr', 'milanofinanza.it', 'mittelbayerische.de', 'monde-diplomatique.fr', 'mondediplo.com', 'money.it', 'moneycontrol.com', 'moodys.com', 'morningstar.com', 'moz.de', 'nachrichten.at', 'nationaljournal.com', 'nature.com', 'nbr.co.nz', 'newslaundry.com', 'nn.de', 'nwzonline.de', 'observador.pt', 'ouest-france.fr', 'philonomist.com', 'pnp.de', 'politicopro.com', 'politiken.dk', 'pressreader.com', 'publico.pt', 'quillette.com', 'republic.ru', 'rheinpfalz.de', 'risk.net', 'rnz.de', 'saechsische.de', 'schwarzwaelder-bote.de', 'sciencedirect.com', 'springer.com', 'statnews.com', 'stern.de', 'stimme.de', 'straitstimes.com', 'stratfor.com', 'substack.com', 'suedkurier.de', 'swp.de', 'techcrunch.com', 'the-ken.com', 'theinformation.com', 'theinitium.com', 'themorningcontext.com', 'theparisreview.org', 'thestar.com.my', 'thewirechina.com', 'weltwoche.ch', 'weltwoche.de', 'wissenschaft.de', 'wiwo.de', 'worldpoliticsreview.com', 'ynet.co.il'].concat(be_mediahuis_nofix_domains, de_funke_medien_nofix_domains, de_rp_aachen_medien_nofix_domains, fr_groupe_ebra_nofix_domains, fr_indigo_nofix_domains, il_haaretz_group_nofix_domains, it_gedi_nofix_domains, nl_mediahuis_region_nofix_domains);