From 26cdd5d92a2b134157e60fdbd32f0f401cd1b388 Mon Sep 17 00:00:00 2001 From: magnolia1234 <7676006-magnolia1234@users.noreply.gitlab.com> Date: Tue, 5 Jul 2022 17:10:41 +0200 Subject: [PATCH] Add Architectural Digest (Conde Nast) --- README.md | 1 + changelog.txt | 7 ++++--- contentScript.js | 2 +- manifest.json | 3 ++- sites.js | 6 +++--- sites_updated.json | 7 +++++++ 6 files changed, 18 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 50f75e8..a3ea6a4 100644 --- a/README.md +++ b/README.md @@ -181,6 +181,7 @@ Grouped in options:\ Grouped in options:\ *Condé Nast magazines* sites like:\ +[Architectural Digest](https://www.architecturaldigest.com) - [Bon Appétit](https://www.bonappetit.com) - [GC](https://www.gq.com) - [The New Yorker](https://www.newyorker.com) - diff --git a/changelog.txt b/changelog.txt index 38d25a7..862258b 100644 --- a/changelog.txt +++ b/changelog.txt @@ -2,6 +2,7 @@ Changelog Bypass Paywalls Clean - Firefox Post-release +Add Architectural Digest (Conde Nast) Fix Knack.be & LeVif.be (subdomains-text) * v2.7.4.0 (2022-07-03) @@ -213,7 +214,7 @@ Fix Quotidiano.net sites Update block general paywall script (Pigeon/WordPress) * v2.5.6.0 (2022-02-13) -Add Condé Nast magazines & Vogue Business +Add Conde Nast magazines & Vogue Business Add Diario Correo (Grupo El Comercio) Add Eastwest (it/en) Add Groupe SudOuest.fr @@ -724,7 +725,7 @@ Add Daily Nation (Kenya) Add Houston Chronicle (USA) Add Schleswig-Holsteinischer Zeitungsverlag (Germany) Add Sports Illustrated -Fix Groupe La Depeche +Fix Groupe LaDepeche.fr Fix La Croix (timing) Grouping Repubblica.it sites (rules only) Fix popup (update notification; GitLab CORS issue) @@ -838,7 +839,7 @@ Add Berlingske (Denmark) Add EUobserver Add Funke Mediengruppe (Germany) Add Groupe EBRA (France) -Add Groupe La Dépêche (France) +Add Groupe LaDepeche.fr Add Madsack Mediengruppe (Germany) Fix Australian Financial Review (images) Fix Bloomberg (inline articles/adblocker) diff --git a/contentScript.js b/contentScript.js index 40a2cd8..356c8b9 100644 --- a/contentScript.js +++ b/contentScript.js @@ -26,7 +26,7 @@ var no_nhst_media_domains = ['intrafish.com', 'rechargenews.com', 'tradewindsnew var pe_grupo_elcomercio_domains = ['diariocorreo.pe', 'elcomercio.pe', 'gestion.pe']; 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_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_hearst_comm_domains = ['expressnews.com', 'houstonchronicle.com', 'sfchronicle.com']; var usa_lee_ent_domains = ['buffalonews.com', 'richmond.com', 'tucson.com', 'tulsaworld.com']; diff --git a/manifest.json b/manifest.json index 9cbbfb5..595581a 100644 --- a/manifest.json +++ b/manifest.json @@ -77,6 +77,7 @@ "*://*.apollo-magazine.com/*", "*://*.ara.cat/*", "*://*.arabalears.cat/*", + "*://*.architecturaldigest.com/*", "*://*.artforum.com/*", "*://*.artnet.com/*", "*://*.arvopaperi.fi/*", @@ -688,5 +689,5 @@ "*://*.wsj.net/*", "*://webcache.googleusercontent.com/*" ], - "version": "2.7.4.1" + "version": "2.7.4.2" } diff --git a/sites.js b/sites.js index ec78259..7ee146f 100644 --- a/sites.js +++ b/sites.js @@ -273,9 +273,9 @@ var defaultSites = { }, "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-subscriptions-.+\\.js)", + group: ["architecturaldigest.com", "bonappetit.com", "gq.com", "newyorker.com", "vanityfair.com", "vogue.com", "wired.com"], + remove_cookies_select_drop: ["pay_ent_smp", "pay_ent_usmp"], + block_regex: "(journey\\.{domain}\\/(.+\\/)?build-.+\\.js|cdn\\.ampproject\\.org\\/v\\d\\/amp-subscriptions-.+\\.js)", useragent: "googlebot" }, "Connaissance des Arts": { diff --git a/sites_updated.json b/sites_updated.json index c3fedb9..a63d037 100644 --- a/sites_updated.json +++ b/sites_updated.json @@ -21,6 +21,13 @@ } ] }, + "Architectural Digest": { + "domain": "architecturaldigest.com", + "remove_cookies_select_drop": ["pay_ent_smp", "pay_ent_usmp"], + "block_regex": "(journey\\.architecturaldigest\\.com\\/(.+\\/)?build-.+\\.js|cdn\\.ampproject\\.org\\/v\\d\\/amp-subscriptions-.+\\.js)", + "useragent": "googlebot", + "amp_unhide": 1 + }, "Artforum": { "domain": "artforum.com", "new_site": 1