title: Can add ons interact with the Compose window?
body: <p>Can an add-on activate when the user is composing a message? If so, can you point me to an example?</p>
  
  <p>Context: I would like to detect when the user has attached a file and replace it with a link instead.</p>