hey everyone. if you want to post links or discuss the Reddit blackout, its aftermath, and what’s happening going forward, please localize it to this thread in order to keep things tidy! thanks! we’ll see if we need to cycle the thread again before the end of this week, but i don’t know that we’ll need to

  • pe1uca
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    Yes, it checks the url is old reddit, if not make it old reddit.

    if (!url.match(/^(http(s)?:\/\/)old\.reddit\.com/)) {
        url = "old.reddit.com" + url.split("reddit.com")[1];
      }
    
    • elauso@feddit.de
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 year ago

      Very nice! I’m currently on chromium so I can’t use it – but it’s one more reason to switch back to Firefox :)