Fix Helsingin Sanomat (dynamic-json)

This commit is contained in:
magnolia1234 2022-06-24 15:43:52 +02:00
parent d39f362997
commit 47249eb275
2 changed files with 3 additions and 0 deletions

View file

@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Firefox
Post-release
Fix Business Standard
Fix Helsingin Sanomat (dynamic-json)
Fix Koelner Stadt-Anzeiger & Koelnische Rundschau
Fix LesEchos.fr
Fix Repubblica.it & LaStampa.it (videos-gtm)

View file

@ -912,6 +912,8 @@ else if (matchDomain('hs.fi')) {
elem.setAttribute('style', 'font-style: italic;');
}
} else if (['m', 'u'].includes(type)) { // authors
if (!par.includes('text:'))
continue;
value = par.split('text:')[1].split(',role')[0].replace(/(^"|"$)/g, '');
if (value.length > 1) {
elem = document.createElement('p');