Add UOL.com.br
This commit is contained in:
parent
288a51069b
commit
ebdea87b1b
@ -775,14 +775,18 @@ Grouped in options:\
|
||||
[Clarín](https://www.clarin.com) -
|
||||
[La Nación](https://www.lanacion.com.ar)
|
||||
##### Brazil
|
||||
[Crusoé](https://crusoe.uol.com.br) -
|
||||
[Estado de Minas](https://www.em.com.br) -
|
||||
[Exame](https://exame.com) -
|
||||
[Folha de S. Paulo](https://www.folha.uol.com.br) -
|
||||
[Grupo Abril](https://grupoabril.com.br) -
|
||||
[O Estado de S. Paulo](https://estadao.com.br) -
|
||||
[O Globo](https://oglobo.globo.com) -
|
||||
[Valor Econômico](https://valor.globo.com)*
|
||||
|
||||
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) -
|
||||
|
@ -33,7 +33,8 @@ var restrictions = {
|
||||
'techinasia.com': /\.techinasia\.com\/.+/,
|
||||
'theatlantic.com': /^((?!\/newsletters\.theatlantic\.com\/).)*$/,
|
||||
'thetimes.co.uk': /^((?!epaper\.thetimes\.co\.uk).)*$/,
|
||||
'timeshighereducation.com': /\.timeshighereducation\.com\/((features|news|people)\/|.+((\w)+(\-)+){3,}.+|sites\/default\/files\/)/
|
||||
'timeshighereducation.com': /\.timeshighereducation\.com\/((features|news|people)\/|.+((\w)+(\-)+){3,}.+|sites\/default\/files\/)/,
|
||||
'uol.com.br': /^((?!(conta|email)\.uol\.com\.br).)*$/,
|
||||
}
|
||||
|
||||
for (let domain of au_news_corp_domains)
|
||||
@ -358,7 +359,7 @@ ext_api.storage.local.get({
|
||||
ext_api.management.getSelf(function (result) {
|
||||
if ((result.installType === 'development' || (result.installType !== 'development' && !enabledSites.includes('#options_on_update')))) {
|
||||
let new_groups = ['###_de_westfalen_medien', '###_es_grupo_vocento', '###_es_unidad', '###_it_gedi', '###_nl_dpg_media', '###_usa_genomeweb'];
|
||||
let open_options = new_groups.some(group => !enabledSites.includes(group) && grouped_sites[group].some(domain => enabledSites.includes(domain) && !customSites_domains.includes(domain)));
|
||||
let open_options = new_groups.some(group => !enabledSites.includes(group) && grouped_sites[group].some(domain => enabledSites.includes(domain) && !customSites_domains.includes(domain))) || (!enabledSites.includes('uol.com.br') && (enabledSites.includes('crusoe.uol.com.br') || enabledSites.includes('###_br_folha')));
|
||||
if (open_options)
|
||||
ext_api.runtime.openOptionsPage();
|
||||
}
|
||||
@ -996,6 +997,7 @@ if (matchUrlDomain(change_headers, details.url) && !['font', 'image', 'styleshee
|
||||
!(matchUrlDomain('barrons.com', details.url) && enabledSites.includes('#options_disable_gb_barrons')) &&
|
||||
!(matchUrlDomain(['economictimes.com', 'economictimes.indiatimes.com'], details.url) && !details.url.split(/\?|#/)[0].endsWith('.cms')) &&
|
||||
!(matchUrlDomain('theaustralian.com.au', details.url) && !details.url.startsWith('https://www.theaustralian.com.au/the-oz/')) &&
|
||||
!(matchUrlDomain('uol.com.br', details.url) && !matchUrlDomain('folha.uol.com.br', details.url)) &&
|
||||
!(matchUrlDomain('wsj.com', details.url) && enabledSites.includes('#options_disable_gb_wsj'));
|
||||
var bingbotEnabled = matchUrlDomain(use_bing_bot, details.url) &&
|
||||
!(matchUrlDomain('stratfor.com', details.url) && details.url.match(/(\/(\d){4}-([a-z]||-)+-forecast(-([a-z]|-)+)?|-forecast-(\d){4}-([a-z]|[0-9]||-)+)$/));
|
||||
|
@ -4,6 +4,7 @@ Changelog Bypass Paywalls Clean - Chrome
|
||||
Post-release
|
||||
Add Nw.de
|
||||
Add Substack custom domains (opt-in to custom sites)
|
||||
Add UOL.com.br
|
||||
Fix Business Standard (mobile)
|
||||
Fix El Correo & La Voz de Cadiz
|
||||
Fix LaVie.fr
|
||||
|
@ -39,7 +39,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 = ['allgaeuer-zeitung.de', 'augsburger-allgemeine.de', 'barrons.com', 'businessoffashion.com', 'challenges.fr', 'charliehebdo.fr', 'cmjornal.pt', 'corriere.it', 'corrieredellosport.it', 'cyclingtips.com', 'eldiario.es', 'elespanol.com', 'elle.fr', 'elpais.com', 'elperiodico.com', 'enotes.com', 'estadao.com.br', 'forbes.com', 'fortune.com', 'economictimes.com', 'freiepresse.de', 'ilfoglio.it', 'inc42.com', 'lanouvellerepublique.fr', 'lesechos.fr', 'livemint.com', 'mid-day.com', 'nw.de', 'nytimes.com', 'nzherald.co.nz', 'scmp.com', 'seekingalpha.com', 'substack.com', 'telegraph.co.uk', 'theatlantic.com', 'thehindu.com', 'thetimes.co.uk', 'wsj.com'].concat(de_funke_medien_domains, de_westfalen_medien_domains, es_epiberica_domains, es_grupo_vocento_domains, es_unidad_domains, fr_groupe_ebra_domains, fr_groupe_la_depeche_domains, fr_groupe_nice_matin_domains, it_quotidiano_domains, ca_gcm_domains, nl_dpg_media_domains, no_nhst_media_domains, usa_hearst_comm_domains);
|
||||
var arr_localstorage_hold = ['allgaeuer-zeitung.de', 'augsburger-allgemeine.de', 'barrons.com', 'businessoffashion.com', 'challenges.fr', 'charliehebdo.fr', 'cmjornal.pt', 'corriere.it', 'corrieredellosport.it', 'cyclingtips.com', 'eldiario.es', 'elespanol.com', 'elle.fr', 'elpais.com', 'elperiodico.com', 'enotes.com', 'estadao.com.br', 'forbes.com', 'fortune.com', 'economictimes.com', 'freiepresse.de', 'ilfoglio.it', 'inc42.com', 'lanouvellerepublique.fr', 'lesechos.fr', 'livemint.com', 'mid-day.com', 'nw.de', 'nytimes.com', 'nzherald.co.nz', 'scmp.com', 'seekingalpha.com', 'substack.com', 'telegraph.co.uk', 'theatlantic.com', 'thehindu.com', 'thetimes.co.uk', 'uol.com.br', 'wsj.com'].concat(de_funke_medien_domains, de_westfalen_medien_domains, es_epiberica_domains, es_grupo_vocento_domains, es_unidad_domains, fr_groupe_ebra_domains, fr_groupe_la_depeche_domains, fr_groupe_nice_matin_domains, it_quotidiano_domains, ca_gcm_domains, nl_dpg_media_domains, no_nhst_media_domains, usa_hearst_comm_domains);
|
||||
if (!matchDomain(arr_localstorage_hold)) {
|
||||
window.localStorage.clear();
|
||||
}
|
||||
|
@ -43,5 +43,5 @@
|
||||
"webRequestBlocking",
|
||||
"<all_urls>"
|
||||
],
|
||||
"version": "2.8.0.5"
|
||||
"version": "2.8.0.6"
|
||||
}
|
||||
|
@ -91,7 +91,6 @@
|
||||
"*://*.bienpublic.com/*",
|
||||
"*://*.billboard.com/*",
|
||||
"*://*.bizjournals.com/*",
|
||||
"*://*.blogfolha.uol.com.br/*",
|
||||
"*://*.bloomberg.com/*",
|
||||
"*://*.bnd.com/*",
|
||||
"*://*.bnn.de/*",
|
||||
@ -143,7 +142,6 @@
|
||||
"*://*.crainscleveland.com/*",
|
||||
"*://*.crainsdetroit.com/*",
|
||||
"*://*.crainsnewyork.com/*",
|
||||
"*://*.crusoe.uol.com.br/*",
|
||||
"*://*.csmonitor.com/*",
|
||||
"*://*.curbed.com/*",
|
||||
"*://*.cw.com.tw/*",
|
||||
@ -214,7 +212,6 @@
|
||||
"*://*.financialpost.com/*",
|
||||
"*://*.firstthings.com/*",
|
||||
"*://*.fnlondon.com/*",
|
||||
"*://*.folha.uol.com.br/*",
|
||||
"*://*.forbes.com/*",
|
||||
"*://*.foreignaffairs.com/*",
|
||||
"*://*.foreignpolicy.com/*",
|
||||
@ -602,6 +599,7 @@
|
||||
"*://*.tulsaworld.com/*",
|
||||
"*://*.twincities.com/*",
|
||||
"*://*.unherd.com/*",
|
||||
"*://*.uol.com.br/*",
|
||||
"*://*.upstreamonline.com/*",
|
||||
"*://*.usatoday.com/*",
|
||||
"*://*.usinenouvelle.com/*",
|
||||
@ -688,5 +686,5 @@
|
||||
"*://gcm.omerlocdn.com/*",
|
||||
"*://webcache.googleusercontent.com/*"
|
||||
],
|
||||
"version": "2.8.0.5"
|
||||
"version": "2.8.0.6"
|
||||
}
|
||||
|
20
sites.js
20
sites.js
@ -306,10 +306,6 @@ var defaultSites = {
|
||||
}
|
||||
]
|
||||
},
|
||||
"Crusoé (setCookie opt-in)": {
|
||||
domain: "crusoe.uol.com.br",
|
||||
allow_cookies: 1
|
||||
},
|
||||
"Dagens Industri": {
|
||||
domain: "di.se",
|
||||
allow_cookies: 1,
|
||||
@ -483,16 +479,6 @@ var defaultSites = {
|
||||
"First Things": {
|
||||
domain: "firstthings.com"
|
||||
},
|
||||
"Folha de S. Paulo": {
|
||||
domain: "###_br_folha",
|
||||
group: [
|
||||
"folha.uol.com.br",
|
||||
"blogfolha.uol.com.br"
|
||||
],
|
||||
allow_cookies: 1,
|
||||
block_regex: /(\.folha\.uol\.com\.br\/paywall\/js\/|paywall\.folha\.uol\.com\.br\/|js\.matheranalytics\.com\/|cdn\.ampproject\.org\/v\d\/amp-subscriptions-.+\.js)/,
|
||||
useragent: "googlebot"
|
||||
},
|
||||
"Follow the Money (ftm.nl)": {
|
||||
domain: "ftm.nl",
|
||||
allow_cookies: 1,
|
||||
@ -1935,6 +1921,12 @@ var defaultSites = {
|
||||
allow_cookies: 1,
|
||||
block_regex: /\.piano\.io\//
|
||||
},
|
||||
"UOL.com.br": {
|
||||
domain: "uol.com.br",
|
||||
allow_cookies: 1,
|
||||
block_regex: /(\.folha\.uol\.com\.br\/paywall\/js\/|paywall\.folha\.uol\.com\.br\/|\.tinypass\.com|js\.matheranalytics\.com\/|cdn\.ampproject\.org\/v\d\/amp-subscriptions-.+\.js)/,
|
||||
useragent: "googlebot"
|
||||
},
|
||||
"USA Today": {
|
||||
domain: "usatoday.com",
|
||||
allow_cookies: 1,
|
||||
|
Loading…
x
Reference in New Issue
Block a user