Namespace: DOM

DOM

Namespaces

listeners
A namespace for event listeners for DOM elements.
togglers
A namespace for functions to "toggle" certain UI elements.

Methods

(static) configure(options, params) → {undefined}

Function to configure all the elements of the DOM for the url in question. This is the "entry" point to the algorithm, which sets the stage for generating the "pseudo" password, as well as for returning the payload to the main routine.

Parameters:
Name Type Description
options object General options to the algorithm, independent of the url.
params object Parameters specific to the url. It is expected to have the following properties:
Properties:
Name Type Description
params.url string The site url,
params.defaultIterations int The default number of PBKDF2 iterations,
params.saltKey string The saved key for generating the salt from the domain name,
params.encodedAttributesList string The saved attributes list for all sites.
Source:
Returns:
Type
undefined

(static) deconfigure() → {undefined}

Function to "deconfigure" the DOM so that it is ready for a new set of inputs.

Source:
Returns:
Type
undefined