Add Condé Nast magazines & Vogue Business

This commit is contained in:
magnolia1234 2022-02-10 18:17:15 +01:00
parent 87cfc9b178
commit cd9ba2d178
8 changed files with 62 additions and 39 deletions

View File

@ -91,7 +91,6 @@ _* free articles only._
[The New Republic](https://newrepublic.com) -
[The New York Review of Books](https://www.nybooks.com) -
[The New York Times](https://www.nytimes.com) -
[The New Yorker](https://www.newyorker.com) -
[The Spectator World](https://spectatorworld.com) -
[The Washington Post](https://www.washingtonpost.com) -
[Time Magazine](https://time.com) -
@ -119,7 +118,8 @@ _* free articles only._
[Stock News](https://stocknews.com) -
[The Business Journals](https://www.bizjournals.com) -
[The Business of Fashion](https://www.businessoffashion.com) -
[The Wall Street Journal](https://www.wsj.com)
[The Wall Street Journal](https://www.wsj.com) -
[Vogue Business](https://www.voguebusiness.com)
Grouped in options:\
*Crain Communications* sites like\
@ -151,8 +151,7 @@ Grouped in options:\
[Scientific American](https://www.scientificamerican.com)* -
[Times Higher Education](https://www.timeshighereducation.com) -
[Towards Data Science](https://www.towardsdatascience.com) -
[VentureBeat](https://venturebeat.com) -
[Wired](https://www.wired.com)
[VentureBeat](https://venturebeat.com)
##### Encyclopedia/Book library/Knowledge base
[BBC History Extra](https://www.historyextra.com) -
@ -186,10 +185,16 @@ Grouped in options:\
[The New Atlantis](https://www.thenewatlantis.com) -
[The Point Magazine](https://thepointmag.com) -
[The Wrap](https://www.thewrap.com) -
[Vanity Fair](https://www.vanityfair.com) -
[Variety](https://variety.com)
Grouped in options:\
*Condé Nast magazines* sites like:\
[Bon Appétit](https://www.bonappetit.com) -
[GC](https://www.gq.com) -
[The New Yorker](https://www.newyorker.com) -
[Vanity Fair](https://www.vanityfair.com) -
[Vogue USA](https://www.vogue.com) -
[Wired](https://www.wired.com)\
*Outside magazines* sites like:\
[Backpacker](https://www.backpacker.com) -
[Beta](https://www.betamtb.com) -

View File

@ -2,6 +2,7 @@
Changelog Bypass Paywalls Clean - Chrome
Post-release
Add Condé Nast magazines & Vogue Business
Add Groupe Sud Ouest (France)
Fix Australian Community Media (images)
Fix Lequipe.fr & LesEchos.fr (refresh)

View File

@ -22,6 +22,7 @@ var nl_mediahuis_region_domains = ['gooieneemlander.nl', 'haarlemsdagblad.nl', '
var no_nhst_media_domains = ['intrafish.com', 'rechargenews.com', 'tradewindsnews.com', 'upstreamonline.com'];
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 = ['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_hearst_comm_domains = ['expressnews.com', 'houstonchronicle.com', 'sfchronicle.com'];
var usa_lee_ent_domains = ['buffalonews.com', 'richmond.com', 'tucson.com', 'tulsaworld.com'];
@ -2688,15 +2689,6 @@ else if (matchDomain('newsday.com')) {
}
}
else if (matchDomain(['newyorker.com', 'vanityfair.com', 'wired.com'])) {
if (window.location.pathname.endsWith('/amp')) {
amp_unhide_subscr_section('amp-ad, amp-embed, .ad');
} else {
let paywall_bar = document.querySelector('.paywall-bar');
removeDOMElement(paywall_bar);
}
}
else if (matchDomain(['nola.com', 'theadvocate.com'])) {
if (window.location.pathname.endsWith('.amp.html')) {
let body_hidden = document.querySelector('.site-container');
@ -3194,6 +3186,15 @@ else if (matchDomain(no_nhst_media_domains)) {
}
}
else if (matchDomain(usa_conde_nast_domains)) {
if (window.location.pathname.endsWith('/amp')) {
amp_unhide_subscr_section('amp-ad, amp-embed, .ad');
} else {
let paywall_bar = document.querySelector('.paywall-bar');
removeDOMElement(paywall_bar);
}
}
else if (matchDomain(usa_craincomm_domains)) {
let body_hidden = document.querySelector('body[class]');
if (body_hidden)

View File

@ -39,5 +39,5 @@
"webRequestBlocking",
"<all_urls>"
],
"version": "2.5.5.3"
"version": "2.5.5.4"
}

View File

@ -212,11 +212,6 @@
"block_regex": "\\.tinypass\\.com\\/",
"domain": "toledoblade.com"
},
"Voguebusiness.com": {
"allow_cookies": 1,
"domain": "voguebusiness.com",
"useragent": "googlebot"
},
"Wz.de": {
"allow_cookies": 1,
"domain": "wz.de",

View File

@ -83,6 +83,7 @@
"*://*.bloombergquint.com/*",
"*://*.bnd.com/*",
"*://*.bndestem.nl/*",
"*://*.bonappetit.com/*",
"*://*.bordermail.com.au/*",
"*://*.bostonglobe.com/*",
"*://*.braunschweiger-zeitung.de/*",
@ -209,6 +210,7 @@
"*://*.globo.com/*",
"*://*.goldcoastbulletin.com.au/*",
"*://*.gooieneemlander.nl/*",
"*://*.gq.com/*",
"*://*.griffithreview.com/*",
"*://*.groene.nl/*",
"*://*.grubstreet.com/*",
@ -542,6 +544,8 @@
"*://*.velonews.com/*",
"*://*.venturebeat.com/*",
"*://*.vn.nl/*",
"*://*.vogue.com/*",
"*://*.voguebusiness.com/*",
"*://*.volkskrant.nl/*",
"*://*.vosgesmatin.fr/*",
"*://*.vulture.com/*",
@ -602,5 +606,5 @@
"*://*.wallkit.net/*",
"*://*.wsj.net/*"
],
"version": "2.5.5.3"
"version": "2.5.5.4"
}

View File

@ -236,6 +236,13 @@ var defaultSites = {
"CommonWealth Magazine Taiwan (free articles only)": {
domain: "cw.com.tw"
},
"Condé Nast magazines": {
domain: "###_usa_conde_nast",
group: ["bonappetit.com", "gq.com", "newyorker.com", "vanityfair.com", "vogue.com", "wired.com"],
remove_cookies_select_drop: ["pay_ent_smp"],
block_regex: "(journey\\.{domain}\\/build-.+\\.js|cdn\\.ampproject\\.org\\/v\\d\\/amp-(ad|subscriptions)-.+\\.js)",
useragent: "googlebot"
},
"Correio da Manhã": {
domain: "cmjornal.pt",
allow_cookies: 1,
@ -1576,10 +1583,6 @@ var defaultSites = {
allow_cookies: 1,
block_regex: /(meter-svc\.nytimes\.com\/meter\.js|mwcm\.nyt\.com\/.+\.js)/
},
"The New Yorker": {
domain: "newyorker.com",
group_rule: "###_gr_usa_conde_nast_domains"
},
"The Philadelphia Inquirer": {
domain: "inquirer.com",
allow_cookies: 1,
@ -1729,10 +1732,6 @@ var defaultSites = {
allow_cookies: 1,
block_regex: /\.qiota\.com\//
},
"Vanity Fair": {
domain: "vanityfair.com",
group_rule: "###_gr_usa_conde_nast_domains"
},
"Variety": {
domain: "variety.com",
allow_cookies: 1,
@ -1743,6 +1742,11 @@ var defaultSites = {
allow_cookies: 1,
block_regex: /\.wallkit\.net\/js\//
},
"Vogue Business": {
allow_cookies: 1,
domain: "voguebusiness.com",
useragent: "googlebot"
},
"Volkskrant": {
domain: "volkskrant.nl",
group_rule: "###_gr_nl_pg_domains"
@ -1767,10 +1771,6 @@ var defaultSites = {
block_regex: /cdn\.ampproject\.org\/v\d\/amp-(ad|subscriptions)-.+\.js/,
useragent: "googlebot"
},
"Wired": {
domain: "wired.com",
group_rule: "###_gr_usa_conde_nast_domains"
},
"World Politics Review": {
domain: "worldpoliticsreview.com",
allow_cookies: 1,
@ -1796,12 +1796,6 @@ var defaultSites = {
remove_cookies_select_drop: ["TID_ID"],
block_regex: "\\.{domain}\\/temptation\\/resolve"
},
"###_gr_usa_conde_nast_domains": {
group_rule_domains: ["newyorker.com", "vanityfair.com", "wired.com"],
remove_cookies_select_drop: ["pay_ent_smp"],
block_regex: "(journey\\.{domain}\\/build-.+\\.js|cdn\\.ampproject\\.org\\/v\\d\\/amp-(ad|subscriptions)-.+\\.js)",
useragent: "googlebot"
},
"###_gr_usa_genomeweb_domains": {
group_rule_domains: ["genomeweb.com", "360dx.com", "precisiononcologynews.com"],
allow_cookies: 1,

View File

@ -21,6 +21,18 @@
"allow_cookies": 1,
"block_regex": "cdn-au\\.piano\\.io\\/api\\/tinypass.+\\.js"
},
"Bon Appétit": {
"domain": "bonappetit.com",
"remove_cookies_select_drop": ["pay_ent_smp"],
"block_regex": "(journey\\.bonappetit\\.com\\/build-.+\\.js|cdn\\.ampproject\\.org\\/v\\d\\/amp-(ad|subscriptions)-.+\\.js)",
"useragent": "googlebot"
},
"GQ": {
"domain": "gq.com",
"remove_cookies_select_drop": ["pay_ent_smp"],
"block_regex": "(journey\\.gq\\.com\\/build-.+\\.js|cdn\\.ampproject\\.org\\/v\\d\\/amp-(ad|subscriptions)-.+\\.js)",
"useragent": "googlebot"
},
"La Tercera": {
"domain": "latercera.com",
"allow_cookies": 1,
@ -66,5 +78,16 @@
"domain": "washingtonpost.com",
"allow_cookies": 1,
"block_regex": "\\.washingtonpost\\.com\\/tetro\\/evaluate"
},
"Vogue USA": {
"domain": "vogue.com",
"remove_cookies_select_drop": ["pay_ent_smp"],
"block_regex": "(journey\\.vogue\\.com\\/build-.+\\.js|cdn\\.ampproject\\.org\\/v\\d\\/amp-(ad|subscriptions)-.+\\.js)",
"useragent": "googlebot"
},
"Voguebusiness.com": {
"allow_cookies": 1,
"domain": "voguebusiness.com",
"useragent": "googlebot"
}
}