mirror of
https://codeberg.org/LibRedirect/libredirect.git
synced 2025-01-31 19:44:54 +01:00
Update comment for clarity
This commit is contained in:
parent
b9cd32cfaa
commit
27f538e50b
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user