diff --git a/src/pages/background/background.js b/src/pages/background/background.js index 9df083b..e93e120 100644 --- a/src/pages/background/background.js +++ b/src/pages/background/background.js @@ -448,6 +448,9 @@ function redirectReddit(url, initiator, type) { if (type !== "main_frame" || url.pathname.match(redditBypassPaths)) { return null; } + if (url.host === "i.redd.it") { + return `${redditInstance}/img${url.pathname}${url.search}`; + } return `${redditInstance}${url.pathname}${url.search}`; }