Add The Chronicle of Philanthropy
This commit is contained in:
parent
0b11cd5f5f
commit
ea7b3bc7fb
@ -141,7 +141,6 @@ Grouped in options:\
|
|||||||
|
|
||||||
##### Tech/Science
|
##### Tech/Science
|
||||||
[Chemical & Engineering News](https://cen.acs.org) -
|
[Chemical & Engineering News](https://cen.acs.org) -
|
||||||
[Chronicle of Higher Education](https://www.chronicle.com) -
|
|
||||||
[Dark Reading](https://www.darkreading.com) -
|
[Dark Reading](https://www.darkreading.com) -
|
||||||
[Discover Magazine](https://www.discovermagazine.com) -
|
[Discover Magazine](https://www.discovermagazine.com) -
|
||||||
[MIT Technology Review](https://www.technologyreview.com) -
|
[MIT Technology Review](https://www.technologyreview.com) -
|
||||||
@ -157,7 +156,10 @@ Grouped in options:\
|
|||||||
*GenomeWeb* sites like\
|
*GenomeWeb* sites like\
|
||||||
[360Dx](https://www.360dx.com) -
|
[360Dx](https://www.360dx.com) -
|
||||||
[GenomeWeb](https://www.genomeweb.com) -
|
[GenomeWeb](https://www.genomeweb.com) -
|
||||||
[Precision Oncology News](https://www.precisiononcologynews.com)
|
[Precision Oncology News](https://www.precisiononcologynews.com)\
|
||||||
|
*The Chronicle* sites like\
|
||||||
|
[The Chronicle of Higher Education](https://www.chronicle.com) -
|
||||||
|
[The Chronicle of Philanthropy](https://www.philanthropy.com)
|
||||||
|
|
||||||
##### Encyclopedia/Book library/Knowledge base
|
##### Encyclopedia/Book library/Knowledge base
|
||||||
[BBC History Extra](https://www.historyextra.com) -
|
[BBC History Extra](https://www.historyextra.com) -
|
||||||
|
@ -358,7 +358,7 @@ ext_api.storage.local.get({
|
|||||||
} else {
|
} else {
|
||||||
ext_api.management.getSelf(function (result) {
|
ext_api.management.getSelf(function (result) {
|
||||||
if ((result.installType === 'development' || (result.installType !== 'development' && !enabledSites.includes('#options_on_update')))) {
|
if ((result.installType === 'development' || (result.installType !== 'development' && !enabledSites.includes('#options_on_update')))) {
|
||||||
let new_groups = ['###_de_westfalen_medien', '###_es_grupo_vocento', '###_es_unidad', '###_it_gedi', '###_nl_dpg_media', '###_usa_genomeweb'];
|
let new_groups = ['###_de_westfalen_medien', '###_es_grupo_vocento', '###_es_unidad', '###_it_gedi', '###_nl_dpg_media', '###_usa_chronicle', '###_usa_genomeweb'];
|
||||||
let open_options = new_groups.some(group => !enabledSites.includes(group) && grouped_sites[group].some(domain => enabledSites.includes(domain) && !customSites_domains.includes(domain))) || (!enabledSites.includes('uol.com.br') && (enabledSites.includes('crusoe.uol.com.br') || enabledSites.includes('###_br_folha')));
|
let open_options = new_groups.some(group => !enabledSites.includes(group) && grouped_sites[group].some(domain => enabledSites.includes(domain) && !customSites_domains.includes(domain))) || (!enabledSites.includes('uol.com.br') && (enabledSites.includes('crusoe.uol.com.br') || enabledSites.includes('###_br_folha')));
|
||||||
if (open_options)
|
if (open_options)
|
||||||
ext_api.runtime.openOptionsPage();
|
ext_api.runtime.openOptionsPage();
|
||||||
|
@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Chrome
|
|||||||
|
|
||||||
Post-release
|
Post-release
|
||||||
Add New Scientist
|
Add New Scientist
|
||||||
|
Add The Chronicle of Philanthropy
|
||||||
Fix Los Angeles Times & San Diego Union-Tribune
|
Fix Los Angeles Times & San Diego Union-Tribune
|
||||||
Fix Madsack Mediengruppe
|
Fix Madsack Mediengruppe
|
||||||
Fix NYTimes (Cooking)
|
Fix NYTimes (Cooking)
|
||||||
|
@ -2656,7 +2656,7 @@ else if (matchDomain('cen.acs.org')) {
|
|||||||
removeDOMElement(meteredBar);
|
removeDOMElement(meteredBar);
|
||||||
}
|
}
|
||||||
|
|
||||||
else if (matchDomain('chronicle.com')) {
|
else if (matchDomain(['chronicle.com', 'philanthropy.com'])) {
|
||||||
let preview = document.querySelector('div[data-content-summary]');
|
let preview = document.querySelector('div[data-content-summary]');
|
||||||
removeDOMElement(preview);
|
removeDOMElement(preview);
|
||||||
let article_hidden = document.querySelector('div[data-content-body]');
|
let article_hidden = document.querySelector('div[data-content-body]');
|
||||||
|
@ -43,5 +43,5 @@
|
|||||||
"webRequestBlocking",
|
"webRequestBlocking",
|
||||||
"<all_urls>"
|
"<all_urls>"
|
||||||
],
|
],
|
||||||
"version": "2.8.1.5"
|
"version": "2.8.1.6"
|
||||||
}
|
}
|
||||||
|
@ -457,6 +457,7 @@
|
|||||||
"*://*.pelotonmagazine.com/*",
|
"*://*.pelotonmagazine.com/*",
|
||||||
"*://*.pennlive.com/*",
|
"*://*.pennlive.com/*",
|
||||||
"*://*.petitbleu.fr/*",
|
"*://*.petitbleu.fr/*",
|
||||||
|
"*://*.philanthropy.com/*",
|
||||||
"*://*.philosophynow.org/*",
|
"*://*.philosophynow.org/*",
|
||||||
"*://*.pilotonline.com/*",
|
"*://*.pilotonline.com/*",
|
||||||
"*://*.piqd.de/*",
|
"*://*.piqd.de/*",
|
||||||
@ -686,5 +687,5 @@
|
|||||||
"*://gcm.omerlocdn.com/*",
|
"*://gcm.omerlocdn.com/*",
|
||||||
"*://webcache.googleusercontent.com/*"
|
"*://webcache.googleusercontent.com/*"
|
||||||
],
|
],
|
||||||
"version": "2.8.1.5"
|
"version": "2.8.1.6"
|
||||||
}
|
}
|
||||||
|
14
sites.js
14
sites.js
@ -240,11 +240,6 @@ var defaultSites = {
|
|||||||
"Chemical & Engineering News": {
|
"Chemical & Engineering News": {
|
||||||
domain: "cen.acs.org"
|
domain: "cen.acs.org"
|
||||||
},
|
},
|
||||||
"Chronicle of Higher Education": {
|
|
||||||
domain: "chronicle.com",
|
|
||||||
allow_cookies: 1,
|
|
||||||
block_regex: /(\.blueconic\.net\/|\.chronicle\.com\/(common\/)?(che-auth0-user|script)\.js)/
|
|
||||||
},
|
|
||||||
"Cicero.de": {
|
"Cicero.de": {
|
||||||
domain: "cicero.de",
|
domain: "cicero.de",
|
||||||
allow_cookies: 1
|
allow_cookies: 1
|
||||||
@ -1649,6 +1644,15 @@ var defaultSites = {
|
|||||||
domain: "csmonitor.com",
|
domain: "csmonitor.com",
|
||||||
allow_cookies: 1
|
allow_cookies: 1
|
||||||
},
|
},
|
||||||
|
"The Chronicle of Higher Education (& Philanthropy)": {
|
||||||
|
domain: "###_usa_chronicle",
|
||||||
|
group: [
|
||||||
|
"chronicle.com",
|
||||||
|
"philanthropy.com"
|
||||||
|
],
|
||||||
|
allow_cookies: 1,
|
||||||
|
block_regex: /\.blueconic\.net\//
|
||||||
|
},
|
||||||
"The Daily Beast": {
|
"The Daily Beast": {
|
||||||
domain: "thedailybeast.com",
|
domain: "thedailybeast.com",
|
||||||
block_regex: /\.tinypass\.com\//
|
block_regex: /\.tinypass\.com\//
|
||||||
|
@ -5,6 +5,19 @@
|
|||||||
"block_regex": "cdn\\.ampproject\\.org\\/v\\d\\/amp-subscriptions-.+\\.js",
|
"block_regex": "cdn\\.ampproject\\.org\\/v\\d\\/amp-subscriptions-.+\\.js",
|
||||||
"amp_redirect": "p.read-txt"
|
"amp_redirect": "p.read-txt"
|
||||||
},
|
},
|
||||||
|
"Chronicle of Philanthropy": {
|
||||||
|
"domain": "philanthropy.com",
|
||||||
|
"allow_cookies": 1,
|
||||||
|
"block_regex": "\\.blueconic\\.net\\/",
|
||||||
|
"cs_code": [{
|
||||||
|
"cond": "div[data-content-summary]",
|
||||||
|
"rm_elem": 1
|
||||||
|
}, {
|
||||||
|
"cond": "div[data-content-body]",
|
||||||
|
"rm_attrib": "data-content-body"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
"La Vie": {
|
"La Vie": {
|
||||||
"domain": "lavie.fr",
|
"domain": "lavie.fr",
|
||||||
"allow_cookies": 1,
|
"allow_cookies": 1,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user