From d504ef268c482dc0242bda3fe637cb6f75879307 Mon Sep 17 00:00:00 2001 From: Tom Watson Date: Thu, 3 May 2018 15:10:45 +0200 Subject: [PATCH] also redirect for new.reddit.com links --- background.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/background.js b/background.js index 8b6b3ab..da3b802 100644 --- a/background.js +++ b/background.js @@ -8,7 +8,8 @@ chrome.webRequest.onBeforeRequest.addListener( urls: [ "*://reddit.com/*", "*://www.reddit.com/*", - "*://np.reddit.com/*" + "*://np.reddit.com/*", + "*://new.reddit.com/*" ], types: ["main_frame", "sub_frame", "stylesheet", "script", "image", "object", "xmlhttprequest", "other"] },