Fix Crusoe.com.br (new domain)

merge-requests/16/head
magnolia1234 10 months ago
parent 1b5d2ff6c5
commit 87b3b5fd27

@ -911,6 +911,7 @@ Grouped in options:\
[Los Andes](https://www.losandes.com.ar)
##### Brazil
[Crusoé](https://crusoe.com.br) -
[Estado de Minas](https://www.em.com.br) -
[Exame](https://exame.com) -
[GaúchaZH](https://gauchazh.clicrbs.com.br) -
@ -921,9 +922,9 @@ Grouped in options:\
Grouped in options:\
*UOL* sites like\
[Crusoé](https://crusoe.uol.com.br) -
[Folha de S. Paulo](https://www.folha.uol.com.br) -
[UOL](https://www.uol.com.br)
##### Chile
[Diario Financiero](https://www.df.cl) -
[El Mercurio (+ regional/opt-in to custom sites)](https://digital.elmercurio.com) -

@ -39,7 +39,7 @@ var restrictions = {
'theatlantic.com': /^((?!\/newsletters\.theatlantic\.com\/).)*$/,
'thetimes.co.uk': /^((?!epaper\.thetimes\.co\.uk).)*$/,
'timeshighereducation.com': /\.timeshighereducation\.com\/((features|news|people)\/|.+((\w)+(\-)+){3,}.+|sites\/default\/files\/)/,
'uol.com.br': /^((?!(conta|email)\.uol\.com\.br).)*$/,
'uol.com.br': /^((?!(conta|email|piaui\.folha)\.uol\.com\.br).)*$/,
}
for (let domain of au_news_corp_domains)

@ -7,6 +7,7 @@ Add Delinian Group
Add Pensions & Investments (Crain)
Add Precision Medicine Online (Crain)
Remove Initium Media (fix obsolete)
Fix Crusoe.com.br (new domain)
Fix Ksta.de & Rundschau-online.de (json)
Fix The Press-Enterprise (new domain)
Fix WSJ (mobile & remove option to disable Googlebot)

@ -3040,7 +3040,7 @@ else if (matchDomain(ar_grupo_clarin_domains)) {
removeDOMElement(...ads);
}
else if (matchDomain('crusoe.uol.com.br')) {
else if (matchDomain('crusoe.com.br')) {
let ads = document.querySelectorAll('#gpt-leaderboard, .ads_desktop, .catchment-box');
removeDOMElement(...ads);
}
@ -3153,24 +3153,11 @@ else if (matchDomain('estadao.com.br')) {
}
else if (matchDomain('folha.uol.com.br')) {
if (matchDomain('piaui.folha.uol.com.br')) {
if (window.location.search.startsWith('?amp')) {
amp_unhide_subscr_section();
} else {
let paywall = document.querySelector('.revista--interna__assineonly');
let amphtml = document.querySelector('link[rel="amphtml"]');
if (paywall && amphtml) {
removeDOMElement(paywall);
window.location.href = amphtml.href;
}
}
if (window.location.pathname.startsWith('/amp/')) {
amp_unhide_subscr_section('amp-ad, amp-sticky-ad, amp-embed');
} else {
if (window.location.pathname.startsWith('/amp/')) {
amp_unhide_subscr_section('amp-ad, amp-sticky-ad, amp-embed');
} else {
let signup = document.querySelector('.c-top-signup');
removeDOMElement(signup);
}
let signup = document.querySelector('.c-top-signup');
removeDOMElement(signup);
}
}

@ -170,6 +170,7 @@
"*://*.crainsnewyork.com/*",
"*://*.crikey.com.au/*",
"*://*.cronista.com/*",
"*://*.crusoe.com.br/*",
"*://*.csmonitor.com/*",
"*://*.curbed.com/*",
"*://*.cw.com.tw/*",
@ -775,7 +776,6 @@
"*://*.cedscdn.it/*",
"*://*.cedsdigital.it/*",
"*://*.corriereobjects.it/*",
"*://*.crusoe.com.br/*",
"*://*.emol.cl/*",
"*://*.flip-pay.com/*",
"*://*.gitlab.com/magnolia1234/*",

@ -405,6 +405,11 @@ var defaultSites = {
allow_cookies: 1,
cs_dompurify: 1
},
"Crusoe.com.br": {
domain: "crusoe.com.br",
allow_cookies: 1,
block_regex: /\.crusoe\.com\.br\/assets\/js\/swg-wallcontent-crusoe\.js/
},
"Dagens ETC": {
domain: "etc.se",
allow_cookies: 1
@ -2360,8 +2365,8 @@ var defaultSites = {
},
"UOL.com.br": {
domain: "uol.com.br",
block_regex: /(paywall\.folha\.uol\.com\.br\/|\.crusoe\.com\.br\/assets\/js\/swg-wallcontent-crusoe\.js|\.(tinypass|matheranalytics)\.com\/|cdn\.ampproject\.org\/v\d\/amp-subscriptions-.+\.js)/,
remove_cookies_select_drop: ["crs_subscriber"],
allow_cookies: 1,
block_regex: /(paywall\.folha\.uol\.com\.br\/|\.(tinypass|matheranalytics)\.com\/|cdn\.ampproject\.org\/v\d\/amp-subscriptions-.+\.js)/,
useragent: "googlebot"
},
"USA Today": {
@ -2675,4 +2680,4 @@ init_custom_flex_domains();
// sites with no fix (background)
var it_gedi_nofix_domains = ['gelocal.it', 'huffingtonpost.it', 'ilsecoloxix.it', 'limesonline.com', 'repubblica.it'];
var uk_delinian_nofix_domains = ['insidepandc.com', 'thedeal.com'];
var nofix_sites = ['aamulehti.fi', 'africaintelligence.com', 'africaintelligence.fr', 'aftonbladet.se', 'aftenposten.no', 'allgaeuer-zeitung.de', 'asiatimes.com', 'autosport.com', 'badische-zeitung.de', 'bild.de', 'bloomberglaw.com', 'bloombergtax.com', 'borsen.dk', 'businessinsider.de', 'businesslive.co.za', 'businesstimes.com.sg', 'caixin.com', 'caixinglobal.com', 'caravanmagazine.in', 'catalyst-journal.com', 'compactmag.com', 'courrierinternational.com', 'deutsche-wirtschafts-nachrichten.de', 'diepresse.com', 'dn.se', 'elordenmundial.com', 'epw.in', 'expresso.pt', 'finance.si', 'ftchinese.com', 'gamestar.de', 'geo.de', 'golem.de', 'handelsblatt.com', 'heise.de', 'hs.fi', 'ilsole24ore.com', 'investors.com', 'iltalehti.fi', 'jacobinmag.com', 'jeuneafrique.com', 'kleinezeitung.at', 'lavie.fr', 'lavozdegalicia.es', 'law360.com', 'lefigaro.fr', 'le1hebdo.fr', 'leconomiste.com', 'lefilmfrancais.com', 'lemonde.fr', 'lepoint.fr', 'lequipe.fr', 'letemps.ch', 'liberation.fr', 'limburger.nl', 'lopinion.fr', 'mainpost.de', 'medianama.com', 'mediapart.fr', 'milanofinanza.it', 'mittelbayerische.de', 'monde-diplomatique.fr', 'mondediplo.com', 'moneycontrol.com', 'morningstar.com', 'nachrichten.at', 'nationaljournal.com', 'manager-magazin.de', 'mz.de', 'nature.com', 'nbr.co.nz', 'nn.de', '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', 'statnews.com', 'stern.de', 'stimme.de', 'straitstimes.com', 'stratfor.com', 'substack.com', 'sueddeutsche.de', 'suedkurier.de', 'swp.de', 'tagesspiegel.de', 'techcrunch.com', 'the-ken.com', 'theinformation.com', 'theinitium.com', 'themorningcontext.com', 'theparisreview.org', 'thewirechina.com', 'volksstimme.de', 'welt.de', 'weser-kurier.de', 'wiwo.de', 'worldpoliticsreview.com', 'ynet.co.il'].concat(it_gedi_nofix_domains, uk_delinian_nofix_domains);
var nofix_sites = ['aamulehti.fi', 'africaintelligence.com', 'africaintelligence.fr', 'aftonbladet.se', 'aftenposten.no', 'allgaeuer-zeitung.de', 'asiatimes.com', 'autosport.com', 'badische-zeitung.de', 'bild.de', 'bloomberglaw.com', 'bloombergtax.com', 'borsen.dk', 'businessinsider.de', 'businesslive.co.za', 'businesstimes.com.sg', 'caixin.com', 'caixinglobal.com', 'caravanmagazine.in', 'catalyst-journal.com', 'compactmag.com', 'courrierinternational.com', 'deutsche-wirtschafts-nachrichten.de', 'diepresse.com', 'dn.se', 'elordenmundial.com', 'epw.in', 'expresso.pt', 'finance.si', 'ftchinese.com', 'gamestar.de', 'geo.de', 'golem.de', 'handelsblatt.com', 'heise.de', 'hs.fi', 'ilsole24ore.com', 'investors.com', 'iltalehti.fi', 'jacobinmag.com', 'jeuneafrique.com', 'kleinezeitung.at', 'lavie.fr', 'lavozdegalicia.es', 'law360.com', 'le1hebdo.fr', 'lefigaro.fr', 'leconomiste.com', 'lefilmfrancais.com', 'lemonde.fr', 'lepoint.fr', 'lequipe.fr', 'lesjours.fr', 'letemps.ch', 'liberation.fr', 'limburger.nl', 'lopinion.fr', 'mainpost.de', 'medianama.com', 'mediapart.fr', 'milanofinanza.it', 'mittelbayerische.de', 'monde-diplomatique.fr', 'mondediplo.com', 'moneycontrol.com', 'morningstar.com', 'nachrichten.at', 'nationaljournal.com', 'manager-magazin.de', 'mz.de', 'nature.com', 'nbr.co.nz', 'nn.de', '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', 'statnews.com', 'stern.de', 'stimme.de', 'straitstimes.com', 'stratfor.com', 'substack.com', 'sueddeutsche.de', 'suedkurier.de', 'swp.de', 'tagesspiegel.de', 'techcrunch.com', 'the-ken.com', 'theinformation.com', 'theinitium.com', 'themorningcontext.com', 'theparisreview.org', 'thewirechina.com', 'volksstimme.de', 'welt.de', 'weser-kurier.de', 'wiwo.de', 'worldpoliticsreview.com', 'ynet.co.il'].concat(it_gedi_nofix_domains, uk_delinian_nofix_domains);

@ -23,6 +23,12 @@
"block_regex": "(\\.cm\\.bloomberg\\.com\\/|assets\\.bwbx\\.io\\/s\\d\\/javelin\\/.+\\/transporter\\/)",
"upd_version": "3.2.7.1"
},
"Crusoe.com.br": {
"domain": "crusoe.com.br",
"allow_cookies": 1,
"block_regex": "\\.crusoe\\.com\\.br\\/assets\\/js\\/swg-wallcontent-crusoe\\.js",
"upd_version": "3.2.9.8"
},
"EUobserver": {
"domain": "euobserver.com",
"allow_cookies": 1,

Loading…
Cancel
Save