From 256a6ca3b496cafe94ca54d987ebf693da787850 Mon Sep 17 00:00:00 2001 From: Fierelier Date: Sat, 21 Nov 2020 00:01:06 +0100 Subject: [PATCH] Add Reddit - Old layout --- Reddit - Old layout.user.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Reddit - Old layout.user.js diff --git a/Reddit - Old layout.user.js b/Reddit - Old layout.user.js new file mode 100644 index 0000000..8794b82 --- /dev/null +++ b/Reddit - Old layout.user.js @@ -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")