next: Force blocker mode on imdb.com.

master
Pierre Neidhardt 2019-09-10 17:15:32 +02:00
parent 7a4fcaa423
commit 55bb07cbfe
1 changed files with 6 additions and 0 deletions

View File

@ -15,6 +15,12 @@
url)))
(add-to-default-list #'old-reddit-hook 'buffer 'load-hook)
(defun blocker-hook (url)
(match (quri:uri-host (quri:uri url))
("www.imdb.com" (next/blocker-mode:blocker-mode :activate t)))
url)
(add-to-default-list #'blocker-hook 'buffer 'load-hook)
(setf (get-default 'remote-interface 'download-directory)
"~/temp")