Simplest possible app to convert a selection into an annotation
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


This is a reference implementation of the following pattern:

  1. Given a selection in a page, form the selectors needed to post an annotation that targets the selection.
  2. Lead a user through an interaction that influences the content of that annotation.
  3. Post the annotation.

This example runs from a bookmarklet.

You can "install" it by dragging the HelloWorldAnnotated link from to your browser's bookmarks bar, or editing an existing bookmark and inserting this text in the URL field:

javascript:(function(){var d=document; var s=d.createElement('script');s.setAttribute('src','');d.head.appendChild(s)})();"


Blog post: