Firefox@lemmy.ml: The only Reddit Redirector addon that exclude non-redirectable pages is, UI Changer for Reddit.
I know this is Lemmy and plenty of users here are anti-Reddit, but I'm sharing this in case other users have trouble with this as well.
Edit: u/Capta1nT0ad commented a working regex rule, Idk why my attempts didn't. Anyway I modified the rule so it works only on Reddit u/ and r/ links, so it doesn't have a chance of touching links that aren't compatible. I made a pastebin for anyone that wants to just import the file.
{
"createdBy": "Redirector v3.5.3",
"createdAt": "2024-05-02T08:36:19.092Z",
"redirects": [
{
"description": "Redirect to New Reddit, or old Reddit by replacing new.reddit.com in the redirect URL to old.reddit.com",
"exampleUrl": "https://www.reddit.com/r/reddit",
"exampleResult": "https://new.reddit.com/r/reddit",
"error": null,
"includePattern": ".+?:\/\/www.reddit.com\/(((r|u|user)\/.*)|$)",
"excludePattern": "",
"patternDesc": "",
"redirectUrl": "https://new.reddit.com$1",
"patternType": "R",
"processMatches": "noProcessing",
"disabled": false,
"grouped": false,
"appliesTo": [
"main_frame"
]
}
]
}
A redirector addon is necessary to redirect Reddit pages from the new 2023-24 redesign to either the 2018 redesign or old Reddit*. Some pages can't be redirected, like https://www.reddit.com/prefs/feeds/ and https://www.reddit.com/mod/firefox/queue (the new mod queue, firefox being the subreddit name).
This is actually pretty different, because alternative friends allow you to read posts and comments, but not login, upvote/downvote or post anything, but I use firemonkey addon with a redirect script.
(Firemonkey is compatible with greasymonkey scripts)
Allows to also use other useful scripts, but just as a redirector it's good if you just need to open and read posts.
The script uses https://farside.link/ as a «backend» to get new alternative frontends, for reddit it mostly uses teddit or libreddit (though this project probably was renamed to Redlib or somethong).
Also redirects YT, Fandom wiki, wikipedia and many more.