Fix Helsingin Sanomat (dynamic-json)

master
magnolia1234 2022-06-24 15:43:42 +02:00
parent e81e3dd10f
commit 71e27e9128
2 changed files with 3 additions and 0 deletions

View File

@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Chrome
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');