Right now, the Annotator javascript is added to the page in a hook_init() implementation. This means it is loaded on every page, whether it's expected there or not.

I'd like to add some options to the module config form to specify where Annotation should be available:

  • All pages (default, to continue working as it does now)
  • Node pages only
  • Node pages, for specified node types

Any other options to include here?