From cb9528964e220053f0eb6d45c0999ee1f4fa7d70 Mon Sep 17 00:00:00 2001 From: magnolia1234 <7676006-magnolia1234@users.noreply.gitlab.com> Date: Wed, 16 Aug 2023 19:06:04 +0200 Subject: [PATCH] Remove Initium Media --- README.md | 1 - changelog.txt | 1 + contentScript.js | 5 ----- manifest.json | 1 - sites.js | 7 +------ 5 files changed, 2 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 7646312..d4e39d2 100644 --- a/README.md +++ b/README.md @@ -857,7 +857,6 @@ Grouped in options:\ ##### East Asia [CommonWealth Magazine Taiwan](https://www.cw.com.tw)* - [Harvard Business Review China](https://www.hbrchina.org) - -[Initium Media](https://theinitium.com) - [Mainichi Shimbun](https://mainichi.jp) - [Nikkei Asian Review](https://asia.nikkei.com) - [South China Morning Post](https://www.scmp.com) - diff --git a/changelog.txt b/changelog.txt index 8a47212..f41a7e4 100644 --- a/changelog.txt +++ b/changelog.txt @@ -4,6 +4,7 @@ Updates (install signed xpi-file): https://gitlab.com/magnolia1234/bypass-paywal Post-release Add Delinian Group +Remove Initium Media (fix obsolete) Fix The Press-Enterprise (new domain) * v3.2.9.0 (2023-08-13) diff --git a/contentScript.js b/contentScript.js index b550e79..7d870a7 100644 --- a/contentScript.js +++ b/contentScript.js @@ -4773,11 +4773,6 @@ else if (matchDomain(['thehindu.com', 'thehindubusinessline.com'])) { insert_script(hindu_main); } -else if (matchDomain('theinitium.com')) { - let paywall = document.querySelector('section.c-wall'); - removeDOMElement(paywall); -} - else if (matchDomain(['thejuggernaut.com', 'jgnt.co'])) { let paywall = pageContains('div.font-mono', /\Read this article and many more by subscribing today/); if (paywall.length) { diff --git a/manifest.json b/manifest.json index bc64609..02bd4d7 100644 --- a/manifest.json +++ b/manifest.json @@ -652,7 +652,6 @@ "*://*.thehill.com/*", "*://*.thehindu.com/*", "*://*.thehindubusinessline.com/*", - "*://*.theinitium.com/*", "*://*.theintercept.com/*", "*://*.thejuggernaut.com/*", "*://*.thelawyersdaily.ca/*", diff --git a/sites.js b/sites.js index f2f932c..623aab3 100644 --- a/sites.js +++ b/sites.js @@ -1094,11 +1094,6 @@ var defaultSites = { allow_cookies: 1, block_regex: /\.tinypass\.com\// }, - "Initium Media": { - domain: "theinitium.com", - allow_cookies: 1, - useragent: "googlebot" - }, "Inkl": { domain: "inkl.com" }, @@ -2692,4 +2687,4 @@ init_custom_flex_domains(); // sites with no fix (background) var it_gedi_nofix_domains = ['gelocal.it', 'huffingtonpost.it', 'ilsecoloxix.it', 'limesonline.com', 'repubblica.it']; var uk_delinian_nofix_domains = ['insidepandc.com', 'thedeal.com']; -var nofix_sites = ['aamulehti.fi', 'africaintelligence.com', 'africaintelligence.fr', 'aftonbladet.se', 'aftenposten.no', 'allgaeuer-zeitung.de', 'asiatimes.com', 'autosport.com', 'badische-zeitung.de', 'bild.de', 'bloomberglaw.com', 'bloombergtax.com', 'borsen.dk', 'businessinsider.de', 'businesslive.co.za', 'businesstimes.com.sg', 'caixin.com', 'caixinglobal.com', 'caravanmagazine.in', 'catalyst-journal.com', 'compactmag.com', 'courrierinternational.com', 'deutsche-wirtschafts-nachrichten.de', 'diepresse.com', 'dn.se', 'elordenmundial.com', 'epw.in', 'expresso.pt', 'finance.si', 'ftchinese.com', 'gamestar.de', 'geo.de', 'golem.de', 'handelsblatt.com', 'heise.de', 'hs.fi', 'ilsole24ore.com', 'investors.com', 'iltalehti.fi', 'jacobinmag.com', 'jeuneafrique.com', 'kleinezeitung.at', 'lavie.fr', 'lavozdegalicia.es', 'law360.com', 'lefigaro.fr', 'le1hebdo.fr', 'leconomiste.com', 'lefilmfrancais.com', 'lemonde.fr', 'lepoint.fr', 'lequipe.fr', 'letemps.ch', 'liberation.fr', 'limburger.nl', 'lopinion.fr', 'mainpost.de', 'medianama.com', 'mediapart.fr', 'milanofinanza.it', 'mittelbayerische.de', 'monde-diplomatique.fr', 'mondediplo.com', 'moneycontrol.com', 'morningstar.com', 'nachrichten.at', 'nationaljournal.com', 'manager-magazin.de', 'mz.de', 'nature.com', 'nbr.co.nz', 'nn.de', 'ouest-france.fr', 'philonomist.com', 'pnp.de', 'politicopro.com', 'politiken.dk', 'pressreader.com', 'publico.pt', 'quillette.com', 'republic.ru', 'rheinpfalz.de', 'risk.net', 'rnz.de', 'saechsische.de', 'statnews.com', 'stern.de', 'stimme.de', 'straitstimes.com', 'stratfor.com', 'substack.com', 'sueddeutsche.de', 'suedkurier.de', 'swp.de', 'tagesspiegel.de', 'techcrunch.com', 'the-ken.com', 'theinformation.com', 'themorningcontext.com', 'theparisreview.org', 'thewirechina.com', 'volksstimme.de', 'welt.de', 'weser-kurier.de', 'wiwo.de', 'worldpoliticsreview.com', 'ynet.co.il'].concat(it_gedi_nofix_domains, uk_delinian_nofix_domains); +var nofix_sites = ['aamulehti.fi', 'africaintelligence.com', 'africaintelligence.fr', 'aftonbladet.se', 'aftenposten.no', 'allgaeuer-zeitung.de', 'asiatimes.com', 'autosport.com', 'badische-zeitung.de', 'bild.de', 'bloomberglaw.com', 'bloombergtax.com', 'borsen.dk', 'businessinsider.de', 'businesslive.co.za', 'businesstimes.com.sg', 'caixin.com', 'caixinglobal.com', 'caravanmagazine.in', 'catalyst-journal.com', 'compactmag.com', 'courrierinternational.com', 'deutsche-wirtschafts-nachrichten.de', 'diepresse.com', 'dn.se', 'elordenmundial.com', 'epw.in', 'expresso.pt', 'finance.si', 'ftchinese.com', 'gamestar.de', 'geo.de', 'golem.de', 'handelsblatt.com', 'heise.de', 'hs.fi', 'ilsole24ore.com', 'investors.com', 'iltalehti.fi', 'jacobinmag.com', 'jeuneafrique.com', 'kleinezeitung.at', 'lavie.fr', 'lavozdegalicia.es', 'law360.com', 'lefigaro.fr', 'le1hebdo.fr', 'leconomiste.com', 'lefilmfrancais.com', 'lemonde.fr', 'lepoint.fr', 'lequipe.fr', 'letemps.ch', 'liberation.fr', 'limburger.nl', 'lopinion.fr', 'mainpost.de', 'medianama.com', 'mediapart.fr', 'milanofinanza.it', 'mittelbayerische.de', 'monde-diplomatique.fr', 'mondediplo.com', 'moneycontrol.com', 'morningstar.com', 'nachrichten.at', 'nationaljournal.com', 'manager-magazin.de', 'mz.de', 'nature.com', 'nbr.co.nz', 'nn.de', 'ouest-france.fr', 'philonomist.com', 'pnp.de', 'politicopro.com', 'politiken.dk', 'pressreader.com', 'publico.pt', 'quillette.com', 'republic.ru', 'rheinpfalz.de', 'risk.net', 'rnz.de', 'saechsische.de', 'statnews.com', 'stern.de', 'stimme.de', 'straitstimes.com', 'stratfor.com', 'substack.com', 'sueddeutsche.de', 'suedkurier.de', 'swp.de', 'tagesspiegel.de', 'techcrunch.com', 'the-ken.com', 'theinformation.com', 'theinitium.com', 'themorningcontext.com', 'theparisreview.org', 'thewirechina.com', 'volksstimme.de', 'welt.de', 'weser-kurier.de', 'wiwo.de', 'worldpoliticsreview.com', 'ynet.co.il'].concat(it_gedi_nofix_domains, uk_delinian_nofix_domains);