Remove NK News (obsolete)

This commit is contained in:
magnolia1234 2020-12-04 17:15:47 +01:00
parent ec7103ec27
commit ced7e0e1b2
6 changed files with 1 additions and 15 deletions

View file

@ -339,7 +339,6 @@ For example:
[CommonWealth Magazine Taiwan](https://www.cw.com.tw) -
[Harvard Business Review Taiwan](https://www.hbrtaiwan.com) -
[Nikkei Asian Review](https://asia.nikkei.com) -
[NK News](https://www.nknews.org)* -
[South China Morning Post](https://www.scmp.com) -
[Tech in Asia](https://www.techinasia.com) -
[The Diplomat](https://www.thediplomat.com) -

View file

@ -20,7 +20,6 @@ const restrictions = {
'ft.com': /.+\.ft.com\/content\//,
'gestion.pe': /.+\/gestion\.pe\/.+((\w)+(\-)+){3,}.+/,
'hs.fi': /^((?!\/.+\.hs\.fi\/paivanlehti\/).)*$/,
'nknews.org': /^((?!\.nknews\.org\/pro\/).)*$/,
'globo.com': /^((?!\/valor\.globo\.com\/).)*$/,
'quora.com': /^((?!quora\.com\/search\?q=).)*$/,
'seekingalpha.com': /.+seekingalpha\.com\/article\/.+/,
@ -77,7 +76,6 @@ var allow_cookies_default = [
'nationalpost.com',
'nationalreview.com',
'newrepublic.com',
'nknews.org',
'noordhollandsdagblad.nl',
'nrz.de',
'nybooks.com',
@ -250,7 +248,6 @@ var blockedRegexes = {
'newrepublic.com': /.+\.onecount\.net\/js\/.+/,
'newsweek.com': /js\.pelcro\.com\/.+/,
'newyorker.com': /.+\.newyorker\.com\/verso\/static\/presenter-articles.+\.js/,
'nknews.org': /.+\.nknews\.org\/wp-content\/plugins\/leaky-paywall-ajax\/js\/leaky-paywall-ajax\.js/,
'nrz.de': /(cdn\.cxense\.com\/.+|cdn\.tinypass\.com\/.+)/,
'nytimes.com': /(meter-svc\.nytimes\.com\/meter\.js|mwcm\.nyt\.com\/.+\.js)/,
'quotidiano.net': /cdn\.tinypass\.com\/.+/,

View file

@ -6,6 +6,7 @@ Add El Comercio, Ideal & La Voz de Cadiz (Spain)
Add Esprit (France)
Add The Spectator USA
Remove Aftonbladet.se (obsolete)
Remove NK News (obsolete)
Fix-update CharlieHebdo.fr (captcha)
Fix-update Discover Magazine
Fix-update El Mercurio & La Segunda (mobile)

View file

@ -1329,15 +1329,6 @@ else if (domain = matchDomain(["fresnobee.com", "sacbee.com"])) {
}
}
else if (matchDomain("nknews.org")) {
let full_content = document.querySelector('div#fullContent');
if (full_content)
full_content.removeAttribute('style');
let excerpt = document.querySelector('div#excerptContent');
let mobile_widget = document.querySelector('div.mobile-widget');
removeDOMElement(excerpt, mobile_widget);
}
else if (matchDomain("startribune.com")) {
document.addEventListener('DOMContentLoaded', () => {
let react_modal_portal = document.querySelectorAll('div.ReactModalPortal');

View file

@ -231,7 +231,6 @@
"*://*.newstatesman.com/*",
"*://*.newsweek.com/*",
"*://*.newyorker.com/*",
"*://*.nknews.org/*",
"*://*.noordhollandsdagblad.nl/*",
"*://*.northerndailyleader.com.au/*",
"*://*.northernstar.com.au/*",

View file

@ -136,7 +136,6 @@ var defaultSites =
"New Zealand Herald": "nzherald.co.nz",
"Newsweek": "newsweek.com",
"Nikkei Asian Review": "asia.nikkei.com",
"NK News (free articles only)": "nknews.org",
"Noordhollands Dagblad": "noordhollandsdagblad.nl",
"NRC Handelsblad": "nrc.nl",
"O Estado de S. Paulo": "estadao.com.br",