mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 04:01:58 +01:00
Grouping GenomeWeb sites
This commit is contained in:
parent
2ef818f51f
commit
a59ae27c4c
5 changed files with 22 additions and 19 deletions
|
@ -123,21 +123,24 @@ Grouped in options:\
|
|||
[Upstream](https://www.upstreamonline.com)
|
||||
|
||||
##### Tech/Science
|
||||
[360Dx](https://www.360dx.com) -
|
||||
[Chemical & Engineering News](https://cen.acs.org) -
|
||||
[Chronicle of Higher Education](https://www.chronicle.com) -
|
||||
[Dark Reading](https://www.darkreading.com) -
|
||||
[Discover Magazine](https://www.discovermagazine.com) -
|
||||
[GenomeWeb](https://www.genomeweb.com) -
|
||||
[MIT Technology Review](https://www.technologyreview.com) -
|
||||
[National Geographic USA](https://www.nationalgeographic.com) -
|
||||
[Nautilus](https://nautil.us) -
|
||||
[Precision Oncology News](https://www.precisiononcologynews.com) -
|
||||
[Science](https://www.science.org)* -
|
||||
[Scientific American](https://www.scientificamerican.com) -
|
||||
[Times Higher Education](https://www.timeshighereducation.com) -
|
||||
[VentureBeat](https://venturebeat.com)
|
||||
|
||||
Grouped in options:\
|
||||
*GenomeWeb* sites like\
|
||||
[360Dx](https://www.360dx.com) -
|
||||
[GenomeWeb](https://www.genomeweb.com) -
|
||||
[Precision Oncology News](https://www.precisiononcologynews.com)
|
||||
|
||||
##### Encyclopedia/Book library/Knowledge base
|
||||
[BBC History Extra](https://www.historyextra.com) -
|
||||
[Encyclopedia Britannica](https://www.britannica.com) -
|
||||
|
|
|
@ -5,6 +5,7 @@ Post-release
|
|||
Add Crusoe (Brazil)
|
||||
Add Golem.de
|
||||
Add Groupe Capitales Medias (+ regional/opt-in to custom sites)
|
||||
Grouping GenomeWeb sites
|
||||
Remove Kurier.at (fix obsolete)
|
||||
Fix Belfast Telegraph/Independent.ie (css)
|
||||
Fix Bloomberg (graphics)
|
||||
|
|
|
@ -29,6 +29,7 @@ var timesofindia_domains = ['timesofindia.com', 'timesofindia.indiatimes.com'];
|
|||
var usa_adv_local_domains = ['al.com', 'cleveland.com', 'lehighvalleylive.com', 'masslive.com', 'mlive.com', 'nj.com', 'oregonlive.com', 'pennlive.com', 'silive.com', 'syracuse.com'];
|
||||
var usa_conde_nast_domains = ['architecturaldigest.com', 'bonappetit.com', 'gq.com' , 'newyorker.com', 'vanityfair.com', 'vogue.com', 'wired.com'];
|
||||
var usa_craincomm_domains = ['adage.com', 'autonews.com', 'chicagobusiness.com', 'crainscleveland.com', 'crainsdetroit.com', 'crainsnewyork.com', 'modernhealthcare.com'];
|
||||
var usa_genomeweb_domains = ['360dx.com', 'genomeweb.com', 'precisiononcologynews.com'];
|
||||
var usa_hearst_comm_domains = ['expressnews.com', 'houstonchronicle.com', 'sfchronicle.com'];
|
||||
var usa_lee_ent_domains = ['buffalonews.com', 'richmond.com', 'tucson.com', 'tulsaworld.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'];
|
||||
|
@ -4001,6 +4002,11 @@ else if (matchDomain(usa_craincomm_domains)) {
|
|||
removeDOMElement(...lazy_sources);
|
||||
}
|
||||
|
||||
else if (matchDomain(usa_genomeweb_domains)) {
|
||||
let banners = document.querySelectorAll('div.footer__ads-footer');
|
||||
removeDOMElement(...banners);
|
||||
}
|
||||
|
||||
else if (matchDomain(usa_outside_mag_domains)) {
|
||||
let paywall = document.querySelector('div.o-membership-overlay');
|
||||
if (paywall) {
|
||||
|
|
|
@ -697,5 +697,5 @@
|
|||
"*://gcm.omerlocdn.com/*",
|
||||
"*://webcache.googleusercontent.com/*"
|
||||
],
|
||||
"version": "2.7.7.7"
|
||||
"version": "2.7.7.8"
|
||||
}
|
||||
|
|
23
sites.js
23
sites.js
|
@ -1,8 +1,4 @@
|
|||
var defaultSites = {
|
||||
"360Dx": {
|
||||
domain: "360dx.com",
|
||||
group_rule: "###_gr_usa_genomeweb_domains"
|
||||
},
|
||||
"ABC.es": {
|
||||
domain: "abc.es",
|
||||
allow_cookies: 1,
|
||||
|
@ -583,8 +579,14 @@ var defaultSites = {
|
|||
group_rule: "###_gr_it_repubblica_domains"
|
||||
},
|
||||
"GenomeWeb": {
|
||||
domain: "genomeweb.com",
|
||||
group_rule: "###_gr_usa_genomeweb_domains"
|
||||
domain: "###_usa_genomeweb",
|
||||
group: [
|
||||
"360dx.com",
|
||||
"genomeweb.com",
|
||||
"precisiononcologynews.com"
|
||||
],
|
||||
allow_cookies: 1,
|
||||
block_regex: /crain-platform-.+-prod\.s3\.amazonaws\.com\/s3fs-public\/js\/js_.+\.js/
|
||||
},
|
||||
"Glassdoor": {
|
||||
domain: "glassdoor.com"
|
||||
|
@ -1445,10 +1447,6 @@ var defaultSites = {
|
|||
allow_cookies: 1,
|
||||
block_regex: /\.tinypass\.com\//
|
||||
},
|
||||
"Precision Oncology News": {
|
||||
domain: "precisiononcologynews.com",
|
||||
group_rule: "###_gr_usa_genomeweb_domains"
|
||||
},
|
||||
"Prospect Magazine": {
|
||||
domain: "prospectmagazine.co.uk",
|
||||
allow_cookies: 1
|
||||
|
@ -2040,11 +2038,6 @@ var defaultSites = {
|
|||
remove_cookies_select_drop: ["TID_ID"],
|
||||
block_regex: "\\.{domain}\\/temptation\\/resolve"
|
||||
},
|
||||
"###_gr_usa_genomeweb_domains": {
|
||||
group_rule_domains: ["genomeweb.com", "360dx.com", "precisiononcologynews.com"],
|
||||
allow_cookies: 1,
|
||||
block_regex: /crain-platform-.+-prod\.s3\.amazonaws\.com\/s3fs-public\/js\/js_.+\.js/
|
||||
},
|
||||
"* Block Paywall-scripts (opt-in to custom sites to enable also for non-listed sites)": {
|
||||
domain: "###"
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue