Fix Foreign Affairs (js)

This commit is contained in:
magnolia1234 2022-07-21 08:23:34 +02:00
parent c6d1e8c7b5
commit ac00061216
6 changed files with 8 additions and 4 deletions

View File

@ -22,7 +22,6 @@ var restrictions = {
'elespanol.com': /^((?!\/cronicaglobal\.elespanol\.com\/).)*$/, 'elespanol.com': /^((?!\/cronicaglobal\.elespanol\.com\/).)*$/,
'espn.com': /^((?!espn\.com\/watch).)*$/, 'espn.com': /^((?!espn\.com\/watch).)*$/,
'faz.net': /^((?!\.faz\.net\/aktuell\/(\?switchfaznet)?$).)*$/, 'faz.net': /^((?!\.faz\.net\/aktuell\/(\?switchfaznet)?$).)*$/,
'foreignaffairs.com': /\.foreignaffairs\.com\/((articles|fa-caching|interviews|reviews|sites)\/)/,
'globo.com': /^((?!\/valor\.globo\.com\/).)*$/, 'globo.com': /^((?!\/valor\.globo\.com\/).)*$/,
'lastampa.it': /^((?!\/video\.lastampa\.it\/).)*$/, 'lastampa.it': /^((?!\/video\.lastampa\.it\/).)*$/,
'nytimes.com': /^((?!\/timesmachine\.nytimes\.com\/).)*$/, 'nytimes.com': /^((?!\/timesmachine\.nytimes\.com\/).)*$/,

View File

@ -4,6 +4,7 @@ Changelog Bypass Paywalls Clean - Chrome
Post-release Post-release
Add StuDocu (no downloads) Add StuDocu (no downloads)
Remove The Ken (fix not working) Remove The Ken (fix not working)
Fix Foreign Affairs (js)
Fix Krautreporter.de Fix Krautreporter.de
Fix Scientific American (magazine) Fix Scientific American (magazine)

View File

@ -43,5 +43,5 @@
"webRequestBlocking", "webRequestBlocking",
"<all_urls>" "<all_urls>"
], ],
"version": "2.7.6.3" "version": "2.7.6.4"
} }

View File

@ -681,5 +681,5 @@
"*://*.wsj.net/*", "*://*.wsj.net/*",
"*://webcache.googleusercontent.com/*" "*://webcache.googleusercontent.com/*"
], ],
"version": "2.7.6.3" "version": "2.7.6.4"
} }

View File

@ -511,7 +511,7 @@ var defaultSites = {
}, },
"Foreign Affairs": { "Foreign Affairs": {
domain: "foreignaffairs.com", domain: "foreignaffairs.com",
block_regex: /\.foreignaffairs\.com\/sites\/default\/files\/js\/js_[^y].+\.js/ block_regex: /\.foreignaffairs\.com\/modules\/custom\/fa_paywall_js\/js\/paywall\.js/
}, },
"Foreign Policy": { "Foreign Policy": {
domain: "foreignpolicy.com", domain: "foreignpolicy.com",

View File

@ -1,4 +1,8 @@
{ {
"Foreign Affairs": {
"domain": "foreignaffairs.com",
"block_regex": "\\.foreignaffairs\\.com\\/modules\\/custom\\/fa_paywall_js\\/js\\/paywall\\.js"
},
"Krautreporter.de": { "Krautreporter.de": {
"domain": "krautreporter.de", "domain": "krautreporter.de",
"cs_code": [{ "cs_code": [{