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](https://www.thehindu.com) -
[The Hindu BusinessLine](https://www.thehindubusinessline.com) - [The Hindu BusinessLine](https://www.thehindubusinessline.com) -
[The Indian Express](https://indianexpress.com) - [The Indian Express](https://indianexpress.com) -
[The Quint](https://www.thequint.com) -
[Times of India](https://timesofindia.indiatimes.com) [Times of India](https://timesofindia.indiatimes.com)
##### Israel ##### Israel

View file

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

View file

@ -4085,6 +4085,20 @@ else if (matchDomain('thepointmag.com')) {
removeDOMElement(elem); 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')) { else if (matchDomain('thewrap.com')) {
let paywall = document.querySelector('.wrappro-paywall'); let paywall = document.querySelector('.wrappro-paywall');
if (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/*", "*://*.thepeterboroughexaminer.com/*",
"*://*.thepointmag.com/*", "*://*.thepointmag.com/*",
"*://*.theprovince.com/*", "*://*.theprovince.com/*",
"*://*.thequint.com/*",
"*://*.therecord.com/*", "*://*.therecord.com/*",
"*://*.thesaturdaypaper.com.au/*", "*://*.thesaturdaypaper.com.au/*",
"*://*.thespec.com/*", "*://*.thespec.com/*",
@ -721,5 +722,5 @@
"*://*.wallkit.net/*", "*://*.wallkit.net/*",
"*://webcache.googleusercontent.com/*" "*://webcache.googleusercontent.com/*"
], ],
"version": "2.9.9.7" "version": "2.9.9.8"
} }

View file

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

View file

@ -27,6 +27,11 @@
"useragent": "googlebot", "useragent": "googlebot",
"new_site": 1 "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": { "WirtschaftsWoche": {
"domain": "wiwo.de", "domain": "wiwo.de",
"allow_cookies": 1, "allow_cookies": 1,