Org-mode Firefox bookmarks

Org-mode Firefox bookmarks

May 30, 2020
emacs, orgmode, firefox

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=" +

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


Links to this note