Description

Options page script. This script loads user preferences then handles any changes to those preferences.

Details

Members


<static> saveButton

Description

Get save button DOM element

Returns
Details

<static> blockInput

Description

Get block keywords input DOM element

Returns
Details

<static> confirmInput

Description

Get "confirm blocks" checkbox DOM element

Returns
Details

<static> isIntro

Description

Check if user has just installed.

Returns
Details

Methods


<static> resetButtonText()

Description

Reset save button text

Details

<static> toggleConfirm( e )

Description

Toggle checkbox on enter click

Parameters
Name Type Description
e
Details

<static> saveSettings()

Description

Update user preferences

Details

<static> loadSettings()

Description

Load user preferences and populate inputs

Details

<static> loadIntro()

Description

Generate an intro message to new user. When showing intro, hide the "other" distractions around the screen.

Details