Reddit - Old School

Allows for easy navigation through a sub by pressing the left/right arrow keys, amongst other useful experience improvements. (Only works for old.reddit.com, so this script automatically redirects you there.)

< Feedback on Reddit - Old School

Question/comment

§
Posted: 2019-12-15

Endless Reload-Loop

In version 1.3, when visiting https://te.reddit.com/r/explainlikeimfive/new/, there's an endless page-reload-loop bug.

Can be fixed by changing around the if immediately after // Entry Point:

// Entry Point
let url = window.location.href;
if (url.includes("www.reddit.com")) {
  redditRedirectToOld();
} else {
  if (url.includes("/comments/")) {
    redditScrollToComments();    
  } else {
    redditScrollToPost();
  }
}
SelbiAuthor
§
Posted: 2020-04-26

Whoa, I honestly didn't notice this until now. Sorry for the super late response, I barely check this site.

Anyway, fixed in 1.4, along with a whole bunch of other improvements. I didn't know there were any subdomains besides old and www, so I made a catch-all case, just in case there are even more subdomains I don't know about.

Post reply

Sign in to post a reply.