webpg.preferences

Provides unified getter/setter methods for storing the user/global preference items

Summary
webpg.preferencesProvides unified getter/setter methods for storing the user/global preference items
Functions
initEnsures the definition of webpg.background is available to the webpg.preferences class
webpg.preferences.webpg_enabledProvides methods to get/set the “enabled” preference
Functions
getProvides methods to get the preference item
setProvides method to set the preference item
webpg.preferences.decorate_inlineProvides methods to get/set the “decorate_inline” preference
Functions
getProvides methods to get the preference item
setProvides method to set the preference item
webpg.preferences.gmail_integrationProvides methods to get/set the “gmail_integration” preference
Functions
getProvides methods to get the preference item
setProvides method to set the preference item
webpg.preferences.gmail_actionProvides methods to get/set the “gmail_action” preference
Functions
getProvides methods to get the preference item
setProvides method to set the preference item
webpg.preferences.encrypt_to_selfProvides methods to get/set the “encrypt_to_self” preference
Functions
getProvides method to get the preference item
setProvides method to set the preference item
webpg.preferences.gnupghomeProvides methods to get/set the “gnupghome” preference
Functions
getProvides method to get the preference item
setProvides method to set the preference item
clearProvides method to clear the preference item (erase/unset)
webpg.preferences.enabled_keysProvides methods to get/set the “enabled_keys” preference
Functions
getProvides method to get the preference item
addProvides method to add the preference item
removeProvides method to remove the key from the preference item
clearProvides method to clear the preference item (erase/unset)
lengthReturns the length of items stored in preference
hasDetermines if keyid is contained in the preference item
webpg.preferences.default_keyProvides methods to get/set the “default_key” preference
Functions
getProvides method to get the preference item
setProvides method to set the preference item
clearProvides method to clear the preference item (erase/unset)

Functions

init

init: function(browserWindow)

Ensures the definition of webpg.background is available to the webpg.preferences class

webpg.preferences.webpg_enabled

Provides methods to get/set the “enabled” preference

Summary
Functions
getProvides methods to get the preference item
setProvides method to set the preference item

Functions

get

get: function()

Provides methods to get the preference item

set

set: function(value)

Provides method to set the preference item

Parameters

value<bool> The boolean value to set

webpg.preferences.decorate_inline

Provides methods to get/set the “decorate_inline” preference

Summary
Functions
getProvides methods to get the preference item
setProvides method to set the preference item

Functions

get

get: function()

Provides methods to get the preference item

set

set: function(value)

Provides method to set the preference item

Parameters

value<bool> The boolean value to set

webpg.preferences.gmail_integration

Provides methods to get/set the “gmail_integration” preference

Summary
Functions
getProvides methods to get the preference item
setProvides method to set the preference item

Functions

get

get: function()

Provides methods to get the preference item

set

set: function(value)

Provides method to set the preference item

Parameters

value<bool> The boolean value to set

webpg.preferences.gmail_action

Provides methods to get/set the “gmail_action” preference

0: Do not use WebPG by default for gmail messages 1: Encrypt by default for gmail messages 2: Sign by default for gmail messages 3: Sign & Encrypt by default for gmail messages 4: Symmetric Encryption by default for gmail messages

Summary
Functions
getProvides methods to get the preference item
setProvides method to set the preference item

Functions

get

get: function()

Provides methods to get the preference item

set

set: function(value)

Provides method to set the preference item

Parameters

value<bool> The boolean value to set

webpg.preferences.encrypt_to_self

Provides methods to get/set the “encrypt_to_self” preference

Summary
Functions
getProvides method to get the preference item
setProvides method to set the preference item

Functions

get

get: function()

Provides method to get the preference item

set

set: function(value)

Provides method to set the preference item

Parameters

value<str> The KeyID to set as the default key

webpg.preferences.gnupghome

Provides methods to get/set the “gnupghome” preference

Summary
Functions
getProvides method to get the preference item
setProvides method to set the preference item
clearProvides method to clear the preference item (erase/unset)

Functions

get

get: function()

Provides method to get the preference item

set

set: function(value)

Provides method to set the preference item

Parameters

value<str> The string value for GNUPGHOME

clear

clear: function()

Provides method to clear the preference item (erase/unset)

webpg.preferences.enabled_keys

Provides methods to get/set the “enabled_keys” preference

Summary
Functions
getProvides method to get the preference item
addProvides method to add the preference item
removeProvides method to remove the key from the preference item
clearProvides method to clear the preference item (erase/unset)
lengthReturns the length of items stored in preference
hasDetermines if keyid is contained in the preference item

Functions

get

get: function()

Provides method to get the preference item

add

add: function(keyid)

Provides method to add the preference item

Parameters

keyid<str> The KeyID to add to the list

remove

remove: function(keyid)

Provides method to remove the key from the preference item

Parameters

keyid<str> The KeyID to remove from the list

clear

clear: function()

Provides method to clear the preference item (erase/unset)

length

length: function()

Returns the length of items stored in preference

has

has: function(keyid)

Determines if keyid is contained in the preference item

Parameters

keyid<str> The KeyID to look for; Returns true/false

webpg.preferences.default_key

Provides methods to get/set the “default_key” preference

Summary
Functions
getProvides method to get the preference item
setProvides method to set the preference item
clearProvides method to clear the preference item (erase/unset)

Functions

get

get: function()

Provides method to get the preference item

set

set: function(keyid)

Provides method to set the preference item

Parameters

keyid<str> The KeyID to add to the preference item

clear

clear: function()

Provides method to clear the preference item (erase/unset)

init: function(browserWindow)
Ensures the definition of webpg.background is available to the webpg.preferences class
get: function()
Provides methods to get the preference item
set: function(value)
Provides method to set the preference item
get: function()
Provides methods to get the preference item
set: function(value)
Provides method to set the preference item
get: function()
Provides methods to get the preference item
set: function(value)
Provides method to set the preference item
get: function()
Provides methods to get the preference item
set: function(value)
Provides method to set the preference item
get: function()
Provides method to get the preference item
set: function(value)
Provides method to set the preference item
get: function()
Provides method to get the preference item
set: function(value)
Provides method to set the preference item
clear: function()
Provides method to clear the preference item (erase/unset)
get: function()
Provides method to get the preference item
add: function(keyid)
Provides method to add the preference item
remove: function(keyid)
Provides method to remove the key from the preference item
clear: function()
Provides method to clear the preference item (erase/unset)
length: function()
Returns the length of items stored in preference
has: function(keyid)
Determines if keyid is contained in the preference item
get: function()
Provides method to get the preference item
set: function(keyid)
Provides method to set the preference item
clear: function()
Provides method to clear the preference item (erase/unset)
Close