A | |
add | |
addListener, webpg. | |
addResultsFrame, webpg. | |
addResultsReplacementFrame, webpg. | |
addSendOptionBtn, webpg. | |
B | |
buildKeylist, webpg. | |
buildKeylistProxy, webpg. | |
C | |
checkRecipients, webpg. | |
clean, webpg. | |
clear | |
copyToClipboard, webpg. | |
createSignatureBox, webpg. | |
D | |
detectedBrowser, webpg. | |
displayStatusLine, webpg. | |
doResize, webpg. | |
E | |
emulateMouseClick, 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. | |
init | |
isValidEmailAddress, webpg. | |
L | |
length, webpg. | |
listenerUnload, webpg. | |
O | |
onContextCommand, webpg. | |
openNewTab, webpg. | |
overrideSave, webpg. | |
overrideSend, webpg. | |
P | |
parseUrl, webpg. | |
PGPBlockParse, webpg. | |
PGPDataSearch, webpg. | |
R | |
refreshText, webpg. | |
remove, webpg. | |
removeAll, webpg. | |
removeStatusLine, webpg. | |
resourcePath, webpg. | |
S | |
sendRequest | |
set | |
setContents, webpg. | |
setup, 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()
Returns an object containing the many various elements of a URL
parseUrl: function( url )
Parses range contents and sends the appropriate request for the PGP blocks discovered.
PGPBlockParse: function( range, node, blockType )
Searches the document for elements that contain PGP Data blocks.
PGPDataSearch: function( doc )
Refresh the button text and style to reflect the present state
refreshText: function( e )
Provides method to remove the key from the preference item
remove: function( keyid )
Removes the status message line from the gmail UI
removeStatusLine: function()
Determines the base path for extension resources.
resourcePath: function()
Sends a request event to the background page or content script
sendRequest: function( data, callback, doc )
Provides method to set the preference item
set: function( value )
Provides method to set the preference item
set: function( keyid )
Provides method to set the preference item
set: function( value )
Provides method to set the preference item
set: function( value )
Provides method to set the preference item
set: function( value )
Provides method to set the preference item
set: function( value )
Provides method to set the preference item
set: function( value )
Sets the contents of the gmail UI message editor
setContents: function( editor, message )
Sets up the required observers and creates instances to reusable objects
setup: function( navDiv )