about summary refs log tree commit diff stats
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/+browse-url.el11
1 files changed, 11 insertions, 0 deletions
diff --git a/lisp/+browse-url.el b/lisp/+browse-url.el index d073d50..83f43cf 100644 --- a/lisp/+browse-url.el +++ b/lisp/+browse-url.el
@@ -63,6 +63,17 @@ named NAME, defaulting to \"+browse-url-with-VIEWER\", and the variable
63 "Image URL: " 63 "Image URL: "
64 :name "+browse-image-with-mpv") 64 :name "+browse-image-with-mpv")
65 65
66;;; Easily add extra domains to open in `browse-url-secondary-browser-function'
67;; I like to open most websites in eww, but a lot of website on the modern web
68;; just make that hard to do. Right now I have a list in `browse-url-handlers'
69;; with domains in an (rx (or ...)) form, but that's not super easy to config.
70;; With this custom setting, I'm making it a list that'll be way easier to
71;; customize.
72
73(defcustom +browse-url-secondary-browser-regexps nil
74 "List of URL regexps to open with `browse-url-secondary-browser-function'."
75 :type '(repeat regexp))
76
66;;; URL Transformation Functions 77;;; URL Transformation Functions
67;; There's a lot of bad websites out there. Luckily we can easily redirect 78;; There's a lot of bad websites out there. Luckily we can easily redirect
68;; requests to more privacy-respecting, or just less javascript-ridden, sites 79;; requests to more privacy-respecting, or just less javascript-ridden, sites