Skip to content

Commit

Permalink
Merge pull request #133 from skippybosco/master
Browse files Browse the repository at this point in the history
Exclude moderator URLs from redirect
  • Loading branch information
tom-james-watson authored Aug 25, 2024
2 parents 896b750 + e002022 commit 7a22f74
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions manifest-v2/background.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
const oldReddit = "https://old.reddit.com";
const excludedPaths = [
/^\/media/,
/^\/mod/,
/^\/poll/,
/^\/rpan/,
/^\/settings/,
Expand Down
2 changes: 1 addition & 1 deletion manifest-v3/rules.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"type": "allow"
},
"condition": {
"regexFilter": "^https://\\w*\\.?reddit\\.com/(media|poll|settings|topics|community-points|appeals?|r/[a-zA-Z0-9_]+/s/).*",
"regexFilter": "^https://\\w*\\.?reddit\\.com/(media|mod|poll|settings|topics|community-points|appeals?|r/[a-zA-Z0-9_]+/s/).*",
"resourceTypes": ["main_frame"]
}
},
Expand Down

0 comments on commit 7a22f74

Please sign in to comment.