Twitter → Nitter

One of my User Scripts.

Many of the information hubs (YouTube, Reddit, Twitter, etc.) have fairly hostile user interfaces. This script simply redirects Twitter pages to Nitter. I prefer Nitter because it works without JavaScript!

// ==UserScript==
// @name               Twitter to Nitter
// @namespace          https://rpdillon.net
// @description        Prefer alternative frontend for Twitter
// @include            *://twitter.com/*
// @include            *://mobile.twitter.com/*
// @version            0.1
// @run-at             document-start
// @author             rpdillon
// @grant              none
// ==/UserScript==

window.location.replace("https://nitter.net" +
                        window.location.pathname);