Fix-update Toronto Star (author)

This commit is contained in:
magnolia1234 2021-01-02 13:16:33 +01:00
parent 8851826011
commit 8a0fd7d3d5
3 changed files with 3 additions and 2 deletions

View file

@ -6,6 +6,7 @@ Add La Vanguardia (Spain)
Fix-update Belfast Telegraph/Independent.ie (amp)
Fix-update Gestion & El Comercio (Peru)
Fix-update SeekingAlpha (amp)
Fix-update Toronto Star (author)
Update hold on to consent-cookie
* v2.0.1.0 (2020-12-27)

View file

@ -623,7 +623,7 @@ else if (matchDomain("thestar.com")) {
endnote_html = parser.parseFromString('<div class="author-endnote-container" data-lpos="article|author|bottom">' +
(elem.authorPageUrl ? '<a class="author-endnote-container__author-img-link" href="' + elem.authorPageUrl + '">' +
'<div class="c-author-badge author-endnote-container__author-img">' : '') +
((elem.author.photo === undefined) ? '<img class="c-author-badge__img" src="' + elem.author.photo.sizes['1:1'].small + '" alt="' + elem.author.author + '"/></div></a>' : '') +
((elem.author.photo !== undefined) ? '<img class="c-author-badge__img" src="' + elem.author.photo.sizes['1:1'].small + '" alt="' + elem.author.author + '"/></div></a>' : '') +
'<div>' + elem.text + '</div></div>', 'text/html');
} else
endnote_html = parser.parseFromString('<div><p>' + elem.text + '</p></div>', 'text/html');

View file

@ -415,5 +415,5 @@
"*://*.repstatic.it/*",
"*://*.userzoom.com/*"
],
"version": "2.0.1.5"
"version": "2.0.1.6"
}