From 6dd3ffd96a544fa93c609b6d79e2af465043fff1 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Fri, 4 Oct 2019 16:12:56 +0200 Subject: [PATCH] [ADD][TRIDACTYL] Redirect Reddit to old version I hate the Reddit redesign, but I'm usually not logged in on my computer so the redirection did not take effect. --- tridactyl/.config/tridactyl/tridactylrc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tridactyl/.config/tridactyl/tridactylrc b/tridactyl/.config/tridactyl/tridactylrc index 03c9dee..675d111 100644 --- a/tridactyl/.config/tridactyl/tridactylrc +++ b/tridactyl/.config/tridactyl/tridactylrc @@ -46,5 +46,12 @@ command hint_focus hint -; " Open right click menu on links bind ;C composite hint_focus; !s xdotool key Menu +" +" URL Redirects +" + +" Always redirect Reddit to the old site +autocmd DocStart ^http(s?)://www.reddit.com js tri.excmds.urlmodify("-t", "www", "old") + " This will have to do until someone writes us a nice syntax file :) " vim: set filetype=vim: