Skip to content

Instantly share code, notes, and snippets.

@T1T4N
Last active October 11, 2022 13:07
Show Gist options
  • Save T1T4N/2ab0c8528f943eabcb28d3ac5b1c09be to your computer and use it in GitHub Desktop.
Save T1T4N/2ab0c8528f943eabcb28d3ac5b1c09be to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name Redirect to teddit
// @description Automatically redirect from Reddit to Teddit
// @match https://old.reddit.com/*
// @match https://www.reddit.com/*
// @match https://reddit.com/*
// @grant none
// @run-at document-start
// ==/UserScript==
(function () {
'use strict';
const instance = 'teddit.net'
location.hostname = `${instance}`;
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment