Old new reddit redirect

Gets rid of Reddit's new December 2023 layout.

Aŭtoro
nitro2k01
Ĉiutagaj instaloj
1
Tutaj instaloj
1 142
Ratings
3 1 2
Versio
1.2
Kreita
2023/12/20
Ĝisdatigita
2023/12/22
Licenco
MIT
Aplikiĝas al

August 2024 update

As of 2024-08-26, Reddit has finally officially retired new.reddit.com. This means that visiting new.reddit.com will give you the new UI, breaking the function of this script. A workaround exists: Reddit still allows moderators to access the old new.reddit.com because not all moderation tools have been ported over to the newest layout. You can become a moderator by creating your own Subreddit, which you are now a moderator of. This will make this script work as intended again. However, this is only a temporary fix, and Reddit will remove this ability as soon as they're done porting over the moderation tools. When this happens I will unlist the extension.

Introduction

As of 2023-12-19, Reddit introduced a new layout which has a lot of bugs, and an inferior visual layout to the point that many people consider it unusable. As of this time, you can still access the "old new" layout, which was the default layout for a couple of years until 2023-12-18. (Some people have reported seeing this layout earlier, but it seems to be rolled out as the default to everyone today.) You can access "old new" layout by going to new.reddit.com. This script redirects existing Reddit links to new.reddit.com as well as convert existing links on Reddit, to keep you in the new.reddit.com site layout while browsing Reddit.

Features and notes

  • This script automatically redirects you to new.reddit.com when you visit a page under the reddit.com or www.reddit.com domains.
  • In order to not waste time on a redirect if not necessary, existing links on Reddit are also converted to new.reddit.com. Most links in the UI already go to the same subdomain as the linking page by default, but in particular the notifications menu tends to have www.reddit.com links, and posts/comments may contain links as well.
  • If you are not logged in, going to new.reddit.com will redirect you back to www.reddit.com. Therefore, this script does not try to redirect you to new.reddit.com if you are not logged in, which would create and endless redirect loop which would prevent you from logging in.
  • It's possible that Reddit will start redirecting new.reddit.com to www.reddit.com even for logged in users in the future. In this case, please disable this script to prevent the inevitable redirect loop.
  • This is a script for redirecting to new.reddit.com, not old.reddit.com. You may want to go to old.reddit.com as an alternative viewing experience. old.reddit.com also doesn't have a redirect issue, and you can permanently enable it in the settings for your account. Therefore, pages under old.reddit.com are untouched by this script.

If you have any questions or feedback about the script, feel free to ask.