Fix Crikey.com.au (cookie)

This commit is contained in:
magnolia1234 2023-12-06 09:07:58 +01:00
parent cb590b4822
commit 84351b519b
7 changed files with 20 additions and 10 deletions

View file

@ -7,6 +7,7 @@ Remove Morgenpost.de (Funke; fix obsolete)
Remove The Star Malaysia (fix obsolete) Remove The Star Malaysia (fix obsolete)
Fix Beobachter.ch (json) Fix Beobachter.ch (json)
Fix Bloomberg (css) Fix Bloomberg (css)
Fix Crikey.com.au (cookie)
Fix Nikkei Asian Review (cookie) Fix Nikkei Asian Review (cookie)
* v3.4.5.0 (2023-12-03) * v3.4.5.0 (2023-12-03)

View file

@ -50,7 +50,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']; 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) // clean local storage of sites (with an exemption for hold-list)
var arr_localstorage_hold = ['augsburger-allgemeine.de', 'barrons.com', 'business-standard.com', 'businessinsider.com', 'businessoffashion.com', 'businesspost.ie', 'challenges.fr', 'charliehebdo.fr', 'cmjornal.pt', 'columbian.com', 'corriere.it', 'corrieredellosport.it', 'cyclingtips.com', 'digiday.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', 'gauchazh.clicrbs.com.br', 'globo.com', 'ilfoglio.it', 'inc42.com', 'indianexpress.com', 'indiatoday.in', 'inews.co.uk', 'janes.com', 'jazziz.com', 'ksta.de', 'kurier.at', 'lanouvellerepublique.fr', 'latimes.com', 'lc.nl', 'lesechos.fr', 'livemint.com', 'mid-day.com', 'mundodeportivo.com', 'nationalreview.com', 'nrc.nl', 'nw.de', 'nwzonline.de', 'nytimes.com', 'nzherald.co.nz', 'record.pt', 'ruhrnachrichten.de', 'rundschau-online.de', 'sandiegouniontribune.com', 'scmp.com', 'seekingalpha.com', 'techinasia.com', 'telegraph.co.uk', 'tes.com', 'the-tls.co.uk', 'theatlantic.com', 'thebulletin.org', 'thecritic.co.uk', 'thetimes.co.uk', 'theweek.com', 'tt.com', 'tuttosport.com', 'uol.com.br', 'vol.at', 'wsj.com'].concat(be_roularta_domains, ca_gcm_domains, ca_torstar_domains, de_funke_medien_domains, de_lv_domains, de_vrm_domains, de_vrm_custom_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, nl_dpg_media_domains, no_nhst_media_domains, timesofindia_domains, usa_hearst_comm_domains, usa_mcc_domains); var arr_localstorage_hold = ['augsburger-allgemeine.de', 'barrons.com', 'business-standard.com', 'businessinsider.com', 'businessoffashion.com', 'businesspost.ie', 'challenges.fr', 'charliehebdo.fr', 'cmjornal.pt', 'columbian.com', 'corriere.it', 'corrieredellosport.it', 'crikey.com.au', 'cyclingtips.com', 'digiday.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', 'gauchazh.clicrbs.com.br', 'globo.com', 'ilfoglio.it', 'inc42.com', 'indianexpress.com', 'indiatoday.in', 'inews.co.uk', 'janes.com', 'jazziz.com', 'ksta.de', 'kurier.at', 'lanouvellerepublique.fr', 'latimes.com', 'lc.nl', 'lesechos.fr', 'livemint.com', 'mid-day.com', 'mundodeportivo.com', 'nationalreview.com', 'nrc.nl', 'nw.de', 'nwzonline.de', 'nytimes.com', 'nzherald.co.nz', 'record.pt', 'ruhrnachrichten.de', 'rundschau-online.de', 'sandiegouniontribune.com', 'scmp.com', 'seekingalpha.com', 'techinasia.com', 'telegraph.co.uk', 'tes.com', 'the-tls.co.uk', 'theatlantic.com', 'thebulletin.org', 'thecritic.co.uk', 'thetimes.co.uk', 'theweek.com', 'tt.com', 'tuttosport.com', 'uol.com.br', 'vol.at', 'wsj.com'].concat(be_roularta_domains, ca_gcm_domains, ca_torstar_domains, de_funke_medien_domains, de_lv_domains, de_vrm_domains, de_vrm_custom_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, nl_dpg_media_domains, no_nhst_media_domains, timesofindia_domains, usa_hearst_comm_domains, usa_mcc_domains);
if (!matchDomain(arr_localstorage_hold)) { if (!matchDomain(arr_localstorage_hold)) {
window.localStorage.clear(); window.localStorage.clear();
} }
@ -345,11 +345,8 @@ if (matchDomain('medium.com') || matchDomain(medium_custom_domains) || (!matchDo
else if (window.location.hostname.match(/\.(com|net)\.au$/)) {//australia else if (window.location.hostname.match(/\.(com|net)\.au$/)) {//australia
if (matchDomain('crikey.com.au')) { if (matchDomain('crikey.com.au')) {
if (dompurify_loaded) let ads = document.querySelectorAll('.advert');
getJsonUrl('div.locked-content', '', 'div.article-body > div.paywall'); hideDOMElement(...ads);
let fade = document.querySelector('article.article-locked');
if (fade)
fade.classList.remove('article-locked');
} }
else if (matchDomain('macrobusiness.com.au')) { else if (matchDomain('macrobusiness.com.au')) {
@ -3570,6 +3567,8 @@ else if (matchDomain('artnet.com')) {
let body_hidden = document.querySelector('.article-body'); let body_hidden = document.querySelector('.article-body');
if (body_hidden) if (body_hidden)
body_hidden.style = 'display:block;'; body_hidden.style = 'display:block;';
let banner = document.querySelector('div[id^="issuem-leaky-paywall-"]');
removeDOMElement(banner);
} }
} }

View file

@ -51,5 +51,5 @@
"webRequestBlocking", "webRequestBlocking",
"*://*/*" "*://*/*"
], ],
"version": "3.4.5.2" "version": "3.4.5.3"
} }

