neocotic/template — Issue #48: Add default template feature
Author: neocotic
Created: 2011-11-08 12:50:22+00:00
State: open
Labels: background, html, javascript, language, option, options, popup, presentation, template

I've had this idea for a while and the concept is simple so I want to add it for the big release.

An additional option is assigned to each template option to indicate whether or not they are the default. 0 or 1 default template can exist at any time. If a default template exists then the popup doesn't display and the browser action instead triggers that template. This logic should also apply to the context menu, if enabled.

Also, when a default template exists a message should be displayed on the options page explaining what affect this has.

Finally, the keyboard shortcuts of **all** enabled templates should **always** be considered.

### Optional
Additional options could be added to allow the user to display the icon and/or text in the browser action and context menu to either the default template or that of the extension. Obviously, these settings should **only** be considered when a default template exists.