Fix The Diplomat (cookies)

This commit is contained in:
magnolia1234 2021-12-21 17:54:33 +01:00
parent 018629c8da
commit 8b50aad251
4 changed files with 10 additions and 2 deletions

View File

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

View File

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

View File

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

View File

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