mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 03:21:58 +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 {
|
||||
// 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) &&
|
||||
!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)
|
||||
usa_townnews_domains = customAddRules(usa_townnews_domains, '', /\.com\/shared-content\/art\/tncms\/user\/user\.js/);
|
||||
else {
|
||||
|
|
|
@ -6,6 +6,7 @@ Add Groupe Centre France (opt-in to custom sites)
|
|||
Fix Aftonbladet.se
|
||||
Fix Business Standard
|
||||
Fix Hearst Communications (newspapers)
|
||||
Fix The (New Orleans) Advocate
|
||||
Fix The Athletic
|
||||
Fix The Chronicle of Higher Education (& Philanthropy)
|
||||
|
||||
|
|
|
@ -707,5 +707,5 @@
|
|||
"*://gcm.omerlocdn.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": {
|
||||
domain: "nationalreview.com",
|
||||
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": {
|
||||
domain: "nautil.us",
|
||||
|
@ -1622,7 +1622,7 @@ var defaultSites = {
|
|||
"theadvocate.com"
|
||||
],
|
||||
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": {
|
||||
domain: "theage.com.au",
|
||||
|
@ -1690,7 +1690,7 @@ var defaultSites = {
|
|||
"philanthropy.com"
|
||||
],
|
||||
allow_cookies: 1,
|
||||
block_regex: /\.blueconic\.net\//
|
||||
block_regex: "(\\.{domain}\\/script\\.js|\\.blueconic\\.net\\/)"
|
||||
},
|
||||
"The Daily Beast": {
|
||||
domain: "thedailybeast.com",
|
||||
|
@ -1963,7 +1963,7 @@ var defaultSites = {
|
|||
"sun-sentinel.com"
|
||||
],
|
||||
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": {
|
||||
domain: "unherd.com",
|
||||
|
|
|
@ -53,6 +53,15 @@
|
|||
"domain": "penews.com",
|
||||
"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": {
|
||||
"domain": "###_usa_theathletic",
|
||||
"group": [
|
||||
|
|
Loading…
Reference in a new issue