Add The New Republic

This commit is contained in:
magnolia1234 2020-03-23 17:59:16 +01:00 committed by GitHub
parent dfb978f5d0
commit 0a72e1657d
3 changed files with 5 additions and 1 deletions

View file

@ -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).

View file

@ -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/,

View file

@ -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",