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...
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 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...
WRT building a Firefox Add-on.  Is it possible to get the element under the mouse via some XPCOM or javascript method? (non-js-ctypes please as that requires OS specificity)  I want to detect what is under the mouse when user presses Ctrl + Shift + M...
I'm trying to use XULRunner to add a GUI to a command line based program.   One solution would be to use something like popen from the XUL application to interact with the command line program.   My questions:   Does XPCOM have popen? Does XPCOM...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.