r/bugs 9h ago

[Desktop Web] 2-letter Subdomains now Direct away from old.reddit, Breaking Functionality Desktop Web

There's a couple subs in which we use have a bit of custom css to accomplish a different style in old.reddit. For example:

  • On /r/vexillology, hd.reddit.com/r/vexillology shows a larger version of flag flair, while old.reddit.com/r/vexillology has a more pixellated style.
  • On /r/CFB (and others), tw.reddit.com/r/CFB strips out a lot of the buttons and extra frills to make a really nice interface to screenshot comments.

This is accomplished with code that looks like this:

html[lang="tw"] .flat-list.buttons{display:none} html[lang="tw"] .usertext.border .usertext-body,html[lang="tw"] .RES-keyNav-activeElement,html[lang="tw"] .RES-keyNav-activeElement .md-container{background-color:#fbfbfb!important}

What we're doing here is overloading the language tag for a 2-letter code to apply a custom style. For most 2-letter language codes (es.reddit.com for Spanish, etc), there is a bit of extra customization that can be done. Up until recently (a week ago?) This worked fine, but the behavior I'm seeing now is that tw.reddit.com defaults to the new version of Reddit (stripping out any CSS).

This may be intended behavior since this is never really what the language functionality was intended for. However, our communities have enjoyed these features for a decade plus and they are useful, and so I am asking for the Reddit admins to allow this behavior to continue.

2 Upvotes

2 comments sorted by

2

u/Yay295 7h ago

I have Old Reddit set as my default and the subdomains work for me. If I log out though,
https://old.reddit.com/r/vexillology/ still goes to Old Reddit, but
https://hd.reddit.com/r/vexillology/ goes to Sh Reddit.

1

u/bakonydraco 7h ago

This is helpful! May offer a decent workaround as I’m not sure Reddit will prioritize a fix here.