From 71446f4b604c1eb3c8631015b59df54be2b317df Mon Sep 17 00:00:00 2001 From: Vincente Campisi Date: Tue, 19 May 2020 19:29:04 +0200 Subject: [PATCH] Add amp.reddit.com as redirected url and manifest permission --- background.js | 1 + manifest.json | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/background.js b/background.js index 09a1c2f..7451fb5 100644 --- a/background.js +++ b/background.js @@ -18,6 +18,7 @@ chrome.webRequest.onBeforeRequest.addListener( "*://www.reddit.com/*", "*://np.reddit.com/*", "*://new.reddit.com/*", + "*://amp.reddit.com/*", ], types: [ "main_frame", diff --git a/manifest.json b/manifest.json index 4bf3273..ab1a987 100644 --- a/manifest.json +++ b/manifest.json @@ -14,6 +14,7 @@ "*://reddit.com/*", "*://www.reddit.com/*", "*://np.reddit.com/*", - "*://new.reddit.com/*" + "*://new.reddit.com/*", + "*://amp.reddit.com/*" ] }