mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-04 12:00:10 +00:00
Add AdAge & Automotive News (& fix group Crain Communications)
This commit is contained in:
parent
50ce1b99f5
commit
f1e58b659b
15
README.md
15
README.md
@ -89,7 +89,15 @@ _* free articles only._
|
||||
[The Wall Street Journal](https://www.wsj.com)
|
||||
|
||||
Grouped in options:\
|
||||
NHST Media Group sites like
|
||||
*Crain Communications* sites like\
|
||||
[Ad Age](https://adage.com) -
|
||||
[Automotive News](https://www.autonews.com) -
|
||||
[Crain's Chicago Business](https://www.chicagobusiness.com) -
|
||||
[Crain's Cleveland Business](https://www.crainscleveland.com) -
|
||||
[Crain's Detroit Business](https://www.crainsdetroit.com) -
|
||||
[Crain's New York Business](https://www.crainsnewyork.com) -
|
||||
[Modern Healthcare](https://www.modernhealthcare.com)\
|
||||
*NHST Media Group* sites like\
|
||||
[Intrafish](https://www.intrafish.com) -
|
||||
[Recharge](https://www.rechargenews.com) -
|
||||
[TradeWinds](https://www.tradewindsnews.com) -
|
||||
@ -173,11 +181,6 @@ Grouped in options:\
|
||||
[Milwaukee Journal Sentinel](https://www.jsonline.com) -
|
||||
[The Indianapolis Star](https://www.indystar.com) -
|
||||
[The Record (North Jersey)](https://www.northjersey.com)\
|
||||
*Crain's Business* sites like
|
||||
[Crain's Chicago Business](https://www.chicagobusiness.com) -
|
||||
[Crain's Cleveland Business](https://www.crainscleveland.com) -
|
||||
[Crain's Detroit Business](https://www.crainsdetroit.com) -
|
||||
[Crain's New York Business](https://www.crainsnewyork.com)\
|
||||
*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) -
|
||||
|
@ -107,7 +107,6 @@ var allow_cookies_default = [
|
||||
'marketwatch.com',
|
||||
'medianama.com',
|
||||
'medium.com',
|
||||
'modernhealthcare.com',
|
||||
'nation.africa',
|
||||
'nationalgeographic.com',
|
||||
'nationalpost.com',
|
||||
@ -347,7 +346,6 @@ var blockedRegexes = {
|
||||
'marketwatch.com': /(cdn\.cxense\.com\/|cdn\.ampproject\.org\/v\d\/amp-(access|ad)-.+\.js)/,
|
||||
'mercuriovalpo.cl': /(.+\.mercuriovalpo\.cl\/impresa\/.+\/assets\/(vendor|\d)\.js|pram\.pasedigital\.cl\/API\/User\/Status\?)/,
|
||||
'mexiconewsdaily.com': /\.mexiconewsdaily\.com\/c\/assets\/pigeon\.js/,
|
||||
'modernhealthcare.com': /(\.tinypass\.com\/|\.modernhealthcare\.com\/.+\/js\/js_.+\.js)/,
|
||||
'nation.africa': /(\.evolok\.net\/|nation\.africa\/resource\/themes\/nation-.+\/js\/.+\.js)/,
|
||||
'nationalgeographic.com': /\.blueconic\.net\//,
|
||||
'nationalpost.com': /\.tinypass\.com\//,
|
||||
@ -457,7 +455,7 @@ var grouped_sites = {
|
||||
'###_nl_mediahuis_region': nl_mediahuis_region_domains,
|
||||
'###_no_nhst_media': no_nhst_media_domains,
|
||||
'###_timesofindia': timesofindia_domains,
|
||||
'###_usa_crainsbiz': usa_crainsbiz_domains,
|
||||
'###_usa_craincomm': usa_craincomm_domains,
|
||||
'###_usa_mcc': usa_mcc_domains,
|
||||
'###_usa_mng': usa_mng_domains,
|
||||
'###_usa_nymag': usa_nymag_domains,
|
||||
@ -570,9 +568,10 @@ function add_grouped_sites(init_rules) {
|
||||
else
|
||||
blockedRegexes[domain] = /timesofindia\.indiatimes\.com\/jsrender\/version-1\.cms/;
|
||||
}
|
||||
for (let domain of usa_crainsbiz_domains) {
|
||||
allow_cookies.push(domain);
|
||||
blockedRegexes[domain] = /(\.tinypass\.com\/|\.(crains.+|.+business)\.com\/.+\/js\/js_.+\.js)/;
|
||||
for (let domain of usa_craincomm_domains) {
|
||||
if (domain !== 'autonews.com')
|
||||
allow_cookies.push(domain);
|
||||
blockedRegexes[domain] = new RegExp('(\.tinypass\.com\/|\.' + domain + '\/.+\/js\/js_(e|E).+\.js)');
|
||||
}
|
||||
for (let domain of usa_mcc_domains)
|
||||
blockedRegexes[domain] = /(js\.matheranalytics\.com\/|cdn\.ampproject\.org\/v\d\/amp-subscriptions-.+\.js)/;
|
||||
|
@ -2,6 +2,7 @@
|
||||
Changelog Bypass Paywalls Clean - Firefox
|
||||
|
||||
Post-release
|
||||
Add AdAge & Automotive News (& fix group Crain Communications)
|
||||
Add MediaNews Group (local USA)
|
||||
Fix The Daily Beast (proper)
|
||||
|
||||
|
@ -18,7 +18,7 @@ var it_quotidiano_domains = ['ilgiorno.it', 'ilrestodelcarlino.it', 'iltelegrafo
|
||||
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 timesofindia_domains = ['timesofindia.com', 'timesofindia.indiatimes.com'];
|
||||
var usa_crainsbiz_domains = ['chicagobusiness.com', 'crainscleveland.com', 'crainsdetroit.com', 'crainsnewyork.com'];
|
||||
var usa_craincomm_domains = ['adage.com', 'autonews.com', 'chicagobusiness.com', 'crainscleveland.com', 'crainsdetroit.com', 'crainsnewyork.com', 'modernhealthcare.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_mng_domains = ['denverpost.com', 'eastbaytimes.com', 'mercurynews.com', 'ocregister.com', 'pe.com', 'twincities.com'];
|
||||
var usa_tribune_domains = ['baltimoresun.com', 'chicagotribune.com', 'courant.com', 'dailypress.com', 'mcall.com', 'nydailynews.com', 'orlandosentinel.com', 'pilotonline.com', 'sun-sentinel.com'];
|
||||
@ -2695,7 +2695,7 @@ else if (matchDomain(no_nhst_media_domains)) {
|
||||
}
|
||||
}
|
||||
|
||||
else if (matchDomain(usa_crainsbiz_domains.concat(['modernhealthcare.com']))) {
|
||||
else if (matchDomain(usa_craincomm_domains)) {
|
||||
let body_hidden = document.querySelector('body[class]');
|
||||
if (body_hidden)
|
||||
body_hidden.removeAttribute('class');
|
||||
|
@ -57,6 +57,7 @@
|
||||
"*://*.abendblatt.de/*",
|
||||
"*://*.abril.com.br/*",
|
||||
"*://*.ad.nl/*",
|
||||
"*://*.adage.com/*",
|
||||
"*://*.adelaidenow.com.au/*",
|
||||
"*://*.adweek.com/*",
|
||||
"*://*.afr.com/*",
|
||||
@ -73,6 +74,7 @@
|
||||
"*://*.atavist.com/*",
|
||||
"*://*.atlantico.fr/*",
|
||||
"*://*.augsburger-allgemeine.de/*",
|
||||
"*://*.autonews.com/*",
|
||||
"*://*.baltimoresun.com/*",
|
||||
"*://*.barrons.com/*",
|
||||
"*://*.bd.nl/*",
|
||||
@ -551,5 +553,5 @@
|
||||
"*://*.wallkit.net/*",
|
||||
"*://*.wsj.net/*"
|
||||
],
|
||||
"version": "2.3.3.2"
|
||||
"version": "2.3.3.3"
|
||||
}
|
7
sites.js
7
sites.js
@ -39,7 +39,7 @@ var defaultSites =
|
||||
"CommonWealth Magazine Taiwan": "cw.com.tw",
|
||||
"Correio da Manhã": "cmjornal.pt",
|
||||
"Corriere Della Sera": "corriere.it",
|
||||
"Crain's Business": "###_usa_crainsbiz",
|
||||
"Crain Communications": "###_usa_craincomm",
|
||||
"Dagblad van het Noorden": "dvhn.nl",
|
||||
"Dagens Industri": "di.se",
|
||||
"Dagens Nyheter": "dn.se",
|
||||
@ -171,7 +171,6 @@ var defaultSites =
|
||||
"Mexico News Daily": "mexiconewsdaily.com",
|
||||
"MIT Sloan Management Review": "sloanreview.mit.edu",
|
||||
"MIT Technology Review": "technologyreview.com",
|
||||
"Modern Healthcare": "modernhealthcare.com",
|
||||
"Mountain View Voice": "mv-voice.com",
|
||||
"National Geographic USA": "nationalgeographic.com",
|
||||
"National Post": "nationalpost.com",
|
||||
@ -344,7 +343,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 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.com', 'crainsdetroit.com', 'crainsnewyork.com'];
|
||||
const usa_craincomm_domains = ['adage.com', 'autonews.com', 'chicagobusiness.com', 'crainscleveland.com', 'crainsdetroit.com', 'crainsnewyork.com', 'modernhealthcare.com'];
|
||||
const usa_gannett_domains = [];
|
||||
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_mng_domains = ['denverpost.com', 'eastbaytimes.com', 'mercurynews.com', 'ocregister.com', 'pe.com', 'twincities.com'];
|
||||
@ -353,4 +352,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, fi_sanoma_domains, fr_be_groupe_rossel_domains, fr_groupe_ebra_domains, fr_groupe_la_depeche_domains, it_ilmessaggero_domains, it_quotidiano_domains, nl_ad_region_domains, nl_mediahuis_region_domains, no_nhst_media_domains, timesofindia_domains, usa_crainsbiz_domains, usa_mcc_domains, usa_mng_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, fi_sanoma_domains, fr_be_groupe_rossel_domains, fr_groupe_ebra_domains, fr_groupe_la_depeche_domains, it_ilmessaggero_domains, it_quotidiano_domains, nl_ad_region_domains, nl_mediahuis_region_domains, no_nhst_media_domains, timesofindia_domains, usa_craincomm_domains, usa_mcc_domains, usa_mng_domains, usa_nymag_domains, usa_tribune_domains, usa_theathletic_domains);
|
||||
|
Loading…
Reference in New Issue
Block a user