Add Reddit - Old layout

This commit is contained in:
Fierelier 2020-11-21 00:01:06 +01:00
parent 052a658932
commit 256a6ca3b4
1 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,13 @@
// ==UserScript==
// @name Reddit - Old layout
// @namespace reddit-old
// @description Always replace reddit.com pages with their old.reddit.com counterpart
// @include http://www.reddit.com/*
// @include https://www.reddit.com/*
// @version 1.0
// @grant none
// @run-at document-start
// ==/UserScript==
window.stop()
window.location.href = window.location.href.replace("www.reddit.com","old.reddit.com")