Lots of stuff

This commit is contained in:
2025-06-30 17:25:00 -07:00
parent ce9ce4e872
commit 8136bf91a0
5 changed files with 29 additions and 2 deletions
+4 -1
View File
@@ -266,9 +266,12 @@
(set-popup-rule! "^\\*osm\\*" :ignore t))
;; eww
;; extra frontends to use:
;; https://eddrit.com
;; https://eu.safereddit.com
(defun opal/eww-reddit-redirect (url)
"Redirect reddit.com (with or without www) to a privacy frontend."
(replace-regexp-in-string "^https://\\(www\\.\\)?reddit\\.com" "https://eddrit.com" url))
(replace-regexp-in-string "^https://\\(www\\.\\)?reddit\\.com" "https://eu.safereddit.com" url))
(defun opal/eww-x-redirect (url)
"Redirect x.com (with or without www) to a privacy frontend."