Greasy Fork is available in English.

Redirect Reddit www to old

Redirects from www.reddit.com to corresponding old.reddit.com page

ئاپتورى
FRex
بۈگۈن قاچىلانغىنى
0
جەمئىي قاچىلانغىنى
118
باھا نومۇرى
0 0 0
نەشرى
0.0.5
قۇرۇلغان ۋاقتى
2022-09-22
يېڭىلانغان ۋاقتى
2023-08-08
ئىجازەتنامىسى
MIT
قوللايدىغىنى

Simple script to redirect from www. subdomain to old. subdomain of reddit.com, to not use the modern/redesigned view.

For example, going to https://www.reddit.com/r/cpp/ will end up in redirect to https://old.reddit.com/r/cpp/

When redirecting it will also cover the original site with a grey screen with text 'Redirecting to old.reddit.com' (see screenshot). In case you have a slow connection this will prevent you from interacting with the old page by mistake and wasting progress once the redirect comes though.

NOTE 1: it will still leave the original www. containing entry in your history. Comment if this is a problem.
NOTE 2: it will also work in case of entering URL without www in front of reddit.com, since Reddit itself redirects to www.reddit.com in that case.
NOTE 3: in case of galleries and polls it won't do anything, since on old Reddit they result in "page does not exist" erorr.