Hey everyone. If you want to post links or discuss the Reddit blackout, please localize it to this thread in order to keep things tidy!

  • PenguinCoder@beehaw.org
    link
    fedilink
    English
    arrow-up
    6
    ·
    2 years ago

    There’s an app for that

    Save and import:

    {
                "description": "Reddit to Beehaw",
                "exampleUrl": "https://www.reddit.com/",
                "exampleResult": "https://beehaw.org",
                "error": null,
                "includePattern": "^(https?://)([a-z0-9-]*\\.)reddit.com/(.*)",
                "excludePattern": "",
                "patternDesc": "Redirect Reddit muscle memory to BeeHaw",
                "redirectUrl": "https://beehaw.org",
                "patternType": "R",
                "processMatches": "noProcessing",
                "disabled": false,
                "grouped": false,
                "appliesTo": [
                    "main_frame"
                ]
            }
    
      • PenguinCoder@beehaw.org
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 years ago

        Yes, that can be done like so:

        {
            "createdBy": "Redirector v3.5.3",
            "createdAt": "2023-06-01T00:00:00.011Z",
            "redirects": [
                {
                    "description": "LemmyML to Sopuli",
                    "exampleUrl": "https://lemmy.ml/c/memes ",
                    "exampleResult": "https://sopuli.xyz/c/memes ",
                    "error": null,
                    "includePattern": "^(https?://)([a-z0-9-]*\\.)?lemmy.ml/(.*)",
                    "excludePattern": "",
                    "patternDesc": "",
                    "redirectUrl": "https://sopuli.xyz/$3",
                    "patternType": "R",
                    "processMatches": "noProcessing",
                    "disabled": false,
                    "grouped": false,
                    "appliesTo": [
                        "main_frame"
                    ]
                }
            ]
        }
        

        Copy that to a file, save it and then import into Redirector.