Org-mode Firefox bookmarks

Org-mode Firefox bookmarks

May 30, 2020 | emacs, orgmode, firefox

tags
Org-mode Emacs

Add the following scripts to call org-capture from Firefox

Call capture template #

The following calls capture template key n

javascript:location.href='org-protocol://capture?template=n'+'&url='+encodeURIComponent(window.location.href)+'&title='+encodeURIComponent(document.title)+'&body='+encodeURIComponent(window.getSelection());

Without a capture template #

If unspecified, the template key is set in the variable org-protocol-default-template-key. The following template placeholders are available:

%:link          The URL
%:description   The webpage title
%:annotation    Equivalent to [[%:link][%:description]]
%i              The selected text

See: https:orgmode.org/manual/The-capture-protocol.html#The-capture-protocol


Links to this note

Go to random page