1.3 - just to test updates
This commit is contained in:
parent
64cb5575ca
commit
46078fa6d1
1 changed files with 5 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name Use old new Reddit
|
// @name Use old new Reddit
|
||||||
// @namespace https://codeberg.org/okseby/newnewredditsucks
|
// @namespace https://codeberg.org/okseby/newnewredditsucks
|
||||||
// @version 1.2
|
// @version 1.3
|
||||||
// @description forward the ugly new reddit to the older new reddit
|
// @description forward the ugly new reddit to the older new reddit
|
||||||
// @author okseby
|
// @author okseby
|
||||||
// @match https://*.reddit.com/*
|
// @match https://*.reddit.com/*
|
||||||
|
@ -14,5 +14,7 @@
|
||||||
(function () {
|
(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
if (window.location.href.includes == 'www.reddit.com' && !window.location.href.includes('/media')) window.location.host = 'new.reddit.com';
|
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