diff --git a/README.md b/README.md index 30fae3a7..f249ec0c 100644 --- a/README.md +++ b/README.md @@ -735,6 +735,7 @@ Grouped in options:\ [Griffith Review](https://www.griffithreview.com) - [Intelligent Investor](https://www.intelligentinvestor.com.au) - [New Zealand Herald](https://www.nzherald.co.nz) - +[Quillette](https://quillette.com) - [The Saturday Paper](https://www.thesaturdaypaper.com.au) - [The Spectator Australia](https://www.spectator.com.au) - [The West Australian (+ regional/opt-in to custom sites)](https://thewest.com.au) diff --git a/changelog.txt b/changelog.txt index a5726441..686da52f 100644 --- a/changelog.txt +++ b/changelog.txt @@ -4,11 +4,12 @@ Changelog Bypass Paywalls Clean - Firefox Post-release Add Inside Higher Ed Add Kurier.at +Add Quillette Add Verlagsgruppe Rhein Main Remove DN.no (fix obsolete) Remove L'Opinion.fr (fix obsolete) Remove Spiegel.de (fix obsolete) -Fix Conde Nast magazines (cookies) +Fix Conde Nast magazines (js/cookies) Fix DvhN.nl (json) Fix Los Angeles Times & San Diego Union-Tribune Fix Madsack Mediengruppe diff --git a/contentScript.js b/contentScript.js index 75453719..5a6e1452 100644 --- a/contentScript.js +++ b/contentScript.js @@ -3823,6 +3823,17 @@ else if (matchDomain('puck.news')) { } } +else if (matchDomain('quillette.com')) { + let url = window.location.href; + let paywall = document.querySelector('aside.gh-post-upgrade-cta'); + if (paywall) { + removeDOMElement(paywall); + let article = document.querySelector('article'); + if (article) + article.appendChild(archiveLink(url)); + } +} + else if (matchDomain('quora.com')) { let overlays = document.querySelectorAll('div[class*="_overlay"]'); removeDOMElement(...overlays); diff --git a/manifest.json b/manifest.json index 5ba090c9..cb0683bf 100644 --- a/manifest.json +++ b/manifest.json @@ -507,6 +507,7 @@ "*://*.public.fr/*", "*://*.puck.news/*", "*://*.pzc.nl/*", + "*://*.quillette.com/*", "*://*.quora.com/*", "*://*.quotidiano.net/*", "*://*.quotidianodipuglia.it/*", diff --git a/sites.js b/sites.js index 05eba9d3..caad5c06 100644 --- a/sites.js +++ b/sites.js @@ -334,7 +334,7 @@ var defaultSites = { ], allow_cookies: 1, remove_cookies: 1, - block_regex: "(journey\\.{domain}\\/(.+\\/)?build-.+\\.js|cdn\\.ampproject\\.org\\/v\\d\\/amp-subscriptions-.+\\.js)", + block_regex: "(\\.{domain}\\/journey\\/compiler\\/build-.+\\.js|cdn\\.ampproject\\.org\\/v\\d\\/amp-subscriptions-.+\\.js)", useragent: "googlebot" }, "Connaissance des Arts": { @@ -1582,6 +1582,10 @@ var defaultSites = { allow_cookies: 1, block_regex: /\.tinypass\.com\// }, + "Quillette": { + domain: "quillette.com", + allow_cookies: 1 + }, "Quora (regwall)": { domain: "quora.com", useragent: "googlebot" diff --git a/sites_updated.json b/sites_updated.json index a4388487..eea58172 100644 --- a/sites_updated.json +++ b/sites_updated.json @@ -42,7 +42,7 @@ ], "allow_cookies": 1, "remove_cookies": 1, - "block_regex": "(journey\\.{domain}\\/(.+\\/)?build-.+\\.js|cdn\\.ampproject\\.org\\/v\\d\\/amp-subscriptions-.+\\.js)", + "block_regex": "(\\.{domain}\\/journey\\/compiler\\/build-.+\\.js|cdn\\.ampproject\\.org\\/v\\d\\/amp-subscriptions-.+\\.js)", "useragent": "googlebot" }, "Groupe La Dépêche": {