Tampermonkey redirect script
Tampermonkey redirect script
I don't know if anyone here uses [Tamper|Grease]monkey, but I asked my LLM to come up with a redirect from Xitter and it gave me this gem:
// ==UserScript== // @name Redirect x.com to xcancel.com // @namespace http://tampermonkey.net/ // @version 0.1 // @description try to take over the world! // @author You // @match https://x.com/* // @grant none // ==/UserScript== (function() { 'use strict'; var url = window.location.href; url = url.replace("https://x.com/", "https://xcancel.com/"); window.location.replace(url); })();
Works like a charm.