From 4535cf2af06023c6cf699bca973f88e99b25be74 Mon Sep 17 00:00:00 2001 From: Manuel Zimmermann Date: Mon, 22 Jan 2024 22:57:35 +0100 Subject: [PATCH] emacs: remove obsolete Reddit frontends Reddit changed the terms of its APIs which essentially killed all third-party clients. As a result Libreddit cannot be used anymore. [0] This is very unfortunate since Libreddit was working quite well in EWW. Now I'm using old.reddit.com which is still better than the regular Reddit website but still pretty bad in comparison to Libreddit. [0]: https://github.com/libreddit/libreddit/issues/840 --- .config/emacs/lisp/init-eww.el | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.config/emacs/lisp/init-eww.el b/.config/emacs/lisp/init-eww.el index ab2a58e..a93cddf 100644 --- a/.config/emacs/lisp/init-eww.el +++ b/.config/emacs/lisp/init-eww.el @@ -11,10 +11,8 @@ (setq eww-search-prefix "https://www.google.com/search?q=") ;; use lightweight frontends which EWW can render better -(setq mz/url-replace-host-map '(("reddit.com" . "libreddit.de") - ("old.reddit.com" . "libreddit.de") - ("www.reddit.com" . "libreddit.de") - ("teddit.net" . "libreddit.de"))) +(setq mz/url-replace-host-map '(("reddit.com" . "old.reddit.com") + ("www.reddit.com" . "old.reddit.com"))) (defun mz/url-replace-host (url) "Replace host of URL according to `mz/url-replace-host-map'."