chore: 部分代码优化 (#1674)

This commit is contained in:
Henry Wang
2019-03-04 11:26:09 +00:00
committed by DIYgod
parent 67f41eabb3
commit e72f82e983
101 changed files with 138 additions and 108 deletions

View File

@@ -10,7 +10,7 @@ const ProcessFeed = ($, link) => {
content.find('div.story-image > figure').each((i, e) => {
const src = `https://www.ft.com/__origami/service/image/v2/images/raw/${encodeURIComponent(e.attribs['data-url'])}?source=ftchinese&width=800&fit=cover`;
$(`<img src=${src}>`).insertAfter(content.find('div.story-lead')[0]);
$(`<img referrerpolicy="no-referrer" src=${src}>`).insertAfter(content.find('div.story-lead')[0]);
});
// 付费文章跳转