View file

@ -244,6 +244,10 @@
"domain": "flz.de", "domain": "flz.de",
"useragent": "googlebot" "useragent": "googlebot"
}, },
"Foxnews.com (regwall)": {
"cs_code": "[{\"cond\":\"div.article-gating-wrapper\", \"rm_elem\":1}, {\"cond\":\"div[class*='gated-overlay']\", \"rm_attrib\":\"class\"}]",
"domain": "foxnews.com"
},
"Frieze.com": { "Frieze.com": {
"allow_cookies": 1, "allow_cookies": 1,
"block_regex": "js\\.pelcro\\.com", "block_regex": "js\\.pelcro\\.com",

View file

@ -824,5 +824,5 @@
"*://*.wyleex.com/*", "*://*.wyleex.com/*",
"*://webcache.googleusercontent.com/*" "*://webcache.googleusercontent.com/*"
], ],
"version": "3.4.5.2" "version": "3.4.5.3"
} }

View file

@ -457,8 +457,8 @@ var defaultSites = {
}, },
"Crikey.com.au": { "Crikey.com.au": {
domain: "crikey.com.au", domain: "crikey.com.au",
allow_cookies: 1, block_regex: /\.crickey\.com\.au\/zephr\/feature/,
cs_dompurify: 1 remove_cookies_select_drop: ["blaize_session"]
}, },
"Crusoe.com.br": { "Crusoe.com.br": {
domain: "crusoe.com.br", domain: "crusoe.com.br",

View file

@ -11,6 +11,12 @@
"block_regex": "(paywall\\.correiodopovo\\.com\\.br|cdn\\.ampproject\\.org\\/v\\d\\/amp-access-.+\\.js)", "block_regex": "(paywall\\.correiodopovo\\.com\\.br|cdn\\.ampproject\\.org\\/v\\d\\/amp-access-.+\\.js)",
"upd_version": "3.4.4.7" "upd_version": "3.4.4.7"
}, },
"Crikey.com.au": {
"domain": "crikey.com.au",
"block_regex": "\\.crickey\\.com\\.au\\/zephr\\/feature",
"remove_cookies_select_drop": ["blaize_session"],
"upd_version": "3.4.5.3"
},
"Defector": { "Defector": {
"domain": "defector.com", "domain": "defector.com",
"allow_cookies": 1, "allow_cookies": 1,