Add The Quint

This commit is contained in:
magnolia1234 2023-01-06 18:13:16 +01:00
parent 02e5618697
commit 026b85ec3c
7 changed files with 29 additions and 3 deletions

View file

@ -799,6 +799,7 @@ Grouped in options:\
[The Hindu](https://www.thehindu.com) -
[The Hindu BusinessLine](https://www.thehindubusinessline.com) -
[The Indian Express](https://indianexpress.com) -
[The Quint](https://www.thequint.com) -
[Times of India](https://timesofindia.indiatimes.com)
##### Israel

View file

@ -6,6 +6,7 @@ Add LeCourrierDesStrateges.fr
Add McClatchy DC
Add Mundo Deportivo
Add PhiloMag.de
Add The Quint
Add ZeroHedge
Remove Entrepreneur (fix obsolete)
Remove The-Village.ru (fix obsolete)

View file

@ -4085,6 +4085,20 @@ else if (matchDomain('thepointmag.com')) {
removeDOMElement(elem);
}
else if (matchDomain('thequint.com')) {
let paywall = document.querySelector('div.zsqcu');
if (paywall) {
removeDOMElement(paywall);
let body_hidden = document.querySelector('div#story-body-wrapper');
if (body_hidden)
body_hidden.removeAttribute('class');
function thequint_unhide(node) {
node.removeAttribute('class');
}
waitDOMAttribute('div#story-body-wrapper', 'DIV', 'class', thequint_unhide, true);
}
}
else if (matchDomain('thewrap.com')) {
let paywall = document.querySelector('.wrappro-paywall');
if (paywall)

4
lib/purify.min.js vendored

File diff suppressed because one or more lines are too long

View file

@ -613,6 +613,7 @@
"*://*.thepeterboroughexaminer.com/*",
"*://*.thepointmag.com/*",
"*://*.theprovince.com/*",
"*://*.thequint.com/*",
"*://*.therecord.com/*",
"*://*.thesaturdaypaper.com.au/*",
"*://*.thespec.com/*",
@ -721,5 +722,5 @@
"*://*.wallkit.net/*",
"*://webcache.googleusercontent.com/*"
],
"version": "2.9.9.7"
"version": "2.9.9.8"
}

View file

@ -1982,6 +1982,10 @@ var defaultSites = {
domain: "thepointmag.com",
remove_cookies_select_drop: ["monthly_history"]
},
"The Quint": {
domain: "thequint.com",
allow_cookies: 1
},
"The Saturday Paper": {
domain: "thesaturdaypaper.com.au",
block_regex: /\.thesaturdaypaper\.com\.au\/sites\/all\/modules\/custom\/node_meter\/pw\.js/

View file

@ -27,6 +27,11 @@
"useragent": "googlebot",
"new_site": 1
},
"The Seattle Times": {
"domain": "seattletimes.com",
"allow_cookies": 1,
"block_regex": "(\\.seattletimes\\.com\\/.+\\/st-user-messaging.+\\.js|cdn\\.ampproject\\.org\\/v\\d\\/amp-access-.+\\.js)"
},
"WirtschaftsWoche": {
"domain": "wiwo.de",
"allow_cookies": 1,