Old Reddit Redirector

Redirects to old.reddit.com instead of neo reddit (C) TheNH813 2018. License WTFPLV2

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name        Old Reddit Redirector
// @description	Redirects to old.reddit.com instead of neo reddit (C) TheNH813 2018. License WTFPLV2
// @version		1.0
// @match       *://*.reddit.com/*
// @run-at      document-start
// @grant       none
// Original script by /u/TheNH713 https://old.reddit.com/r/userscripts/comments/8v0amu/autoredirect_good_ol_reddit_oldredditcom/
// @namespace https://greatest.deepsurf.us/users/29660
// ==/UserScript==

if ( window.location.host != "old.reddit.com" ) {
    var oldReddit  = window.location.protocol + "//" + "old.reddit.com" + window.location.pathname + window.location.search + window.location.hash;
    window.location.replace (oldReddit);
}