Add Quillette

Plus fix Conde Nast magazines (js)
This commit is contained in:
magnolia1234 2023-02-05 19:10:26 +01:00
parent 0e86399a3a
commit 5c3f25e4d6
6 changed files with 21 additions and 3 deletions

View file

@ -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)

View file

@ -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

View file

@ -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);

View file

@ -507,6 +507,7 @@
"*://*.public.fr/*",
"*://*.puck.news/*",
"*://*.pzc.nl/*",
"*://*.quillette.com/*",
"*://*.quora.com/*",
"*://*.quotidiano.net/*",
"*://*.quotidianodipuglia.it/*",

View file

@ -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"

View file

@ -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": {