fix name for user script install trigger
This commit is contained in:
parent
9b9898d2f0
commit
64cb5575ca
1 changed files with 0 additions and 0 deletions
18
newnewredditsucks.user.js
Normal file
18
newnewredditsucks.user.js
Normal file
|
@ -0,0 +1,18 @@
|
|||
// ==UserScript==
|
||||
// @name Use old new Reddit
|
||||
// @namespace https://codeberg.org/okseby/newnewredditsucks
|
||||
// @version 1.2
|
||||
// @description forward the ugly new reddit to the older new reddit
|
||||
// @author okseby
|
||||
// @match https://*.reddit.com/*
|
||||
// @icon https://www.google.com/s2/favicons?sz=64&domain=reddit.com
|
||||
// @grant none
|
||||
// @updateURL https://codeberg.org/okseby/newnewredditsucks/raw/branch/main/script.js
|
||||
// @downloadURL https://codeberg.org/okseby/newnewredditsucks/raw/branch/main/script.js
|
||||
// ==/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