Add Quillette

Plus fix Conde Nast magazines (js)
merge-requests/13/head
magnolia1234 1 year ago
parent 0e86399a3a
commit 5c3f25e4d6

@ -735,6 +735,7 @@ Grouped in options:\
[Griffith Review](https://www.griffithreview.com) - [Griffith Review](https://www.griffithreview.com) -
[Intelligent Investor](https://www.intelligentinvestor.com.au) - [Intelligent Investor](https://www.intelligentinvestor.com.au) -
[New Zealand Herald](https://www.nzherald.co.nz) - [New Zealand Herald](https://www.nzherald.co.nz) -
[Quillette](https://quillette.com) -
[The Saturday Paper](https://www.thesaturdaypaper.com.au) - [The Saturday Paper](https://www.thesaturdaypaper.com.au) -
[The Spectator Australia](https://www.spectator.com.au) - [The Spectator Australia](https://www.spectator.com.au) -
[The West Australian (+ regional/opt-in to custom sites)](https://thewest.com.au) [The West Australian (+ regional/opt-in to custom sites)](https://thewest.com.au)

@ -4,11 +4,12 @@ Changelog Bypass Paywalls Clean - Firefox
Post-release Post-release
Add Inside Higher Ed Add Inside Higher Ed
Add Kurier.at Add Kurier.at
Add Quillette
Add Verlagsgruppe Rhein Main Add Verlagsgruppe Rhein Main
Remove DN.no (fix obsolete) Remove DN.no (fix obsolete)
Remove L'Opinion.fr (fix obsolete) Remove L'Opinion.fr (fix obsolete)
Remove Spiegel.de (fix obsolete) Remove Spiegel.de (fix obsolete)
Fix Conde Nast magazines (cookies) Fix Conde Nast magazines (js/cookies)
Fix DvhN.nl (json) Fix DvhN.nl (json)
Fix Los Angeles Times & San Diego Union-Tribune Fix Los Angeles Times & San Diego Union-Tribune
Fix Madsack Mediengruppe Fix Madsack Mediengruppe

@ -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')) { else if (matchDomain('quora.com')) {
let overlays = document.querySelectorAll('div[class*="_overlay"]'); let overlays = document.querySelectorAll('div[class*="_overlay"]');
removeDOMElement(...overlays); removeDOMElement(...overlays);

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

@ -334,7 +334,7 @@ var defaultSites = {
], ],
allow_cookies: 1, allow_cookies: 1,
remove_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" useragent: "googlebot"
}, },
"Connaissance des Arts": { "Connaissance des Arts": {
@ -1582,6 +1582,10 @@ var defaultSites = {
allow_cookies: 1, allow_cookies: 1,
block_regex: /\.tinypass\.com\// block_regex: /\.tinypass\.com\//
}, },
"Quillette": {
domain: "quillette.com",
allow_cookies: 1
},
"Quora (regwall)": { "Quora (regwall)": {
domain: "quora.com", domain: "quora.com",
useragent: "googlebot" useragent: "googlebot"

@ -42,7 +42,7 @@
], ],
"allow_cookies": 1, "allow_cookies": 1,
"remove_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" "useragent": "googlebot"
}, },
"Groupe La Dépêche": { "Groupe La Dépêche": {

Loading…
Cancel
Save