Fix Telegraaf.nl (columns)

This commit is contained in:
magnolia1234 2023-07-11 20:23:19 +02:00
parent fdd102dff9
commit a16e5aba13
6 changed files with 8 additions and 7 deletions

View File

@ -6,6 +6,7 @@ Post-release
Add Sabado.pt
Fix Australia News Corp (amp-fix)
Fix Cmjornal.pt & Record.pt (amp)
Fix Telegraaf.nl (columns)
* v3.2.4.0 (2023-07-09)
Add Delish, Elle Decor, Harper's Bazaar & Oprah Daily (Hearst)

View File

@ -2372,7 +2372,7 @@ else if (matchDomain('telegraaf.nl')) {
window.location.reload(true);
}, 500);
}
let paywall = document.querySelector('div.MeteringNotification__backdrop, data-hydrate[data-name="SubscriptionCard"]');
let paywall = document.querySelector('div.MeteringNotification__backdrop, data-hydrate[data-name="PaywallHandler"]');
let article_body = document.querySelector('section.TextArticlePage__imageWrapper, section > div.DetailArticleImage');
if (paywall && article_body) {
let div_main = document.createElement('div');

View File

@ -51,5 +51,5 @@
"webRequestBlocking",
"*://*/*"
],
"version": "3.2.4.2"
"version": "3.2.4.3"
}

4
lib/purify.min.js vendored

File diff suppressed because one or more lines are too long

View File

@ -759,5 +759,5 @@
"*://*.wyleex.com/*",
"*://webcache.googleusercontent.com/*"
],
"version": "3.2.4.2"
"version": "3.2.4.3"
}

View File

@ -171,8 +171,8 @@
"Telegraaf": {
"domain": "telegraaf.nl",
"allow_cookies": 1,
"ld_json": "data-hydrate[data-name='SubscriptionCard']|data-hydrate[data-name='InjectArticleDetailBlocks']",
"upd_version": "3.2.0.4"
"ld_json": "data-hydrate[data-name='PaywallHandler']|div.DetailBodyBlocks",
"upd_version": "3.2.4.3"
},
"The Athletic": {
"domain": "###_usa_theathletic",