Initial commit
This commit is contained in:
commit
212798a98a
1 changed files with 16 additions and 0 deletions
16
script.js
Normal file
16
script.js
Normal 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';
|
||||||
|
})();
|
Loading…
Add table
Add a link
Reference in a new issue