The Wall Street Journal CN site Full Text Articles

Fetch the full text of The Wall Street Journal articles from the AMP version. I've identified an issue affecting iOS Safari users while reading articles on wsj.com. The font size may appear too large. As a temporary workaround, please use the font adjustment tool in the Safari address bar to increase or decrease the font size, then reset it to the original size. This should fix the issue. This bug is not present on cn.wsj.com. Thank you for your cooperation and understanding.

< Commentaires sur The Wall Street Journal CN site Full Text Articles

Question / commentaire

§
Posté le: 2024-05-20

每篇文章的第一张图片会被隐藏,请检查,谢谢!

§
Posté le: 2024-06-13

大佬可能暫時沒有時間處理

dkf
§
Posté le: 2024-07-13

$preview.replaceWith(data.find('section[subscriptions-section="content"]')
.css('margin-bottom', '5rem')
.css('color', 'var(--primary-text-color)')
.css('font-family', 'var(--article-font-family)')
.css('font-weight', 'var(--article-font-weight)')
.css('line-height', 'calc(27 / 17)')
.css('direction', 'var(--article-direction);')
.prepend($preview.children('div[data-type="image"]')) <===添加这行
);

dkf
§
Posté le: 2024-07-26

修改下以支持视频,同时去除残留的广告位

$preview.replaceWith(data.find('section[subscriptions-section="content"]')
.css('margin-bottom', '5rem')
.css('color', 'var(--primary-text-color)')
.css('font-family', 'var(--article-font-family)')
.css('font-weight', 'var(--article-font-weight)')
.css('line-height', 'calc(27 / 17)')
.css('direction', 'var(--article-direction);')
.prepend($preview.children('div.media-layout'))
);
$body.find('.wsj-ad').remove();

Poster une réponse

Connectez-vous pour poster une réponse.