also redirect for new.reddit.com links

This commit is contained in:
Tom Watson 2018-05-03 15:10:45 +02:00
parent 86902fd56d
commit d504ef268c
1 changed files with 2 additions and 1 deletions

View File

@ -8,7 +8,8 @@ chrome.webRequest.onBeforeRequest.addListener(
urls: [ urls: [
"*://reddit.com/*", "*://reddit.com/*",
"*://www.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"] types: ["main_frame", "sub_frame", "stylesheet", "script", "image", "object", "xmlhttprequest", "other"]
}, },