feat: remove referrerpolicy in routes

This commit is contained in:
DIYgod
2019-08-28 14:38:19 +08:00
parent a34b9ae542
commit 9a3bea3525
181 changed files with 213 additions and 220 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 referrerpolicy="no-referrer" src=${src}>`).insertAfter(content.find('div.story-lead')[0]);
$(`<img src=${src}>`).insertAfter(content.find('div.story-lead')[0]);
});
// 付费文章跳转