1.6 - this never even worked, hopefully it does now
This commit is contained in:
parent
b0627dda7d
commit
7e675e32c0
1 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
|||
// ==UserScript==
|
||||
// @name Use old new Reddit
|
||||
// @namespace https://codeberg.org/okseby/newnewredditsucks
|
||||
// @version 1.5
|
||||
// @version 1.6
|
||||
// @description forward the ugly new reddit to the older new reddit
|
||||
// @author okseby
|
||||
// @match https://*.reddit.com/*
|
||||
|
@ -14,7 +14,7 @@
|
|||
(function () {
|
||||
'use strict';
|
||||
|
||||
if (window.location.href.includes == 'www.reddit.com' && !window.location.href.includes('/media')) {
|
||||
window.location.host = 'new.reddit.com';
|
||||
if (window.location.hostname == 'www.reddit.com' && !window.location.hostname.includes('/media')) {
|
||||
window.location.hostname = 'new.reddit.com';
|
||||
}
|
||||
})();
|
Loading…
Add table
Add a link
Reference in a new issue