Skip to content

Instantly share code, notes, and snippets.

@jaredhowland
Created July 30, 2026 17:13
Show Gist options
  • Select an option

  • Save jaredhowland/98bac43c3ba5d0dd1d61b4747615a007 to your computer and use it in GitHub Desktop.

Select an option

Save jaredhowland/98bac43c3ba5d0dd1d61b4747615a007 to your computer and use it in GitHub Desktop.
Redirect Reddit Links
// ==UserScript==
// @name Reddit Redirect
// @namespace http://tampermonkey.net/
// @version 1.0
// @description Redirects all reddit links to alternate interface
// @author Jared Howland
// @match *://*.reddit.com/*
// @grant none
// @run-at document-start
// ==/UserScript==
(function() {
'use strict';
const newUrl = window.location.href.replace(/reddit\.com/, 'reddit.jaredhowland.com');
if (newUrl !== window.location.href) {
window.location.replace(newUrl);
}
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment