Created
July 30, 2026 17:13
-
-
Save jaredhowland/98bac43c3ba5d0dd1d61b4747615a007 to your computer and use it in GitHub Desktop.
Redirect Reddit Links
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==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