summaryrefslogtreecommitdiffstats
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
parentb9cd32cfaa923f965d67f673155e34b9ae4e7d82 (diff)
downloadprivacy-redirect-27f538e50b487c896cf8b424d642cf7ba156545a.tar.gz
privacy-redirect-27f538e50b487c896cf8b424d642cf7ba156545a.tar.bz2
privacy-redirect-27f538e50b487c896cf8b424d642cf7ba156545a.zip
Update comment for clarity
Diffstat (limited to '')
-rw-r--r--background.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/background.js b/background.js
index 49b99ed..94cb616 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;
}