Fix Foreign Affairs (js)

This commit is contained in:
magnolia1234 2022-07-21 08:23:41 +02:00
parent 3e938b76b9
commit d257aa22e9
5 changed files with 7 additions and 3 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 - Firefox
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

@ -693,5 +693,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": [{