Skip to content

Instantly share code, notes, and snippets.

@T1T4N
Last active October 3, 2022 16:07
Show Gist options
  • Save T1T4N/5b4635761abd5e99f1fbaff1a921e186 to your computer and use it in GitHub Desktop.
Save T1T4N/5b4635761abd5e99f1fbaff1a921e186 to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name Redirect to nitter
// @description Automatically redirect from twitter to nitter
// @match https://mobile.twitter.com/*
// @match https://twitter.com/*
// @grant none
// @inject-into content
// @run-at document-start
// ==/UserScript==
(function () {
'use strict';
const instance = 'nitter.net'
location.hostname = `${instance}`;
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment