Add NHST Media Group (TradeWinds)
This commit is contained in:
parent
be00eaeed7
commit
04b310066d
10
README.md
10
README.md
@ -115,8 +115,14 @@ _* free articles only._
|
||||
[Seeking Alpha](https://seekingalpha.com) -
|
||||
[Stock News](https://stocknews.com) -
|
||||
[The Business Journals](https://www.bizjournals.com) -
|
||||
[The Wall Street Journal](https://www.wsj.com) -
|
||||
[TradeWinds](https://www.tradewindsnews.com)
|
||||
[The Wall Street Journal](https://www.wsj.com)
|
||||
|
||||
Grouped in options:\
|
||||
NHST Media Group sites like (opt-in to custom sites)
|
||||
[Intrafish](https://www.intrafish.com) -
|
||||
[Recharge](https://www.rechargenews.com) -
|
||||
[TradeWinds](https://www.tradewindsnews.com) -
|
||||
[Upstream](https://www.upstreamonline.com)
|
||||
|
||||
##### Tech/Science
|
||||
[360Dx](https://www.360dx.com) -
|
||||
|
@ -453,6 +453,7 @@ var grouped_sites = {
|
||||
'###_it_ilmessaggero': it_ilmessaggero_domains,
|
||||
'###_nl_ad_region': nl_ad_region_domains,
|
||||
'###_nl_mediahuis_region': nl_mediahuis_region_domains,
|
||||
'###_no_nhst_media': no_nhst_media_domains,
|
||||
'###_timesofindia': timesofindia_domains,
|
||||
'###_usa_crainsbiz': usa_crainsbiz_domains,
|
||||
'###_usa_mcc': usa_mcc_domains,
|
||||
@ -543,6 +544,10 @@ function add_grouped_sites(init_rules) {
|
||||
remove_cookies_select_drop[domain] = ['temptationTrackingId'];
|
||||
for (let domain of nl_mediahuis_region_domains)
|
||||
allow_cookies.push(domain);
|
||||
for (let domain of no_nhst_media_domains) {
|
||||
allow_cookies.push(domain);
|
||||
use_facebook_referer.push(domain);
|
||||
}
|
||||
for (let domain of timesofindia_domains) {
|
||||
allow_cookies.push(domain);
|
||||
use_google_bot.push(domain);
|
||||
@ -1230,7 +1235,7 @@ if (matchUrlDomain(change_headers, details.url) && (['main_frame', 'sub_frame',
|
||||
}
|
||||
if ((!['font', 'stylesheet'].includes(details.type) || matchUrlDomain(cs_limit_except, currentTabUrl)) && !csDone) {
|
||||
let lib_file = 'lib/empty.js';
|
||||
if (matchUrlDomain(['bloomberg.com', 'cicero.de', 'economictimes.com', 'gva.be', 'lesechos.fr', 'newleftreview.org', 'newyorker.com', 'nzherald.co.nz', 'prospectmagazine.co.uk', 'sudouest.fr', 'techinasia.com', 'tradewindsnews.com', 'valor.globo.com', 'washingtonpost.com'].concat(nl_mediahuis_region_domains), currentTabUrl))
|
||||
if (matchUrlDomain(['bloomberg.com', 'cicero.de', 'economictimes.com', 'gva.be', 'lesechos.fr', 'newleftreview.org', 'newyorker.com', 'nzherald.co.nz', 'prospectmagazine.co.uk', 'sudouest.fr', 'techinasia.com', 'valor.globo.com', 'washingtonpost.com'].concat(nl_mediahuis_region_domains, no_nhst_media_domains), currentTabUrl))
|
||||
lib_file = 'lib/purify.min.js';
|
||||
ext_api.tabs.executeScript(tabId, {
|
||||
file: lib_file,
|
||||
|
@ -2,6 +2,7 @@
|
||||
Changelog Bypass Paywalls Clean - Chrome
|
||||
|
||||
Post-release
|
||||
Add NHST Media Group (TradeWinds)
|
||||
Add Southern Weekly (China)
|
||||
Fix Alma Talent sites
|
||||
Fix Bloomberg
|
||||
|
@ -14,12 +14,13 @@ var fr_groupe_ebra_domains = ['bienpublic.com', 'dna.fr', 'estrepublicain.fr', '
|
||||
var fr_groupe_la_depeche_domains = ['centrepresseaveyron.fr', 'ladepeche.fr', 'lindependant.fr', 'midi-olympique.fr', 'midilibre.fr', 'nrpyrenees.fr', 'petitbleu.fr'];
|
||||
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 no_nhst_media_domains = ['intrafish.com', 'rechargenews.com', 'tradewindsnews.com', 'upstreamonline.com'];
|
||||
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', '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)
|
||||
var arr_localstorage_hold = ['augsburger-allgemeine.de', 'charliehebdo.fr', 'cmjornal.pt', 'elmundo.es', 'expansion.com', 'houstonchronicle.com', 'irishtimes.com', 'kurier.at', 'nknews.org', 'seekingalpha.com', 'sfchronicle.com', 'thehindu.com', 'thetimes.co.uk', 'tradewindsnews.com'];
|
||||
var arr_localstorage_hold = ['augsburger-allgemeine.de', 'charliehebdo.fr', 'cmjornal.pt', 'elmundo.es', 'expansion.com', 'houstonchronicle.com', 'irishtimes.com', 'kurier.at', 'nknews.org', 'seekingalpha.com', 'sfchronicle.com', 'thehindu.com', 'thetimes.co.uk'].concat(no_nhst_media_domains);
|
||||
arr_localstorage_hold = arr_localstorage_hold.concat(de_funke_media_domains, es_grupo_vocento_domains);
|
||||
if (!matchDomain(arr_localstorage_hold)) {
|
||||
window.localStorage.clear();
|
||||
@ -2496,9 +2497,9 @@ else if (matchDomain('timeshighereducation.com')) {
|
||||
}
|
||||
}
|
||||
|
||||
else if (matchDomain('tradewindsnews.com')) {
|
||||
else if (matchDomain(no_nhst_media_domains)) {
|
||||
let url = window.location.href;
|
||||
if (url.includes('.com/markets/')) {
|
||||
if (url.includes('.tradewinds.com/markets/')) {
|
||||
let paywall = document.querySelector('iframe[src]');
|
||||
removeDOMElement(paywall);
|
||||
let overflow = document.querySelector('body[style]');
|
||||
|
@ -38,5 +38,5 @@
|
||||
"webRequestBlocking",
|
||||
"<all_urls>"
|
||||
],
|
||||
"version": "2.2.9.5"
|
||||
"version": "2.2.9.6"
|
||||
}
|
@ -223,6 +223,7 @@
|
||||
"*://*.inkl.com/*",
|
||||
"*://*.inquirer.com/*",
|
||||
"*://*.intelligentinvestor.com.au/*",
|
||||
"*://*.intrafish.com/*",
|
||||
"*://*.irishtimes.com/*",
|
||||
"*://*.japantimes.co.jp/*",
|
||||
"*://*.journaldunet.com/*",
|
||||
@ -365,6 +366,7 @@
|
||||
"*://*.quotidiano.net/*",
|
||||
"*://*.quotidianodipuglia.it/*",
|
||||
"*://*.qz.com/*",
|
||||
"*://*.rechargenews.com/*",
|
||||
"*://*.repubblica.it/*",
|
||||
"*://*.republic.ru/*",
|
||||
"*://*.republicain-lorrain.fr/*",
|
||||
@ -461,6 +463,7 @@
|
||||
"*://*.tri-cityherald.com/*",
|
||||
"*://*.trouw.nl/*",
|
||||
"*://*.tubantia.nl/*",
|
||||
"*://*.upstreamonline.com/*",
|
||||
"*://*.usatoday.com/*",
|
||||
"*://*.usinenouvelle.com/*",
|
||||
"*://*.uusisuomi.fi/*",
|
||||
@ -523,5 +526,5 @@
|
||||
"*://*.wallkit.net/*",
|
||||
"*://*.wsj.net/*"
|
||||
],
|
||||
"version": "2.2.9.5"
|
||||
"version": "2.2.9.6"
|
||||
}
|
5
sites.js
5
sites.js
@ -185,6 +185,7 @@ var defaultSites =
|
||||
"New Zealand Herald": "nzherald.co.nz",
|
||||
"Newsday": "newsday.com",
|
||||
"Newsweek": "newsweek.com",
|
||||
"NHST Media Group": "###_no_nhst_media",
|
||||
"Nikkei Asian Review": "asia.nikkei.com",
|
||||
"NK News (free articles only)": "nknews.org",
|
||||
"Nordwest Zeitung": "nwzonline.de",
|
||||
@ -288,7 +289,6 @@ var defaultSites =
|
||||
"Times Higher Education": "timeshighereducation.com",
|
||||
"Times of India": "###_timesofindia",
|
||||
"Towards Data Science": "towardsdatascience.com",
|
||||
"TradeWinds": "tradewindsnews.com",
|
||||
"Tribune Publishing Company": "###_usa_tribune",
|
||||
"Trouw": "trouw.nl",
|
||||
"USA Today": "usatoday.com",
|
||||
@ -340,6 +340,7 @@ const fr_groupe_la_depeche_domains = ['centrepresseaveyron.fr', 'ladepeche.fr',
|
||||
const it_ilmessaggero_domains = ['corriereadriatico.it', 'ilgazzettino.it', 'ilmattino.it', 'ilmessaggero.it', 'quotidianodipuglia.it'];
|
||||
const nl_ad_region_domains = ['ad.nl', 'bd.nl', 'ed.nl', 'tubantia.nl', 'bndestem.nl', 'pzc.nl', 'destentor.nl', 'gelderlander.nl'];
|
||||
const nl_mediahuis_region_domains = ['gooieneemlander.nl', 'haarlemsdagblad.nl', 'ijmuidercourant.nl', 'leidschdagblad.nl', 'noordhollandsdagblad.nl'];
|
||||
const no_nhst_media_domains = ['intrafish.com', 'rechargenews.com', 'tradewindsnews.com', 'upstreamonline.com'];
|
||||
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', 'miamiherald.com', 'newsobserver.com', 'sacbee.com', 'star-telegram.com', 'thestate.com', 'tri-cityherald.com'];
|
||||
@ -348,4 +349,4 @@ const usa_tribune_domains = ['baltimoresun.com', 'chicagotribune.com', 'courant.
|
||||
const usa_theathletic_domains = ['theathletic.com', 'theathletic.co.uk'];
|
||||
|
||||
var defaultSites_grouped_domains = Object.values(defaultSites);
|
||||
var defaultSites_domains = defaultSites_grouped_domains.concat(au_comm_media_domains, au_news_corp_domains, au_prov_news_domains, br_folha_domains, ca_torstar_domains, de_funke_media_domains, de_madsack_domains, economictimes_domains, es_grupo_vocento_domains, fi_alma_talent_domains, fr_be_groupe_rossel_domains, fr_groupe_ebra_domains, fr_groupe_la_depeche_domains, it_ilmessaggero_domains, nl_ad_region_domains, nl_mediahuis_region_domains, timesofindia_domains, usa_crainsbiz_domains, usa_mcc_domains, usa_nymag_domains, usa_tribune_domains, usa_theathletic_domains);
|
||||
var defaultSites_domains = defaultSites_grouped_domains.concat(au_comm_media_domains, au_news_corp_domains, au_prov_news_domains, br_folha_domains, ca_torstar_domains, de_funke_media_domains, de_madsack_domains, economictimes_domains, es_grupo_vocento_domains, fi_alma_talent_domains, fr_be_groupe_rossel_domains, fr_groupe_ebra_domains, fr_groupe_la_depeche_domains, it_ilmessaggero_domains, nl_ad_region_domains, nl_mediahuis_region_domains, no_nhst_media_domains, timesofindia_domains, usa_crainsbiz_domains, usa_mcc_domains, usa_nymag_domains, usa_tribune_domains, usa_theathletic_domains);
|
||||
|
Loading…
x
Reference in New Issue
Block a user