From 4be75071ccc54b1d8372c07aa61893406bc5f105 Mon Sep 17 00:00:00 2001 From: magnolia1234 <7676006-magnolia1234@users.noreply.gitlab.com> Date: Thu, 7 Jul 2022 18:51:32 +0200 Subject: [PATCH] Add Handelszeitung.ch --- README.md | 1 + changelog.txt | 1 + custom/sites_custom.json | 5 ----- manifest.json | 3 ++- sites.js | 5 +++++ sites_updated.json | 32 +++----------------------------- 6 files changed, 12 insertions(+), 35 deletions(-) diff --git a/README.md b/README.md index a3ea6a42..351ce291 100644 --- a/README.md +++ b/README.md @@ -638,6 +638,7 @@ Grouped in options:\ ##### Switzerland [Beobachter](https://www.beobachter.ch) - +[Handelszeitung](https://www.handelszeitung.ch) - [Neue Zürcher Zeitung (+ regional/opt-in to custom sites)](https://www.nzz.ch) - [The Market](https://themarket.ch) diff --git a/changelog.txt b/changelog.txt index ccec2895..18c826b7 100644 --- a/changelog.txt +++ b/changelog.txt @@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Firefox Post-release Add Architectural Digest (Conde Nast) +Add Handelszeitung.ch Fix ABC.es (mobile) Fix Knack.be & LeVif.be (subdomains-text) Fix WSJ (no Googlebot) diff --git a/custom/sites_custom.json b/custom/sites_custom.json index d3208989..fdbabc45 100644 --- a/custom/sites_custom.json +++ b/custom/sites_custom.json @@ -51,11 +51,6 @@ "domain": "gplanet.co.il", "ld_json": "div.subscription-form|div.content-inner" }, - "Handelszeitung.ch": { - "allow_cookies": 1, - "domain": "handelszeitung.ch", - "useragent": "googlebot" - }, "Heraldscotland.com": { "allow_cookies": 1, "block_regex": "\\.tinypass\\.com\\/", diff --git a/manifest.json b/manifest.json index abdb1c16..5f50ffb0 100644 --- a/manifest.json +++ b/manifest.json @@ -255,6 +255,7 @@ "*://*.haaretz.co.il/*", "*://*.haaretz.com/*", "*://*.haarlemsdagblad.nl/*", + "*://*.handelszeitung.ch/*", "*://*.harpers.org/*", "*://*.haz.de/*", "*://*.hbr.org/*", @@ -689,5 +690,5 @@ "*://*.wsj.net/*", "*://webcache.googleusercontent.com/*" ], - "version": "2.7.4.4" + "version": "2.7.4.5" } diff --git a/sites.js b/sites.js index 7ee146f1..fc8ef192 100644 --- a/sites.js +++ b/sites.js @@ -728,6 +728,11 @@ var defaultSites = { block_regex: /haaretz\.co\.il\/htz\/js\/inter\.js/, useragent: "bingbot" }, + "Handelszeitung.ch": { + allow_cookies: 1, + domain: "handelszeitung.ch", + useragent: "googlebot" + }, "Harper's Magazine": { domain: "harpers.org" }, diff --git a/sites_updated.json b/sites_updated.json index 03ff5e6b..0116bd5d 100644 --- a/sites_updated.json +++ b/sites_updated.json @@ -42,10 +42,6 @@ "useragent": "googlebot", "amp_unhide": 1 }, - "Artforum": { - "domain": "artforum.com", - "new_site": 1 - }, "Automobilwoche": { "domain": "automobilwoche.de", "allow_cookies": 1, @@ -92,11 +88,10 @@ } ] }, - "Initium Media": { - "domain": "theinitium.com", + "Handelszeitung.ch": { "allow_cookies": 1, - "useragent": "googlebot", - "new_site": 1 + "domain": "handelszeitung.ch", + "useragent": "googlebot" }, "Knack.be": { "domain": "knack.be", @@ -116,21 +111,6 @@ } ] }, - "L'Avenir": { - "domain": "lavenir.net", - "allow_cookies": 1, - "cs_code": [{ - "cond": "div.is-preview", - "rm_elem": 1, - "elems": [{ - "cond": "div.is-hidden", - "rm_class": "is-hidden" - } - ] - } - ], - "new_site": 1 - }, "Le Vif.be": { "domain": "levif.be", "allow_cookies": 1, @@ -149,12 +129,6 @@ } ] }, - "The Banker": { - "allow_cookies": 1, - "domain": "thebanker.com", - "useragent": "googlebot", - "new_site": 1 - }, "The Wall Street Journal": { "domain": "wsj.com", "allow_cookies": 1,