// ==UserScript== // @name Userstyles.org Redirect to USOArchive // @namespace Freeplay // @version 1.0.1 // @description Redirects userstyle.org userstyle pages to USOArchive instead // @author Freeplay (https://freeplay.codeberg.page/) // @match *userstyles.org/styles/* // @grant none // @run-at document-start // @downloadURL none // ==/UserScript== (function() { 'use strict'; const styleID = window.location.pathname.split('/')[2]; document.location.href = "https://33kk.github.io/uso-archive/?style=" + styleID; })();