Fix Miami Herald (group McClatchy)
Plus fix WaPo (interactive)
This commit is contained in:
parent
32e0852f7f
commit
2091db013e
@ -172,7 +172,6 @@ _* free articles only._
|
||||
[Houston Chronicle](https://www.houstonchronicle.com) -
|
||||
[Los Angeles Business Journal](https://labusinessjournal.com) -
|
||||
[Los Angeles Times](https://www.latimes.com) -
|
||||
[Miami Herald](https://www.miamiherald.com) -
|
||||
[Mountain View Voice](https://www.mv-voice.com) -
|
||||
[New York Magazine](https://www.nymag.com) (+ [Curbed](https://www.curbed.com/), [Grub Street](https://www.grubstreet.com), [The Cut](https://www.thecut.com) & [Vulture](https://www.vulture.com)) -
|
||||
[Newsday](https://www.newsday.com) -
|
||||
@ -208,6 +207,7 @@ McClatchy Group sites like (opt-in to custom sites for unlisted)
|
||||
[Belleville News-Democrat](https://www.bnd.com) -
|
||||
[Fort Worth Star-Telegram](https://www.star-telegram.com) -
|
||||
[Lexington Herald-Leader](https://www.kentucky.com) -
|
||||
[Miami Herald](https://www.miamiherald.com) -
|
||||
[The Charlotte Observer](https://www.charlotteobserver.com) -
|
||||
[The Fresno Bee](https://www.fresnobee.com) -
|
||||
[The Kansas City Star](https://www.kansascity.com) -
|
||||
|
@ -29,6 +29,7 @@ const restrictions = {
|
||||
'nknews.org': /^((?!nknews\.org\/pro\/).)*$/,
|
||||
'quora.com': /^((?!quora\.com\/search\?q=).)*$/,
|
||||
'seekingalpha.com': /.+\/seekingalpha\.com\/($|(amp\/)?(article|news)\/|samw\/)/,
|
||||
'sueddeutsche.de': /^((?!projekte\.sueddeutsche\.de\/).)*$/,
|
||||
'techinasia.com': /\.techinasia\.com\/.+/,
|
||||
'wsj.com': /^((?!\/cn\.wsj\.com\/).)*$/
|
||||
}
|
||||
@ -219,7 +220,6 @@ var use_google_bot_default = [
|
||||
'intelligentinvestor.com.au',
|
||||
'lanouvellerepublique.fr',
|
||||
'leparisien.fr',
|
||||
'miamiherald.com',
|
||||
'newleftreview.org',
|
||||
'nknews.org',
|
||||
'nouvelobs.com',
|
||||
@ -401,7 +401,7 @@ var blockedRegexes = {
|
||||
'variety.com': /cdn\.cxense\.com\//,
|
||||
'velonews.com': /\.velonews\.com\/.+\/scripts\/contentGate.+\.js/,
|
||||
'venturebeat.com': /\.wallkit\.net\/js\//,
|
||||
'washingtonpost.com': /cdn\.ampproject\.org\/.+\/v\d\/amp-((sticky-)?ad|subscriptions)-.+\.js/,
|
||||
'washingtonpost.com': /cdn\.ampproject\.org\/.+\/v\d\/amp-(access|(sticky-)?ad|subscriptions)-.+\.js/,
|
||||
'wsj.com': /(cdn\.ampproject\.org\/v\d\/amp-(access|ad|consent)-.+\.js|cdn\.cxense\.com\/)/
|
||||
};
|
||||
|
||||
@ -1150,8 +1150,8 @@ ext_api.webRequest.onBeforeSendHeaders.addListener(function(details) {
|
||||
var useUserAgentMobile = false;
|
||||
var setReferer = false;
|
||||
|
||||
if (matchUrlDomain(change_headers, details.url) && (['main_frame', 'sub_frame', 'xmlhttprequest'].includes(details.type) || matchUrlDomain('thetimes.co.uk', details.url)) &&
|
||||
!(details.url.includes('.washingtonpost.com/talk/api/') && ['xmlhttprequest'].includes(details.type)) &&
|
||||
if (matchUrlDomain(change_headers, details.url) && (['main_frame', 'sub_frame', 'xmlhttprequest'].includes(details.type) || matchUrlDomain('thetimes.co.uk', details.url)) &&
|
||||
!(matchUrlDomain('washingtonpost.com', details.url) && (details.url.includes('/interactive/') || (details.url.includes('/talk/api/') && ['xmlhttprequest'].includes(details.type)))) &&
|
||||
!(matchUrlDomain('barrons.com', details.url) && enabledSites.includes('#options_disable_gb_barrons')) &&
|
||||
!(matchUrlDomain('wsj.com', details.url) && enabledSites.includes('#options_disable_gb_wsj'))) {
|
||||
// if referer exists, set it to google
|
||||
|
@ -3,8 +3,9 @@ Changelog Bypass Paywalls Clean - Chrome
|
||||
|
||||
Post-release
|
||||
Fix Il Secolo XIX (amp-redirect)
|
||||
Fix Miami Herald (group McClatchy)
|
||||
Fix New Left Review (timing)
|
||||
Fix WaPo (amp)
|
||||
Fix WaPo (amp/interactive)
|
||||
|
||||
* v2.2.8.0 (2021-07-04)
|
||||
Fix Le Parisien (Googlebot)
|
||||
|
@ -14,7 +14,7 @@ var fr_groupe_la_depeche_domains = ['centrepresseaveyron.fr', 'ladepeche.fr', 'l
|
||||
var it_repubblica_domains = ['gelocal.it', 'ilsecoloxix.it', 'lanuovasardegna.it', 'lastampa.it', 'limesonline.com', 'repubblica.it'];
|
||||
var nl_mediahuis_region_domains = ['gooieneemlander.nl', 'haarlemsdagblad.nl', 'ijmuidercourant.nl', 'leidschdagblad.nl', 'noordhollandsdagblad.nl'];
|
||||
var usa_crainsbiz_domains = ['chicagobusiness.com', 'crainscleveland', 'crainsdetroit', 'crainsnewyork.com'];
|
||||
var usa_mcc_domains = ['bnd.com', 'charlotteobserver.com', 'fresnobee.com', 'kansas.com', 'kansascity.com', 'kentucky.com', 'newsobserver.com', 'sacbee.com', 'star-telegram.com', 'thestate.com', 'tri-cityherald.com'];
|
||||
var usa_mcc_domains = ['bnd.com', 'charlotteobserver.com', 'fresnobee.com', 'kansas.com', 'kansascity.com', 'kentucky.com', 'miamiherald.com', 'newsobserver.com', 'sacbee.com', 'star-telegram.com', 'thestate.com', 'tri-cityherald.com'];
|
||||
var usa_tribune_domains = ['baltimoresun.com', 'chicagotribune.com', 'courant.com', 'dailypress.com', 'mcall.com', 'nydailynews.com', 'orlandosentinel.com', 'pilotonline.com', 'sun-sentinel.com'];
|
||||
|
||||
// clean local storage of sites (with an exemption for hold-list)
|
||||
|
@ -38,5 +38,5 @@
|
||||
"webRequestBlocking",
|
||||
"<all_urls>"
|
||||
],
|
||||
"version": "2.2.8.3"
|
||||
"version": "2.2.8.4"
|
||||
}
|
@ -522,5 +522,5 @@
|
||||
"*://*.wallkit.net/*",
|
||||
"*://*.wsj.net/*"
|
||||
],
|
||||
"version": "2.2.8.3"
|
||||
"version": "2.2.8.4"
|
||||
}
|
3
sites.js
3
sites.js
@ -170,7 +170,6 @@ var defaultSites =
|
||||
"Medium": "medium.com",
|
||||
"Medium custom domains": "###_medium_custom",
|
||||
"Mexico News Daily": "mexiconewsdaily.com",
|
||||
"Miami Herald": "miamiherald.com",
|
||||
"MIT Sloan Management Review": "sloanreview.mit.edu",
|
||||
"MIT Technology Review": "technologyreview.com",
|
||||
"Modern Healthcare": "modernhealthcare.com",
|
||||
@ -341,7 +340,7 @@ const nl_ad_region_domains = ['ad.nl', 'bd.nl', 'ed.nl', 'tubantia.nl', 'bndeste
|
||||
const nl_mediahuis_region_domains = ['gooieneemlander.nl', 'haarlemsdagblad.nl', 'ijmuidercourant.nl', 'leidschdagblad.nl', 'noordhollandsdagblad.nl'];
|
||||
const timesofindia_domains = ['timesofindia.com', 'timesofindia.indiatimes.com'];
|
||||
const usa_crainsbiz_domains = ['chicagobusiness.com', 'crainscleveland', 'crainsdetroit', 'crainsnewyork.com'];
|
||||
const usa_mcc_domains = ['bnd.com', 'charlotteobserver.com', 'fresnobee.com', 'kansas.com', 'kansascity.com', 'kentucky.com', 'newsobserver.com', 'sacbee.com', 'star-telegram.com', 'thestate.com', 'tri-cityherald.com'];
|
||||
const usa_mcc_domains = ['bnd.com', 'charlotteobserver.com', 'fresnobee.com', 'kansas.com', 'kansascity.com', 'kentucky.com', 'miamiherald.com', 'newsobserver.com', 'sacbee.com', 'star-telegram.com', 'thestate.com', 'tri-cityherald.com'];
|
||||
const usa_nymag_domains = ['curbed.com', 'grubstreet.com', 'nymag.com', 'thecut.com', 'vulture.com'];
|
||||
const usa_tribune_domains = ['baltimoresun.com', 'chicagotribune.com', 'courant.com', 'dailypress.com', 'mcall.com', 'nydailynews.com', 'orlandosentinel.com', 'pilotonline.com', 'sun-sentinel.com'];
|
||||
const usa_theathletic_domains = ['theathletic.com', 'theathletic.co.uk'];
|
||||
|
Loading…
x
Reference in New Issue
Block a user