mirror of
https://codeberg.org/LibRedirect/libredirect.git
synced 2025-01-11 01:24:52 +01:00
Merge pull request #138 from austinhuang0131/patch-2
Add Teddit and Snew to reddit redirect options
This commit is contained in:
commit
3d45eb3089
@ -110,8 +110,10 @@ const redditDomains = [
|
||||
];
|
||||
const redditBypassPaths = /\/(gallery\/poll\/rpan\/settings\/topics)/;
|
||||
const oldRedditViews = [
|
||||
"https://teddit.net", // privacy
|
||||
"https://snew.notabug.io", // anti-censorship
|
||||
"https://old.reddit.com", // desktop
|
||||
"https://i.reddit.com", // mobile
|
||||
"https://i.reddit.com" // mobile
|
||||
];
|
||||
const oldRedditDefaultView = oldRedditViews[0];
|
||||
const googleMapsRegex = /https?:\/\/(((www|maps)\.)?(google\.).*(\/maps)|maps\.(google\.).*)/;
|
||||
|
Loading…
Reference in New Issue
Block a user