Fix Ad.nl (reduced only)

This commit is contained in:
magnolia1234 2024-01-05 17:04:21 +01:00
parent b34576fea4
commit ef0583a8c9
2 changed files with 2 additions and 1 deletions

View file

@ -7,6 +7,7 @@ Add Motor Presse Stuttgart
Add JournaldeMillau.fr (Groupe La Depeche)
Remove Bhaskar (fix obsolete)
Remove Westfalische Mediengruppe (fix obsolete)
Fix Ad.nl (reduced only)
Fix Haaretz Group (Semrushbot)
Fix The Diplomat (magazine)
Fix Times of India (epaper)

View file

@ -2635,7 +2635,7 @@ else if (matchDomain(['lc.nl', 'dvhn.nl']) || document.querySelector('head > lin
else if (matchDomain(nl_dpg_adr_domains)) {
let url = window.location.href;
let paywall = document.querySelector('div#remaining-paid-content');
let paywall = document.querySelector('div#remaining-paid-content[data-reduced="true"]');
if (paywall) {
removeDOMElement(paywall);
getArchive(url, 'div.article__body', '', 'div#remaining-paid-content');