mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-04 12:00:10 +00:00
Fix NzHerald
This commit is contained in:
parent
06b3448077
commit
81525ae5c3
@ -249,6 +249,7 @@ var use_google_bot = use_google_bot_default.slice();
|
||||
var use_bing_bot_default = [
|
||||
'haaretz.co.il',
|
||||
'haaretz.com',
|
||||
'nzherald.co.nz',
|
||||
'stratfor.com',
|
||||
'themarker.com',
|
||||
];
|
||||
@ -1200,7 +1201,7 @@ ext_api.webRequest.onBeforeSendHeaders.addListener(function(details) {
|
||||
!(matchUrlDomain('barrons.com', details.url) && enabledSites.includes('#options_disable_gb_barrons')) &&
|
||||
!(matchUrlDomain('wsj.com', details.url) && enabledSites.includes('#options_disable_gb_wsj'));
|
||||
|
||||
if (matchUrlDomain(change_headers, details.url) && (['main_frame', 'sub_frame', 'xmlhttprequest'].includes(details.type) || matchUrlDomain(['theaustralian.com.au', 'thetimes.co.uk'], details.url))) {
|
||||
if (matchUrlDomain(change_headers, details.url) && (!['font', 'image', 'stylesheet'].includes(details.type) || matchUrlDomain(['thetimes.co.uk'], details.url))) {
|
||||
// if referer exists, set it
|
||||
requestHeaders = requestHeaders.map(function (requestHeader) {
|
||||
if (requestHeader.name === 'Referer') {
|
||||
|
@ -5,6 +5,7 @@ Post-release
|
||||
Remove WirtschaftsWoche (obsolete)
|
||||
Fix Estadao.com.br
|
||||
Fix Handelsblatt (only non-premium articles)
|
||||
Fix NzHerald
|
||||
|
||||
* v2.3.5.0 (2021-08-29)
|
||||
Add Forbes
|
||||
|
Loading…
Reference in New Issue
Block a user