101743 / Old Reddit

// ==UserScript==
// @name         Old Reddit
// @description  Force old.reddit.com regardless of signed-in status
// @author       /u/101743
// @version      1.0.4
// @match        http://*.reddit.com/*
// @match        https://*.reddit.com/*
// @license      GPL-2.0-or-later
// @updateURL    https://openuserjs.org/meta/101743/Old_Reddit.meta.js
// @icon         https://image.ibb.co/jaCbRp/icons8_reddit_52.png
// @run-at       document-start
// ==/UserScript==

var url = window.location.href;

if (url.match("old.reddit.com") === null && !url.match("/poll/") && !url.match("/media\\?url=") && !url.match("/login/")) {
  url = window.location.href;
  if (url.match("//www.reddit") !== null) {
    url = url.replace("//www.reddit", "//old.reddit");
  }
  else {
    return;
  }
  //console.log(url);
  window.location.replace(url);
}