diff --git a/background.js b/background.js index e38bf9a..abb306e 100644 --- a/background.js +++ b/background.js @@ -18,7 +18,7 @@ chrome.webRequest.onBeforeRequest.addListener( } if (url.pathname.indexOf("/gallery") === 0) { - return { redirectUrl: oldReddit + url.pathname.slice("/gallery".length) }; + return { redirectUrl: oldReddit + '/comments' + url.pathname.slice("/gallery".length) }; } return { redirectUrl: oldReddit + url.pathname + url.search + url.hash };