diff --git a/README.md b/README.md index 5cdd2d0..7781be6 100644 --- a/README.md +++ b/README.md @@ -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) - diff --git a/background.js b/background.js index 8099e50..934fb0e 100644 --- a/background.js +++ b/background.js @@ -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\/.+/, diff --git a/changelog.txt b/changelog.txt index d8cc979..c73bfd7 100644 --- a/changelog.txt +++ b/changelog.txt @@ -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) diff --git a/contentScript.js b/contentScript.js index 8a3c793..a23ed8a 100644 --- a/contentScript.js +++ b/contentScript.js @@ -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'); diff --git a/manifest.json b/manifest.json index 95126ca..9f020f9 100644 --- a/manifest.json +++ b/manifest.json @@ -231,7 +231,6 @@ "*://*.newstatesman.com/*", "*://*.newsweek.com/*", "*://*.newyorker.com/*", - "*://*.nknews.org/*", "*://*.noordhollandsdagblad.nl/*", "*://*.northerndailyleader.com.au/*", "*://*.northernstar.com.au/*", diff --git a/sites.js b/sites.js index 6044281..9b79722 100644 --- a/sites.js +++ b/sites.js @@ -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",