Since Greasemonkey is no longer being updated and /kbinStyles has been thriving, with people creating a lot of userscript for added functionality, I thought I should introduce Violentmonkey here. It is a really good opensource alternative for Tampermonkey and works well.
Supported browsers: Firefox, Chrome, Edge, Opera
You can check it out here: https://violentmonkey.github.io/
One of the things I used violentmonkey for was to redirect any reddit url to the old reddit.
Example
// ==UserScript== // @name Old reddit redirect // @namespace Violentmonkey Scripts // @match https://www.reddit.com/* // @grant none // @version 1.0 // @author - // @description 10/8/2022, 8:20:18 PM // ==/UserScript== var str = window.location.href; window.location.replace(str.replace("www.reddit.com", "old.reddit.com"));
If you use any google service, take a look at Google Shut Up!
I wrote my first script to redirect Reddit to libreddit https://kbin.social/m/RedditMigration/t/104795/Reddit-to-Teddit-Libreddit-Redirect-Userscripts