Settings

Theme

Next browser 1.3.2: Hooks, file manager and clipboard ring

next.atlas.engineer

3 points by Ambrevar 6 years ago · 1 comment

Reader

vindarel 6 years ago

Hooks are really something !

Here's a productivity boost:

    (defun no-facebook-hook (url)
    "Always redirect to Diaspora."
    (let ((uri (quri:uri url)))
        (if (search "facebook.com" (quri:uri-host uri))
            (progn
              (setf (quri:uri-host uri) "pod.geraspora.de")
              (let ((new-url (quri:render-uri uri)))
                (log:info "You shall not go to Facebook!" new-url)
                new-url))
            url)))
    (add-to-default-list #'no-facebook-hook 'buffer 'load-hook)

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection