aboutsummaryrefslogtreecommitdiff
path: root/misc/reddit-redirect-to-old-reddit.js
diff options
context:
space:
mode:
authorTim Keller <tjkeller.xyz>2024-11-17 22:36:53 -0600
committerTim Keller <tjkeller.xyz>2024-11-17 22:36:53 -0600
commit6bb49cc16cbf03d4e0980c2343372ff20d0a4b55 (patch)
tree38b659a6081e639cce5bd4503886370a75c5c770 /misc/reddit-redirect-to-old-reddit.js
parentd7484069764fe74654fe5e7721919462bc1286d2 (diff)
downloaduserscripts-6bb49cc16cbf03d4e0980c2343372ff20d0a4b55.tar.xz
userscripts-6bb49cc16cbf03d4e0980c2343372ff20d0a4b55.zip
rename all scripts to have .user.js ext
Diffstat (limited to 'misc/reddit-redirect-to-old-reddit.js')
-rw-r--r--misc/reddit-redirect-to-old-reddit.js17
1 files changed, 0 insertions, 17 deletions
diff --git a/misc/reddit-redirect-to-old-reddit.js b/misc/reddit-redirect-to-old-reddit.js
deleted file mode 100644
index 3f645dc..0000000
--- a/misc/reddit-redirect-to-old-reddit.js
+++ /dev/null
@@ -1,17 +0,0 @@
-// ==UserScript==
-// @name Redirect to old.reddit.com
-// @namespace Violentmonkey Scripts
-// @match http*://*.reddit.com/*
-// @exclude /^https?://[a-z]{2}\.reddit\.com/*
-// @exclude *out.reddit.com/*
-// @exclude *://*.reddit.com/gallery/*
-// @exclude *://*.reddit.com/media*
-// @run-at document-start
-// @grant none
-// @version 1.0
-// @author tjkeller.xyz
-// @description 9/11/2024, 9:40:39 AM
-// ==/UserScript==
-
-if (!location.hostname.startsWith("old"))
- location.hostname = "old.reddit.com"