about summary refs log tree commit diff stats
path: root/background.js
diff options
context:
space:
mode:
authornitrohorse <1514352+nitrohorse@users.noreply.github.com>2020-09-05 22:32:23 -0700
committernitrohorse <1514352+nitrohorse@users.noreply.github.com>2020-09-05 22:32:23 -0700
commit27f538e50b487c896cf8b424d642cf7ba156545a (patch)
treedf598569bf7efe5b96cfef082029db5a0152e2d5 /background.js
parentUpdate variable for consistency (diff)
downloadlibredirect-27f538e50b487c896cf8b424d642cf7ba156545a.zip
Update comment for clarity
Diffstat (limited to 'background.js')
-rw-r--r--background.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/background.js b/background.js
index 49b99edb..94cb616c 100644
--- a/background.js
+++ b/background.js
@@ -505,7 +505,7 @@ function redirectReddit(url, initiator, type) {
   if (initiator && initiator.origin === oldRedditView || url.origin === oldRedditView) {
     return null;
   }
-  // Do not redirect anything other than main_frame
+  // Do not redirect exclusions nor anything other than main_frame
   if (type !== "main_frame" || url.pathname.match(redditBypassPaths)) {
     return null;
   }