A | |
add | |
addListener, webpg. | |
addResultsFrame, webpg. | |
addResultsReplacementFrame, webpg. | |
addSendOptionBtn, webpg. | |
algoTypes-Types of key algorithms, webpg. | |
B | |
boolean, webpg. | |
buildKeylist, webpg. | |
buildKeylistProxy, webpg. | |
C | |
checkRecipients, webpg. | |
clean, webpg. | |
clear | |
Constants, webpg. | |
copyToClipboard, webpg. | |
createSignatureBox, webpg. | |
CRYPT, webpg. | |
CRYPTSIGN, webpg. | |
D | |
DECRYPT, webpg. | |
detectedBrowser, webpg. | |
displayStatusLine, webpg. | |
doResize, webpg. | |
DSA, webpg. | |
E | |
ELG-E, webpg. | |
emulateMouseClick, webpg. | |
EXPORT, webpg. | |
F | |
ff_prefTypes-Mozilla preference value type, webpg. | |
Functions webpg. | |
G | |
get | |
getCanvasFrame, webpg. | |
getContents, webpg. | |
getFrameById, webpg. | |
getParameterByName, webpg. | |
getRecipients, webpg. | |
getSelectedText, webpg. | |
gmailChanges, webpg. | |
H | |
handleFailure, webpg. | |
has, webpg. | |
I | |
ignoreInners, webpg. | |
IMPORT, webpg. | |
init | |
isValidEmailAddress, webpg. | |
L | |
length, webpg. | |
listenerUnload, webpg. | |
M | |
MANAGER, webpg. | |
N | |
number, webpg. | |
O | |
onContextCommand, webpg. | |
openNewTab, webpg. | |
OPTS, webpg. | |
overlayActions-Actions available to the overlay, webpg. | |
overrideSave, webpg. | |
overrideSend, webpg. |
Provides method to add the preference item
add: function( keyid )
Creates the results container(s) and iframe for the inline formatting
addResultsFrame: function( node, range )
Creates a results iframe that replaces the element that contained the original PGP data
addResultsReplacementFrame: function( element )
Creates the WebPG actions menu and adds it to the gmail UI
addSendOptionBtn: function( navDiv )
Generates the formatted, interactive keylist and populates the DOM.
buildKeylist: function( keyList, type, openKey, openSubkey, openUID )
Calls the buildKeyList method if the desired keylist is not already built (unless forced), after setting the wait dialog
buildKeylistProxy: function( keyList, type, openKey, openSubkey, openUID, changedTab )
Checks the keyring for the required keys when performing GnuPG methods that require them
checkRecipients: function( callback )
Strips out or replaces extra HTML markup added by the editor
clean: function( text )
Provides method to clear the preference item (erase/unset)
clear: function()
Provides method to clear the preference item (erase/unset)
clear: function()
Provides method to clear the preference item (erase/unset)
clear: function()
Provides a unified method to put data into the clipboard
copyToClipboard: function( win, doc )
Creates an HTML element with information concerning a signature
createSignatureBox: function( sigObj, sigIdx )
Adds a status message line to the gmail UI to display information
displayStatusLine: function( message )
Resizes the parent iframe by sending a request to the listener of the webpg.background object
doResize: function( scrollTop )
Creates an synthetic mouseclick event for activating the standard gmail UI buttons
emulateMouseClick: function( button )
Provides methods to get the preference item
get: function()
Provides method to get the preference item
get: function()
Provides method to get the preference item
get: function()
Provides method to get the preference item
get: function()
Provides methods to get the preference item
get: function()
Provides methods to get the preference item
get: function()
Provides method to get the preference item
get: function()
Provides methods to get the preference item
get: function()
Retrieves the gmail UI message editor iframe
getCanvasFrame: function()
Retrieves the contents of the gmail UI message editor
getContents: function( editor )
Iterates through the windows to find a frame matching the given ID
getFrameById: function( id )
Searches the location.search query string for a named parameter
getParameterByName: function( parameterName )
Retrieves the recipients in the TO, CC and BCC fields
getRecipients: function()
Gets the selected text for the various types of selections; returns a JSON Object.
getSelectedText: function()
Called when the DOM changes.
function gmailChanges( e )
Determines the details of a GnuPG operation failure and adds status message to the UI
handleFailure: function( result, recipKeys )
Determines if keyid is contained in the preference item
has: function( keyid )
Avoids detection of PGP blocks found inside of other PGP blocks.
ignoreInners: function( idx, end, node )
Sets up the NPAPI plugin and initializes WebPG
init: function()
Sets up the context and calls the PGPDataSearch method to find PGP data in the page.
init: function( doc )
Sets up the reference to the webpg.background class and related objects
init: function( browserWindow )
This function is called when a new window is created.
init: function( aEvent )
Ensures the definition of webpg.background is available to the webpg.preferences class
init: function( browserWindow )
Initializes the webpg.utils object and setups up required overrides.
init: function()
Parses a given string to ensure it is a valid email address; Returns true/false
isValidEmailAddress: function( emailAddress )
Returns the length of items stored in preference
length: function()
This function unloads then event listener when the window/tab is closed.
listenerUnload: function( aEvent )
Handles context and menu requests
onContextCommand: function( event, action, sender )
Opens a new tab with the location specified and if possible opens the tab at specified index.
openNewTab: function( url, tabIndex )
Modifies the behavior of the gmail Save button to perform certains tasks when saved
overrideSave: function()
Modifies the behavior of the gmail SEND button to perform certain tasks prior to sending the email
overrideSend: function()