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...
Is document.getElementById method supported on DOM parsed from XML strings using the DOMParser method in Mozilla? I am making a Mozilla extension that reads an XML file and uses DOM Parser to convert the XML into a DOM element and tries getting eleme...
Good day. i have problem with porting chromium extension to firefox. i need to detect all outgoing request and id's of tabs to which it belongs. to detect requests i using system/events api, but i can't find a way how to detect id of tab from...
I am creating a firefox extension.  I want to get a reference to the window object in a JSM file. The file is then imported using   Components.utils.import("resource://js/my_module.jsm");   In my_module.jsm there is this line:  var jQenv = wi...
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 have a proxy server running on localhost (127.0.0.1) and i have grown tired of having to train users on how to switch proxies in firefox to bypass blocked websites.  I decided to write an addon. I wonder how to use xpcom to tell firefox to use a ce...
since my extension's pageload is triggered even when I view css or js files, i want to add another check that triggers my extension only when the current page's content-type is text/html .  //eg: at my page load handler function onPageload(){...
Which Firefox API calls would you use to change homepage in Firefox programmatically?  The purpose is to create a Firefox extension that is able to cycle through a few favourite pages (this is analogical to cycling through a few wallpapers on the des...
So I know I can write my own HTML-encoding function like this:  function getHTMLEncode(t) {     return t.toString().replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/</g,"&lt;").replace(/>/g,"...
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...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.