Add Vogue.co.uk (Conde Nast)

This commit is contained in:
magnolia1234 2024-02-19 08:41:18 +01:00
parent d77da0bb1e
commit b057544d6d
8 changed files with 31 additions and 66 deletions

View File

@ -250,6 +250,7 @@ Grouped in options:\
*Condé Nast magazines* sites like\
[Architectural Digest](https://www.architecturaldigest.com) -
[Bon Appétit](https://www.bonappetit.com) -
[British Vogue](https://www.vogue.co.uk) -
[Condé Nast Traveler](https://www.cntraveler.com) -
[Epicurious](https://www.epicurious.com) -
[GC](https://www.gq.com) -

View File

@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Firefox
Updates (install signed xpi-file): https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/releases
Post-release
Add Vogue.co.uk (Conde Nast)
* v3.5.6.0 (2024-02-18)
Add 3 more Gannett sites

View File

@ -42,7 +42,7 @@ var uk_incisive_media_domains = ['businessgreen.com', 'internationalinvestment.n
var uk_nat_world_domains = ['scotsman.com', 'yorkshirepost.co.uk'];
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_arizent_custom_domains = ['accountingtoday.com', 'benefitnews.com', 'bondbuyer.com', 'dig-in.com', 'financial-planning.com', 'nationalmortgagenews.com'];
var usa_conde_nast_domains = ['architecturaldigest.com', 'bonappetit.com', 'cntraveler.com', 'epicurious.com', 'gq.com' , 'newyorker.com', 'vanityfair.com', 'vogue.com', 'wired.com'];
var usa_conde_nast_domains = ['architecturaldigest.com', 'bonappetit.com', 'cntraveler.com', 'epicurious.com', 'gq.com' , 'newyorker.com', 'vanityfair.com', 'vogue.co.uk', 'vogue.com', 'wired.com'];
var usa_craincomm_domains = ['360dx.com', 'adage.com', 'autonews.com', 'chicagobusiness.com', 'crainscleveland.com', 'crainsdetroit.com', 'crainsnewyork.com', 'european-rubber-journal.com', 'genomeweb.com', 'modernhealthcare.com', 'pionline.com', 'plasticsnews.com', 'precisionmedicineonline.com', 'rubbernews.com', 'sustainableplastics.com', 'tirebusiness.com', 'utech-polyurethane.com'];
var usa_gannett_domains = ['azcentral.com', 'cincinnati.com', 'commercialappeal.com', 'courier-journal.com', 'democratandchronicle.com', 'desmoinesregister.com', 'detroitnews.com', 'dispatch.com', 'freep.com', 'indystar.com', 'jacksonville.com', 'jsonline.com', 'knoxnews.com', 'news-press.com', 'northjersey.com', 'oklahoman.com', 'statesman.com', 'tennessean.com'];
var usa_hearst_comm_domains = ['ctpost.com', 'expressnews.com', 'houstonchronicle.com', 'nhregister.com', 'sfchronicle.com', 'timesunion.com'];
@ -2780,7 +2780,7 @@ else if (matchDomain('vn.nl')) {
else
csDone = true;
} else if ((window.location.hostname.match(/\.(ie|uk)$/) && !matchDomain(['investmentweek.co.uk'])) || matchDomain(['apollo-magazine.com', 'citywire.com', 'fnlondon.com', 'ft.com', 'granta.com', 'scotsman.com', 'tes.com', 'unherd.com'])) {//united kingdom/ireland
} else if ((window.location.hostname.match(/\.(ie|uk)$/) && !matchDomain(['investmentweek.co.uk', 'vogue.co.uk'])) || matchDomain(['apollo-magazine.com', 'citywire.com', 'fnlondon.com', 'ft.com', 'granta.com', 'scotsman.com', 'tes.com', 'unherd.com'])) {//united kingdom/ireland
if (matchDomain('apollo-magazine.com')) {
let banner = document.querySelector('#subscribe-ribbon');
@ -5719,12 +5719,8 @@ else if (matchDomain(uk_incisive_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 banners = document.querySelectorAll('.paywall-bar, div[class^="MessageBannerWrapper-"');
removeDOMElement(...banners);
}
let banners = document.querySelectorAll('aside.paywall-bar, div[class^="MessageBannerWrapper-"], div.ad-stickyhero');
removeDOMElement(...banners);
}
else if (matchDomain(usa_craincomm_domains)) {

View File

@ -51,5 +51,5 @@
"webRequestBlocking",
"*://*/*"
],
"version": "3.5.6.0"
"version": "3.5.6.1"
}

View File

@ -770,6 +770,7 @@
"*://*.vikatan.com/*",
"*://*.vn.at/*",
"*://*.vn.nl/*",
"*://*.vogue.co.uk/*",
"*://*.vogue.com/*",
"*://*.voguebusiness.com/*",
"*://*.vol.at/*",
@ -859,5 +860,5 @@
"*://archive.vn/*",
"*://webcache.googleusercontent.com/*"
],
"version": "3.5.6.0"
"version": "3.5.6.1"
}

View File

@ -408,13 +408,12 @@ var defaultSites = {
"gq.com",
"newyorker.com",
"vanityfair.com",
"vogue.co.uk",
"vogue.com",
"wired.com"
],
allow_cookies: 1,
remove_cookies: 1,
block_regex: "(\\.{domain}\\/journey\\/compiler\\/build-.+\\.js|cdn\\.ampproject\\.org\\/v\\d\\/amp-subscriptions-.+\\.js)",
useragent: "googlebot"
block_regex: "\\.{domain}\\/journey\\/compiler\\/build-.+\\.js"
},
"Connaissance des Arts": {
domain: "connaissancedesarts.com",

View File

@ -1,11 +1,4 @@
{
"Augsburger Allgemeine": {
"domain": "augsburger-allgemeine.de",
"allow_cookies": 1,
"block_regex": "(\\.tinypass\\.com\\/|cdn\\.ampproject\\.org\\/v\\d\\/amp-subscriptions-.+\\.js)",
"useragent": "googlebot",
"upd_version": "3.5.3.1"
},
"Barron's": {
"domain": "barrons.com",
"allow_cookies": 1,
@ -24,6 +17,24 @@
"cs_code": "[{\"cond\":\"div.contentSoft\", \"rm_attrib\":\"class\"}]",
"upd_version": "3.5.5.7"
},
"Condé Nast magazines": {
"domain": "###_usa_conde_nast",
"group": [
"architecturaldigest.com",
"bonappetit.com",
"cntraveler.com",
"epicurious.com",
"gq.com",
"newyorker.com",
"vanityfair.com",
"vogue.co.uk",
"vogue.com",
"wired.com"
],
"allow_cookies": 1,
"block_regex": "\\.{domain}\\/journey\\/compiler\\/build-.+\\.js",
"upd_version": "3.5.6.1"
},
"Daily Mail UK": {
"domain": "dailymail.co.uk",
"allow_cookies": 1,
@ -36,14 +47,6 @@
"ld_archive_is": "div#paywall-container|div#article-body",
"upd_version": "3.5.4.8"
},
"Dn.se": {
"domain": "dn.se",
"allow_cookies": 1,
"add_ext_link": "div.esi-paywall|div.article__content",
"add_ext_link_type": "archive.is",
"ld_archive_is": "div.esi-paywall|div.article__premium-content|article>div[style='display:block;']",
"upd_version": "3.5.3.7"
},
"FewCents": {
"domain": "fewcents.co",
"allow_cookies": 1,
@ -105,30 +108,12 @@
"excluded_domains": ["sophi.io"],
"upd_version": "3.5.4.6"
},
"SPH Media": {
"domain": "###_sg_sph_media",
"group": [
"businesstimes.com.sg",
"straitstimes.com"
],
"allow_cookies": 1,
"add_ext_link": "div[class*=eas-paywall],div#nocx_paywall_area|main#content",
"add_ext_link_type": "archive.is",
"ld_archive_is": "div[class*=eas-paywall],div#nocx_paywall_area|main#content",
"upd_version": "3.5.3.4"
},
"The Indian Express": {
"domain": "indianexpress.com",
"allow_cookies": 1,
"block_regex": "(\\/indianexpress\\/js\\/evolok\\/|\\.fewcents\\.co\\/.+\\/paywall.*\\.js|cdn\\.ampproject\\.org\\/v\\d\\/amp-access-.+\\.js)",
"upd_version": "3.5.4.5"
},
"The Lamp Magazine": {
"domain": "thelampmagazine.com",
"allow_cookies": 1,
"cs_code": "[{\"cond\":\"div.paywall-gradient\", \"rm_attrib\":\"class\", \"elems\":[{\"cond\":\"section.p-8\", \"rm_elem\":1}]}]",
"upd_version": "3.5.3.5"
},
"The New York Times": {
"domain": "nytimes.com",
"allow_cookies": 1,
@ -136,24 +121,6 @@
"useragent": "googlebot",
"upd_version": "3.1.4.0"
},
"Tribune Publishing Company": {
"domain": "###_usa_tribune",
"group": [
"baltimoresun.com",
"capitalgazette.com",
"chicagotribune.com",
"courant.com",
"dailypress.com",
"mcall.com",
"nydailynews.com",
"orlandosentinel.com",
"pilotonline.com",
"sun-sentinel.com"
],
"allow_cookies": 1,
"block_regex": "(\\.{domain}\\/(script|.+\\/loader-wp\\/static\\/loader\\.min)\\.js)",
"upd_version": "3.5.3.2"
},
"Vogue Business (member-text only)": {
"domain": "voguebusiness.com",
"block_regex": "\\.voguebusiness\\.com\\/journey\\/compiler\\/build-.+\\.js",

View File

@ -2,8 +2,8 @@
"addons": {
"magnolia@12.34": {
"updates": [
{ "version": "3.5.5.0",
"update_link": "https://gitlab.com/magnolia1234/bpc-uploads/-/raw/master/bypass_paywalls_clean-3.5.5.0.xpi" }
{ "version": "3.5.6.0",
"update_link": "https://gitlab.com/magnolia1234/bpc-uploads/-/raw/master/bypass_paywalls_clean-3.5.6.0.xpi" }
]
}
}