| cgmail.js | |
| Constants | |
| FireGPG. | State ‘start’ for ProgressListener |
| FireGPG. | State ‘stop’ for ProgressListener |
| FireGPG. | This class implement a listener, to intercept page loaded. |
| Functions | |
| QueryInterface | This function return the Interface of the listen. |
| onStateChange | This function is called when the state of a page change (loaded, ..) |
| onLocationChange | This function is called when the location change Here to be a good listener. |
| onProgressChange | This function is called when the progress change Here to be a good listener. |
| onStatusChange | This function is called when the stage change Here to be a good listener. |
| onSecurityChange | This function is called when the security change Here to be a good listener. |
| onLinkIconAvailable | This function is called when the location change Here to be a good listener. |
| FireGPG. | This is the main class to manage gmail’s function with the old interface. |
| Functions | |
| onDelayLoad | This function is called when a gmail page is loaded, after fiew seconds. |
| simpleLoad | This function is called when a gmail page is loaded. |
| initSystem | This function init the class : she load specific options, and attach listeners to the webpages. |
| addBouton | This function create a html button at the end of a node. |
| addComposeBoutons | This function add compose boutons (sign, sign and send, ...) |
| listenerLoad | This function is called by the listener when a page is loaded. |
| listenerUnload | This function is called by the listener when a page is closed. |
| callBack | This create a function who is called when a button (or a link) is pressed. |
| getWriteMailContent | Return the content of a mail in composition (his selection if something is selected) |
| getToCcBccMail | Return the To, CC and BCC filds’ value of a mail in composition. |
| setWriteMailContent | Set the content of a mail in composition (his selection if something is selected) |
| sendEmail | Simulate a click on the send button. |
| getMailContent | Retrun the content of a mail |
| foundTheGoodId | Get the interal id of a mail based on this mail id of the page (Used by getMimeMailContens). |
| getMimeMailContens | Return the mime source of a mail |
This class implement a listener, to intercept page loaded.
| Functions | |
| QueryInterface | This function return the Interface of the listen. |
| onStateChange | This function is called when the state of a page change (loaded, ..) |
| onLocationChange | This function is called when the location change Here to be a good listener. |
| onProgressChange | This function is called when the progress change Here to be a good listener. |
| onStatusChange | This function is called when the stage change Here to be a good listener. |
| onSecurityChange | This function is called when the security change Here to be a good listener. |
| onLinkIconAvailable | This function is called when the location change Here to be a good listener. |
This is the main class to manage gmail’s function with the old interface.
| Functions | |
| onDelayLoad | This function is called when a gmail page is loaded, after fiew seconds. |
| simpleLoad | This function is called when a gmail page is loaded. |
| initSystem | This function init the class : she load specific options, and attach listeners to the webpages. |
| addBouton | This function create a html button at the end of a node. |
| addComposeBoutons | This function add compose boutons (sign, sign and send, ...) |
| listenerLoad | This function is called by the listener when a page is loaded. |
| listenerUnload | This function is called by the listener when a page is closed. |
| callBack | This create a function who is called when a button (or a link) is pressed. |
| getWriteMailContent | Return the content of a mail in composition (his selection if something is selected) |
| getToCcBccMail | Return the To, CC and BCC filds’ value of a mail in composition. |
| setWriteMailContent | Set the content of a mail in composition (his selection if something is selected) |
| sendEmail | Simulate a click on the send button. |
| getMailContent | Retrun the content of a mail |
| foundTheGoodId | Get the interal id of a mail based on this mail id of the page (Used by getMimeMailContens). |
| getMimeMailContens | Return the mime source of a mail |
foundTheGoodId: function( id )
Get the interal id of a mail based on this mail id of the page (Used by getMimeMailContens).
| id | The mail’s id (0 to n) (gmail) |
This function return the Interface of the listen.
QueryInterface: function( aIID )
This function is called when the state of a page change (loaded, ..)
onStateChange: function( aProgress, aRequest, aFlag, aStatus )
This function is called when the location change Here to be a good listener.
onLocationChange: function( aProgress, aRequest, aURI )
This function is called when the progress change Here to be a good listener.
onProgressChange: function()
This function is called when the stage change Here to be a good listener.
onStatusChange: function()
This function is called when the security change Here to be a good listener.
onSecurityChange: function()
This function is called when the location change Here to be a good listener.
onLinkIconAvailable: function()
This function is called when a gmail page is loaded, after fiew seconds.
onDelayLoad: function()
This function is called when a gmail page is loaded.
simpleLoad: function( e )
This function init the class : she load specific options, and attach listeners to the webpages.
initSystem: function()
This function create a html button at the end of a node.
addBouton: function( label, id, box, Ddocument, info1 )
This function add compose boutons (sign, sign and send, ...)
addComposeBoutons: function( box, Ddocument, info1 )
This function is called by the listener when a page is loaded.
listenerLoad: function( e )
This function is called by the listener when a page is closed.
listenerUnload: function()
This create a function who is called when a button (or a link) is pressed.
callBack: function( id, info1 )
Return the content of a mail in composition (his selection if something is selected)
getWriteMailContent: function( dDocument, idMail )
Return the To, CC and BCC filds’ value of a mail in composition.
getToCcBccMail: function( dDocument, idMail )
Set the content of a mail in composition (his selection if something is selected)
setWriteMailContent: function( dDocument, idMail, newText )
Simulate a click on the send button.
sendEmail: function( nodeForScan, dDocument )
Retrun the content of a mail
getMailContent: function( i )
Get the interal id of a mail based on this mail id of the page (Used by getMimeMailContens).
foundTheGoodId: function( id )
Return the mime source of a mail
getMimeMailContens: function( id )