Global

Members

button

The toggle button, clicking which shows the addon UI and emits the "show" event for the addon code to intercept. Clicking again will hide the UI and emit the "hide" event for the addon code.

Source:

panel

The addon panel, which hosts the UI of the addon. The addon logic is encompassed in the "contentScriptFiles" which are known to this panel.

Source:

Workhorse

A namespace for "workhorse" function, which implement the algorithm.

Source:

Methods

finalize(doneData) → {undefined}

A function to "finalize" the algorithm. The finalization is implemented in the main module itself, and this routine merely emits the "done" event with the payload for the main module to intercept.

Parameters:
Name Type Description
doneData object The payload to be delivered to the main module.
Source:
Returns:
Type
undefined

handleChange() → {undefined}

Event handler for changing the state of the ToggleButton

Source:
Returns:
Type
undefined

handleHide() → {undefined}

Event handler for the "hide" event. It hides the addon panel.

Source:
Returns:
Type
undefined

onGenerateSaltKey() → {undefined}

Event listener for the "Generate Key" button in the Options UI. It calls out to the 'Workhorse' to do the actual generation, but IFF the "editSaltKey" radio button is switched "On" (to prevent accidental resets of the key).

Source:
Returns:
Type
undefined

Type Definitions

bitArray

An SJCL bitArray representing a hash.

Source:
See: