diff --git a/README.md b/README.md index 79312da..7338973 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,7 @@ [The Atlantic](https://www.theatlantic.com) - [The Christian Science Monitor](https://www.csmonitor.com) - [The Nation](https://www.thenation.com) - +[The New Republic](https://newrepublic.com) - [The New York Times](https://www.nytimes.com) - [The New Yorker](https://www.newyorker.com) - [The Washington Post](https://www.washingtonpost.com) - @@ -254,7 +255,7 @@ You can submit a request for a new website [here](https://github.com/magnolia123 ### Add custom site Add your own custom site (also for testing). -Check 'Custom'-link in popup-menu. +Check 'Options'-link in popup-menu and go to custom sites. By default sites' cookies are removed after page loads (to bypass article limit). Also you can enable Googlebot user-agent or disable Javascript for (sub)domain(s). diff --git a/background.js b/background.js index 5850fca..dbbf171 100644 --- a/background.js +++ b/background.js @@ -41,6 +41,7 @@ var allow_cookies = [ 'mexiconewsdaily.com', 'modernhealthcare.com', 'nationalreview.com', +'newrepublic.com', 'ntnews.com.au', 'nytimes.com', 'parool.nl', @@ -159,6 +160,7 @@ var blockedRegexes = { 'modernhealthcare.com': /.+\.tinypass\.com\/.+/, 'nationalreview.com': /.+\.blueconic\.net\/.+/, 'newcastleherald.com.au': /.+cdn-au\.piano\.io\/api\/tinypass.+\.js/, +'newrepublic.com': /.+\.onecount\.net\/js\/.+/, 'nytimes.com': /(.+meter-svc\.nytimes\.com\/meter\.js.+|.+mwcm\.nyt\.com\/.+\.js)/, 'nzherald.co.nz': /nzherald\.co\.nz\/.+\/headjs\/.+\.js/, 'portnews.com.au': /.+cdn-au\.piano\.io\/api\/tinypass.+\.js/, diff --git a/sites.js b/sites.js index 6790f53..0c489be 100644 --- a/sites.js +++ b/sites.js @@ -140,6 +140,7 @@ var defaultSites = "The Mercury Tasmania": "themercury.com.au", "The Morning Call": "mcall.com", "The Nation": "thenation.com", + "The New Republic": "newrepublic.com", "The New Statesman": "newstatesman.com", "The New York Times": "nytimes.com", "The New Yorker": "newyorker.com",