diff --git a/README.md b/README.md index 028363a6..67e911a7 100644 --- a/README.md +++ b/README.md @@ -596,7 +596,7 @@ Grouped in options:\ [South China Morning Post](https://www.scmp.com) - [Southern Weekly](https://www.infzm.com) - [Tech in Asia](https://www.techinasia.com) - -[The Diplomat](https://www.thediplomat.com) - +[The Diplomat](https://thediplomat.com) - [The Japan Times](https://www.japantimes.co.jp) #### India diff --git a/changelog.txt b/changelog.txt index 4935c7d3..eec7f419 100644 --- a/changelog.txt +++ b/changelog.txt @@ -2,6 +2,7 @@ Changelog Bypass Paywalls Clean - Firefox Post-release +Fix The Diplomat (cookies) Fix Times of India (amp) Update custom sites (random ip) diff --git a/sites.js b/sites.js index 5a2c4ef8..666ce02b 100644 --- a/sites.js +++ b/sites.js @@ -1423,7 +1423,9 @@ var defaultSites = { block_regex: /(\.blueconic\.net\/|js\.matheranalytics\.com\/|cdn\.ampproject\.org\/v\d\/amp-((sticky-)?ad|subscriptions)-.+\.js)/ }, "The Diplomat": { - domain: "thediplomat.com" + domain: "thediplomat.com", + block_regex: /\/thediplomat\.com\/.+\/js\/angular-cookies\.min\.js/, + remove_cookies_select_drop: ["dpl-pw"] }, "The Economic Times (ET Prime)": { domain: "###_economictimes", diff --git a/sites_updated.json b/sites_updated.json index ba398134..5bdeac88 100644 --- a/sites_updated.json +++ b/sites_updated.json @@ -25,6 +25,11 @@ "domain": "expressnews.com", "block_regex": "(\\.blueconic\\.net\\/|cdn\\.ampproject\\.org\\/v\\d\/amp-(access|(sticky-)?ad)-.+\\.js)" }, + "The Diplomat": { + "domain": "thediplomat.com", + "block_regex": "\\/thediplomat\\.com\\/.+\\/js\\/angular-cookies\\.min\\.js", + "remove_cookies_select_drop": ["dpl-pw"] + }, "The Indian Express": { "domain": "indianexpress.com", "allow_cookies": 1,