The selected text and related properties. (Same object as PopClip.input.)
Current values of the options for this extension. (Same object as PopClip.options.)
Information about the context surrounding the selection. (Same object as PopClip.context.)
An action function is called when the user clicks the action button in PopClip. This is where the extension does its main work.