I am using the Firefox Add-on SDK to create an extension and am performing a PageMod. This code is in main.js.  ... exports.main = function() {   var pageMod = require("sdk/page-mod");    pageMod.PageMod({     include: "*",     cont...
I've create a Firefox addon using the addon sdk. I'm trying to use the canvas drawWindow function.  I've got the following code to use the function, where ctx refers to a canvas context, that I got with canvas.getContext("2d").  c...
I'm currently working on a Mozilla Firefox addon.   I have set up a panel and attached a content script to it. I need to communicate between the content scripts and main.js. I'm using the port api of the addon-sdk for this. However for some r...
I'm converting an XUL-based Firefox add-on to an SDK based version for simplicity. The XPCOM modules I use in the XUL-based version seem to work but ci.nsIFile is behaving differently.  I can't figure out how to navigate to smartProxy.py whic...
I wish to add a single menu item to the firefox context menu that shows up only if the user right-clicks a specific url. I have a function to test the url. I used to do this by subscribing to "popupshowing" event and:  var item = document.get...
I'm trying to build a Firefox Add-on using the SDK (version 1.6), but I'm running into an issue with Tabs that the extension is opening.  I would like to obtain the tab that the aContext (node) is on.  To do so, I've been 'getting'...
About  I'm working on a Firefox Add-on using the Firefox Add-on SDK. The add-on will be site specific and it will hide certain elements based on user preferences.   I already made this add-on a few years back, but with the new SDK things work a b...
We use web IDE for create addons. My test.dll situated in data folder. How to load it by js-ctypes?  With absolute path like "c:\test.dll" have no problem, but i cant use this path for distribute it.  var lib = ctypes.open("c:\\test.dll&#...
Is it possible for an SQLite data file used by an add-on to be one of the files accessed with data.url()? If so, how does one hand it off to Services.storage.openDatabase() If not, is it possible for certain code (CREATE TABLE IF EXISTS...) to be ex...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.