5
submitted 7 months ago* (last edited 6 months ago) by TheTwelveYearOld@lemmy.world to c/firefox@lemmy.ml

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).

When I go those links, the following addons don't work for them: Reddit UI Redirector, Old Reddit Redirector, and Old New Reddit Redirector. New Reddit Redirect doesn't even work at all for me, though it hasn't been updated since 2019 and there doesn't seem to be a repo online, so its probably close sourced. I left reviews for all of them. The only addon I found working both links is UI Changer for Reddit.

* I tried making a regex rule with the Redirector addon but it didn't work.

top 7 comments
sorted by: hot top controversial new old
[-] vort3@lemmy.ml 3 points 7 months ago

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.

https://addons.mozilla.org/en-US/firefox/addon/firemonkey/

https://greasyfork.org/en/scripts/441742-farside-redirect/code

(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.

[-] TheTwelveYearOld@lemmy.world 2 points 6 months ago

This is really useful thanks!

[-] shakyhans@lemmy.nz 2 points 7 months ago

Just to save anyone else some clicks, this is Firefox Desktop only. Unless someone can tell me how to get it to work on Android?

[-] eruchitanda@lemmy.world 2 points 7 months ago

- Settings - About <browser-name> - *tap on logo 3(?) times* - Custom Add-on Collection - *add your own collection*.

[-] eruchitanda@lemmy.world 1 points 7 months ago

You could also add Iceraven's collection.

- Collection Owner (User ID) - 16201230

- Collection name - What-I-want-on-Fenix

[-] eruchitanda@lemmy.world 1 points 7 months ago

Last time I checked, it worked on all Firefox 'spins', *except* stable; it also works on Mull and Fennec.

[-] eruchitanda@lemmy.world 1 points 7 months ago

It does work with Redirector.

Reddit to Old.Reddit
http*://*.*/r/linux/
http*://*reddit.com/*
https://old.reddit.com/$3
this post was submitted on 02 May 2024
5 points (63.2% liked)

Firefox

17951 readers
373 users here now

A place to discuss the news and latest developments on the open-source browser Firefox

founded 4 years ago
MODERATORS