Update badge (site with no fix; X)
This commit is contained in:
parent
4af81371a5
commit
ff2120eb41
@ -1112,6 +1112,9 @@ function updateBadge(activeTab) {
|
||||
} else if (matchUrlDomain(disabledSites, currentUrl)) {
|
||||
badgeText = 'OFF';
|
||||
color = 'blue';
|
||||
} else if (matchUrlDomain(nofix_sites, currentUrl)) {
|
||||
badgeText = 'X';
|
||||
color = 'gray';
|
||||
}
|
||||
if (ext_version_new)
|
||||
badgeText = '^' + badgeText;
|
||||
|
@ -6,6 +6,7 @@ Add Diari de Girona & Emporda
|
||||
Fix El Espectador
|
||||
Fix eNotes
|
||||
Fix Lequipe.fr (json)
|
||||
Update badge (site with no fix; X)
|
||||
|
||||
* v2.6.6.0 (2022-04-24)
|
||||
Add Automobilwoche
|
||||
|
@ -1405,7 +1405,7 @@ else if (matchDomain('lequipe.fr')) {
|
||||
if (par.title || par.content) {
|
||||
if (par.title && par.title.length > 2)
|
||||
article_text += '<p><strong>' + par.title + '</strong></p>';
|
||||
if (par.content) {
|
||||
if (par.content && par.content.length > 2) {
|
||||
let par_content = par.content.replace('class=', '').replace(/\\u003C/g, '<').replace(/\\u003E/g, '>').replace(/\\u002F/g, '/').replace(/\\"/g, '"').replace(/(^\"|\"$)/g, '').replace(/\\t/g, '');
|
||||
article_text += '<p>' + par_content + '</p>';
|
||||
}
|
||||
|
3
sites.js
3
sites.js
@ -2084,3 +2084,6 @@ var it_repubblica_domains = defaultSites['###_gr_it_repubblica_domains']['group_
|
||||
var nl_mediahuis_region_domains = grouped_sites['###_nl_mediahuis_region'];
|
||||
var no_nhst_media_domains = grouped_sites['###_no_nhst_media'];
|
||||
var usa_theathletic_domains = grouped_sites['###_usa_theathletic'];
|
||||
|
||||
// sites with no fix (background)
|
||||
var nofix_sites = ['ad.nl', 'africaintelligence.com', 'africaintelligence.fr', 'aftenposten.no', 'bild.de', 'borsen.dk', 'businesstimes.com.sg', 'caixin.com', 'caixinglobal.com', 'caravanmagazine.in', 'cnbc.com', 'courrierinternational.com', 'elordenmundial.com', 'epw.in', 'expresso.pt', 'ftchinese.com', 'gazzetta.it', 'hln.be', 'ilmanifesto.it', 'ilsole24ore.com', 'irishtimes.com', 'jacobinmag.com', 'jeunesafrique.com', 'lavozdegalicia.es', 'leconomiste.com', 'lefigaro.fr', 'lemonde.fr', 'lepoint.fr', 'liberation.fr', 'mediapart.fr', 'milanofinanza.it', 'mondediplo.com', 'moneycontrol.com', 'nieuwsblad.be', 'nknews.org', 'ouest-france.fr', 'politiken.de', 'publico.pt', 'republic.ru', 'rp-online.de', 'spiegel.de', 'standaard.be', 'statnews.com', 'stern.de', 'straitstimes.com', 'sueddeutsche.de', 'tagesanzeiger.ch', 'tagesspiegel.de', 'theinformation.com', ' themorningcontext.com', 'theparisreview.org', 'thewirechina.com', 'welt.de', 'ynet.co.il'];
|
||||
|
Loading…
x
Reference in New Issue
Block a user