Initial commit

This commit is contained in:
Sebastian Cabrera 2024-07-09 06:09:22 -04:00
commit 212798a98a
No known key found for this signature in database
GPG key ID: 9C70960A46161D08

16
script.js Normal file
View file

@ -0,0 +1,16 @@
// ==UserScript==
// @name Use old new Reddit
// @namespace http://tampermonkey.net/
// @version 1.1
// @description forward the ugly new reddit to the older new reddit
// @author You
// @match https://*.reddit.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=reddit.com
// @grant none
// ==/UserScript==
(function() {
'use strict';
if (window.location.href.includes == 'www.reddit.com' && !window.location.href.includes('/media')) window.location.host = 'new.reddit.com';
})();