Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
A
 add
 addListener, webpg.utils._onRequest
 addResultsFrame, webpg.inline
 addResultsReplacementFrame, webpg.inline
 addSendOptionBtn, webpg.gmail
B
 buildKeylist, webpg.keymanager
 buildKeylistProxy, webpg.keymanager
C
 checkRecipients, webpg.gmail
 clean, webpg.gmail
 clear
 copyToClipboard, webpg.utils
 createSignatureBox, webpg.inline_results
D
 detectedBrowser, webpg.utils
 displayStatusLine, webpg.gmail
 doResize, webpg.inline_results
E
 emulateMouseClick, webpg.gmail
G
 get
 getCanvasFrame, webpg.gmail
 getContents, webpg.gmail
 getFrameById, webpg.utils
 getParameterByName, webpg.utils
 getRecipients, webpg.gmail
 getSelectedText, webpg.utils
 gmailChanges, webpg.gmail
H
 handleFailure, webpg.gmail
 has, webpg.preferences.enabled_keys
I
 ignoreInners, webpg.inline
 init
 isValidEmailAddress, webpg.utils
L
 length, webpg.preferences.enabled_keys
 listenerUnload, webpg.overlay
O
 onContextCommand, webpg.overlay
 openNewTab, webpg.utils
 overrideSave, webpg.gmail
 overrideSend, webpg.gmail
P
 parseUrl, webpg.utils
 PGPBlockParse, webpg.inline
 PGPDataSearch, webpg.inline
R
 refreshText, webpg.gmail
 remove, webpg.preferences.enabled_keys
 removeAll, webpg.utils.contextMenus
 removeStatusLine, webpg.gmail
 resourcePath, webpg.utils
S
 sendRequest
 set
 setContents, webpg.gmail
 setup, webpg.gmail
add: function(keyid)
Provides method to add the preference item
Adds items to the context menu
This function creates a listener object for interaction between privileged and non-privileged pages
addResultsFrame: function(node,
range)
Creates the results container(s) and iframe for the inline formatting
addResultsReplacementFrame: function(element)
Creates a results iframe that replaces the element that contained the original PGP data
addSendOptionBtn: function(navDiv)
Creates the WebPG actions menu and adds it to the gmail UI
buildKeylist: function(keyList,
type,
openKey,
openSubkey,
openUID)
Generates the formatted, interactive keylist and populates the DOM.
buildKeylistProxy: function(keyList,
type,
openKey,
openSubkey,
openUID,
changedTab)
Calls the buildKeyList method if the desired keylist is not already built (unless forced), after setting the wait dialog
checkRecipients: function(callback)
Checks the keyring for the required keys when performing GnuPG methods that require them
clean: function(text)
Strips out or replaces extra HTML markup added by the editor
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 method to clear the preference item (erase/unset)
copyToClipboard: function(win,
doc)
Provides a unified method to put data into the clipboard
createSignatureBox: function(sigObj,
sigIdx)
Creates an HTML element with information concerning a signature
Determines current running browser and returns the a string containing the friendly name.
displayStatusLine: function(message)
Adds a status message line to the gmail UI to display information
doResize: function(scrollTop)
Resizes the parent iframe by sending a request to the listener of the webpg.background object
emulateMouseClick: function(button)
Creates an synthetic mouseclick event for activating the standard gmail UI buttons
get: function()
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
getCanvasFrame: function()
Retrieves the gmail UI message editor iframe
getContents: function(editor)
Retrieves the contents of the gmail UI message editor
getFrameById: function(id)
Iterates through the windows to find a frame matching the given ID
getParameterByName: function(parameterName)
Searches the location.search query string for a named parameter
getRecipients: function()
Retrieves the recipients in the TO, CC and BCC fields
getSelectedText: function()
Gets the selected text for the various types of selections; returns a JSON Object.
function gmailChanges(e)
Called when the DOM changes.
handleFailure: function(result,
recipKeys)
Determines the details of a GnuPG operation failure and adds status message to the UI
has: function(keyid)
Determines if keyid is contained in the preference item
ignoreInners: function(idx,
end,
node)
Avoids detection of PGP blocks found inside of other PGP blocks.
init: function()
Sets up the NPAPI plugin and initializes WebPG
init: function(doc)
Sets up the context and calls the PGPDataSearch method to find PGP data in the page.
init: function(browserWindow)
Sets up the reference to the webpg.background class and related objects
init: function(aEvent)
This function is called when a new window is created.
init: function(browserWindow)
Ensures the definition of webpg.background is available to the webpg.preferences class
init: function()
Initializes the webpg.utils object and setups up required overrides.
isValidEmailAddress: function(emailAddress)
Parses a given string to ensure it is a valid email address; Returns true/false
length: function()
Returns the length of items stored in preference
listenerUnload: function(aEvent)
This function unloads then event listener when the window/tab is closed.
onContextCommand: function(event,
action,
sender)
Handles context and menu requests
openNewTab: function(url,
tabIndex)
Opens a new tab with the location specified and if possible opens the tab at specified index.
overrideSave: function()
Modifies the behavior of the gmail Save button to perform certains tasks when saved
overrideSend: function()
Modifies the behavior of the gmail SEND button to perform certain tasks prior to sending the email
parseUrl: function(url)
Returns an object containing the many various elements of a URL
PGPBlockParse: function(range,
node,
blockType)
Parses range contents and sends the appropriate request for the PGP blocks discovered.
PGPDataSearch: function(doc)
Searches the document for elements that contain PGP Data blocks.
refreshText: function(e)
Refresh the button text and style to reflect the present state
remove: function(keyid)
Provides method to remove the key from the preference item
Removes or hides all items in the context menu.
removeStatusLine: function()
Removes the status message line from the gmail UI
resourcePath: function()
Determines the base path for extension resources.
sendRequest: function(data,
callback,
doc)
Sends a request event to the background page or content script
Sends a request to a given tab/frame
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)
Provides method to set the preference item
setContents: function(editor,
message)
Sets the contents of the gmail UI message editor
setup: function(navDiv)
Sets up the required observers and creates instances to reusable objects
Close