[oni-browse-url] Add redirect for instagram
This commit is contained in:
parent
d513eb84c4
commit
9a979dac06
1 changed files with 4 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
|||
|
||||
;; Author: Tom Willemse <tom@ryuslash.org>
|
||||
;; Keywords: local
|
||||
;; Version: 2022.0212.230306
|
||||
;; Version: 2022.0220.005733
|
||||
|
||||
;; This program is free software; you can redistribute it and/or modify
|
||||
;; it under the terms of the GNU General Public License as published by
|
||||
|
@ -68,6 +68,9 @@ before this filter."
|
|||
((string-prefix-p "https://youtu.be" (car args))
|
||||
(cons (string-replace "https://youtu.be/" "https://yewtu.be/watch?v=" (car args))
|
||||
(cdr args)))
|
||||
((string-prefix-p "https://www.instagram.com" (car args))
|
||||
(cons (string-replace "https://www.instagram.com" "https://bibliogram.1d4.us/u" (car args))
|
||||
(cdr args)))
|
||||
(t args)))
|
||||
|
||||
(setq browse-url-browser-function
|
||||
|
|
Loading…
Reference in a new issue