mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-13 01:34:16 +01:00
Fix The (New Orleans) Advocate
This commit is contained in:
parent
5a5cfd9b34
commit
c2ffb7f0b0
5 changed files with 16 additions and 6 deletions
|
@ -902,7 +902,7 @@ ext_api.webRequest.onBeforeSendHeaders.addListener(function(details) {
|
||||||
else {
|
else {
|
||||||
// block script for TownNews sites (Blox CMS; opt-in to custom sites)
|
// block script for TownNews sites (Blox CMS; opt-in to custom sites)
|
||||||
var usa_townnews_domain = (details.url.match(/\.townnews\.com\/.+\/tncms\//) && ['script'].includes(details.type) &&
|
var usa_townnews_domain = (details.url.match(/\.townnews\.com\/.+\/tncms\//) && ['script'].includes(details.type) &&
|
||||||
!matchUrlDomain(usa_townnews_domains.concat(usa_lee_ent_domains, ['townnews.com', 'galvnews.com']), header_referer) && enabledSites.includes('###_usa_townnews'));
|
!matchUrlDomain(usa_townnews_domains.concat(usa_lee_ent_domains, ['townnews.com', 'galvnews.com', 'nola.com', 'theadvocate.com']), header_referer) && enabledSites.includes('###_usa_townnews'));
|
||||||
if (usa_townnews_domain)
|
if (usa_townnews_domain)
|
||||||
usa_townnews_domains = customAddRules(usa_townnews_domains, '', /\.com\/shared-content\/art\/tncms\/user\/user\.js/);
|
usa_townnews_domains = customAddRules(usa_townnews_domains, '', /\.com\/shared-content\/art\/tncms\/user\/user\.js/);
|
||||||
else {
|
else {
|
||||||
|
|
|
@ -6,6 +6,7 @@ Add Groupe Centre France (opt-in to custom sites)
|
||||||
Fix Aftonbladet.se
|
Fix Aftonbladet.se
|
||||||
Fix Business Standard
|
Fix Business Standard
|
||||||
Fix Hearst Communications (newspapers)
|
Fix Hearst Communications (newspapers)
|
||||||
|
Fix The (New Orleans) Advocate
|
||||||
Fix The Athletic
|
Fix The Athletic
|
||||||
Fix The Chronicle of Higher Education (& Philanthropy)
|
Fix The Chronicle of Higher Education (& Philanthropy)
|
||||||
|
|
||||||
|
|
|
@ -707,5 +707,5 @@
|
||||||
"*://gcm.omerlocdn.com/*",
|
"*://gcm.omerlocdn.com/*",
|
||||||
"*://webcache.googleusercontent.com/*"
|
"*://webcache.googleusercontent.com/*"
|
||||||
],
|
],
|
||||||
"version": "2.8.5.6"
|
"version": "2.8.5.7"
|
||||||
}
|
}
|
||||||
|
|
8
sites.js
8
sites.js
|
@ -1247,7 +1247,7 @@ var defaultSites = {
|
||||||
"National Review": {
|
"National Review": {
|
||||||
domain: "nationalreview.com",
|
domain: "nationalreview.com",
|
||||||
allow_cookies: 1,
|
allow_cookies: 1,
|
||||||
block_regex: /(\.blueconic\.net\/|cdn\.ampproject\.org\/v\d\/amp-access-.+\.js)/
|
block_regex: "(\\.{domain}\\/script\\.js|\\.blueconic\\.net\\/|cdn\\.ampproject\\.org\\/v\\d\\/amp-access-.+\\.js)"
|
||||||
},
|
},
|
||||||
"Nautilus": {
|
"Nautilus": {
|
||||||
domain: "nautil.us",
|
domain: "nautil.us",
|
||||||
|
@ -1622,7 +1622,7 @@ var defaultSites = {
|
||||||
"theadvocate.com"
|
"theadvocate.com"
|
||||||
],
|
],
|
||||||
allow_cookies: 1,
|
allow_cookies: 1,
|
||||||
block_regex: /(loader-cdn\.azureedge\.net\/|\.blueconic\.net\/|js\.matheranalytics\.com\/)/
|
block_regex: "(\\.{domain}\\/script\\.js|\\.blueconic\\.net\\/|\\.com\\/shared-content\\/art\\/tncms\\/user\\/user\\.js|js\\.matheranalytics\\.com\\/)"
|
||||||
},
|
},
|
||||||
"The Age": {
|
"The Age": {
|
||||||
domain: "theage.com.au",
|
domain: "theage.com.au",
|
||||||
|
@ -1690,7 +1690,7 @@ var defaultSites = {
|
||||||
"philanthropy.com"
|
"philanthropy.com"
|
||||||
],
|
],
|
||||||
allow_cookies: 1,
|
allow_cookies: 1,
|
||||||
block_regex: /\.blueconic\.net\//
|
block_regex: "(\\.{domain}\\/script\\.js|\\.blueconic\\.net\\/)"
|
||||||
},
|
},
|
||||||
"The Daily Beast": {
|
"The Daily Beast": {
|
||||||
domain: "thedailybeast.com",
|
domain: "thedailybeast.com",
|
||||||
|
@ -1963,7 +1963,7 @@ var defaultSites = {
|
||||||
"sun-sentinel.com"
|
"sun-sentinel.com"
|
||||||
],
|
],
|
||||||
allow_cookies: 1,
|
allow_cookies: 1,
|
||||||
block_regex: /(\.tribdss\.com\/|\.blueconic\.net\/|\.zephr\.com\/zephr-browser\/.+\/zephr-browser\.umd\.js)/
|
block_regex: "(\\.tribdss\\.com\\/|\\.{domain}\\/script\\.js|\\.blueconic\\.net\\/|\\.zephr\\.com\\/zephr-browser\\/.+\\/zephr-browser\\.umd\\.js)"
|
||||||
},
|
},
|
||||||
"UnHerd": {
|
"UnHerd": {
|
||||||
domain: "unherd.com",
|
domain: "unherd.com",
|
||||||
|
|
|
@ -53,6 +53,15 @@
|
||||||
"domain": "penews.com",
|
"domain": "penews.com",
|
||||||
"useragent": "googlebot"
|
"useragent": "googlebot"
|
||||||
},
|
},
|
||||||
|
"The (New Orleans) Advocate": {
|
||||||
|
"domain": "###_usa_theadvocate",
|
||||||
|
"group": [
|
||||||
|
"nola.com",
|
||||||
|
"theadvocate.com"
|
||||||
|
],
|
||||||
|
"allow_cookies": 1,
|
||||||
|
"block_regex": "(\\.{domain}\\/script\\.js|\\.blueconic\\.net\\/|\\.com\\/shared-content\\/art\\/tncms\\/user\\/user\\.js|js\\.matheranalytics\\.com\\/)"
|
||||||
|
},
|
||||||
"The Athletic": {
|
"The Athletic": {
|
||||||
"domain": "###_usa_theathletic",
|
"domain": "###_usa_theathletic",
|
||||||
"group": [
|
"group": [
|
||||||
|
|
Loading…
Reference in a new issue