Old new reddit redirect

Gets rid of Reddit's new December 2023 layout.

Автор
nitro2k01
Установок в день
0
Всего установок
1 085
Оценки
3 1 2
Версия
1.2
Создан
20.12.2023
Обновлён
22.12.2023
Лицензия
MIT
Работает на

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.