I'm trying to install hotmail to my mailto handlers:    This is accomplished with this code from webpage scope:  navigator.registerProtocolHandler('mailto','http://mail.live.com/secure/start?action=compose&to=%s','Live Mai...
I'd like to write a XPCOM component that gets exposed as a javascript object in a web page.  Something like Google Gears is what I'm seeking.  That is, after installing the Google Gears Firefox extension, the javascript object 'google.gea...
I have a Firefox Extension that I would like to populate the About box with the version within install.rdf.  I know that FUEL's extIExtension allows one to see the version for an extension but I did not create the extension using FUEL (and the do...
A noob at firefox extension development here. Is there a way to find Tab object from a given nsIDOMWindow?  let wm = Cc['@mozilla.org/appshell/window-mediator;1'].getService(Ci.nsIWindowMediator);  var windowListener = {   onOpenWindow: funct...
I am using XPCOM to read/write file(s) on my hard drive (since Java is no longer supported on FF16,17,18,+ I have to use this). I use it in my FireFox extension(s) (I use iMacros). On this document click  I found this example.  var string = '\u59...
What is the XULRunner equivalent of the following button handler?  function launch_page() {     var win = Components.classes['@mozilla.org/appshell/window-mediator;1']         .getService(Components.interfaces.nsIWindowMediator)         .getM...
In order inform the user of possible conflicts, I'd like to have my add-on check if another add-on is installed and enabled. If so, I can disable either it or my own at the user's bequest:  function disableExtension(id) {     var man = Compon...
I've been looking at different tutorials and I know I'm close but I'm getting lost in implementation details because some of them are a little bit dated and a few things have changed since Firefox 3. I have already written the javascript...
I am developing a Firefox addon, which needs to intercept the HTTP request process and return a fake response for certain URLs. This is the code I am using:  function TracingListener() {     this.originalListener = null; }  TracingListener.prototype...
Background  In XULRunner version belowe 12.0 it's works, but when i'm trying port it to version 12.0 or higher it crash application. Main reason is that in sdk v12 or newer developers remove proxy objects to xpcom components and recommend rep...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.