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...
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...
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...
I'm using xul to code a firefox extension, so I need to read/write from local file. How to create for example file "temp.txt" in the following directory "c:/data" ?...
I work on an addon that observes all the http requests and populate some info corresponding to each tab. I want to clear the data for the tab which I close. However, I can't get to identiy tab close event in a cleaner/saner way. So I have the con...
I get the utils of the window like this:  var utils = Services.wm.getMostRecentWindow('navigator:browser').             QueryInterface(Components.interfaces.nsIInterfaceRequestor).             getInterface(Components.interfaces.nsIDOMWindowUt...
Is there any way in Google Chrome to access the clipboard (i.e. get and set content of clipboard)? Internet Explorer allows for this by using ActiveX and I got it working in Firefox via XPCOM, I am wondering if there is any way to do this in Chrome?...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.