diff options
author | nitrohorse <1514352+nitrohorse@users.noreply.github.com> | 2020-09-05 22:32:23 -0700 |
---|---|---|
committer | nitrohorse <1514352+nitrohorse@users.noreply.github.com> | 2020-09-05 22:32:23 -0700 |
commit | 27f538e50b487c896cf8b424d642cf7ba156545a (patch) | |
tree | df598569bf7efe5b96cfef082029db5a0152e2d5 /background.js | |
parent | Update variable for consistency (diff) | |
download | libredirect-27f538e50b487c896cf8b424d642cf7ba156545a.zip |
Update comment for clarity
Diffstat (limited to 'background.js')
-rw-r--r-- | background.js | 2 |
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; } |