also redirect i.reddit.com

Closes https://github.com/tom-james-watson/old-reddit-redirect/issues/45
This commit is contained in:
Tom Watson 2021-01-24 12:07:25 +01:00
parent 01f71cf361
commit 621c2b05ee
2 changed files with 4 additions and 2 deletions

View File

@ -19,6 +19,7 @@ chrome.webRequest.onBeforeRequest.addListener(
"*://www.reddit.com/*", "*://www.reddit.com/*",
"*://np.reddit.com/*", "*://np.reddit.com/*",
"*://amp.reddit.com/*", "*://amp.reddit.com/*",
"*://i.reddit.com/*",
], ],
types: [ types: [
"main_frame", "main_frame",

View File

@ -1,7 +1,7 @@
{ {
"name": "Old Reddit Redirect", "name": "Old Reddit Redirect",
"description": "Ensure Reddit always loads the old design", "description": "Ensure Reddit always loads the old design",
"version": "1.3.0", "version": "1.4.0",
"manifest_version": 2, "manifest_version": 2,
"background": { "scripts": ["background.js"] }, "background": { "scripts": ["background.js"] },
"icons": { "icons": {
@ -14,6 +14,7 @@
"*://reddit.com/*", "*://reddit.com/*",
"*://www.reddit.com/*", "*://www.reddit.com/*",
"*://np.reddit.com/*", "*://np.reddit.com/*",
"*://amp.reddit.com/*" "*://amp.reddit.com/*",
"*://i.reddit.com/*"
] ]
} }