Developing own firefox add-on along with other add-on's
I would like develop on add-on for Firefox , which combine with other available add-on's and make new add-on which providing new features + existing add on feature tooo. ...
I would like develop on add-on for Firefox , which combine with other available add-on's and make new add-on which providing new features + existing add on feature tooo. ...
Hi guys. I followed a tutorial on reusing tabs inside Firefox, and right now my extension does it well. However, I also need to reuse tabs that are opened from outside (from some application, start menu etc.). How do I do this? I tried adding an event listener for TabOpen event, but when I log the event.target.linkedBrowser.currentURI....
I am working on a Firefox addon and I currently need to dynamically add menuitems to a menupopup element. I have tried basically all of the approaches on the Mozilla Developer Center and none of them work. function populateDropdown() { var counter = 0; for (var key in services) { var newMenuItem = document.createElementNS("http:...
Hey, I can easily traverse the current window while I'm inside the pageLoad function in my extension using content.document, but when I try accessing it in another function, called with setInterval, I can't access the content.document. I tried content.document, document.defaultView, window.content.document and basically every other sen...
In a firefox extension, how do you enumerate the current window's tabs and retrieve their URLs? ...
Hello All, I trying to figure out how to write a Firefox extension that would give image information when i right-click on the image. Basically, I want image path when user right-clicks on the image. Any help would be greatly appreciated. Thanks. ...
I'm currently building my first Firefox extension, and am having a little difficulty with one piece of functionality. I'd like to open a new browser tab in response to a button click on the toolbar. The new tab should contain the contents of a webpage, together with some extra buttons. At the moment I've created a separate xul file for ...
I am writing a Firefox extension. When a user highlights and right clicks a selected text on a webpage, the extension captures the text and displays it in a textbox (xul window). The textbox shows the correct formating (like the line breaks, spaces, * for li tags.). But the problem happens when i try to store the textbox value in a varia...
Good day everyone. I am working on a Firefox extension, and I want to pop up a tooltip at a certain offset from the mouse cursor. However, the problem comes when this offset is out of the viewport. It gets displayed but the user will have to scroll over there. I hope to enhance this by moving the tooltip pop-up within the current viewpo...
Is it possible to modify/edit, already installed firefox addons? Where are the addons stored in the computer... I mean which folder etc... ...
I am currently developing a Firefox extension. In Firefox's extension you can display a window by calling window.open and specifying the XUL file for that window. You can make it a dialog and/or modal. But there is no way to make the window frameless (no title bar and window borders) and I understand that. Also, it is not possible to mak...
Hello, I am making a Firefox extension and would like to give my users more control over the look and feel of things. In my extension's preference pane, I would like to achieve something close to this:- CodeProject: Custom Color Dialog Box I know I can achieve this by making lots of different divs for as many colours as possible and ad...
I'm trying to build a Firefox addon, but I simply cannot find the documentation for the internal (Firefox/Gecko) classes that addons may access. Or is standard DOM manipulation all that's possible? Looking through some addons I see a lot of nonstandard Javascript objects created, so I'm sure there's more to extending Firefox than meets ...
Debugging a Firefox addon is a slow process: (1) edit source code in a JS editor (2) package into XPI using a build script (3) drag into Firefox to install (4) restart Firefox (5) open the JavaScript Debugger Can we speeden up the process? Like install it into Firefox without a restart, or configure the build script to install it into F...
Does anyone know if there is some type of tool, preferably a Firefox add on that can check the links on a page if they are absolute links (going to another website) or relative links (within the website)... I have searched on Google, and the Firefox add ons and haven't seen any. How hard would it be to make my own? What do you guys sug...
I'm writing a Firefox Addon and I was wondering if I could take advantage of frameworks such as jQuery within my Firefox addon source code? Would it be as simple as including the jquery JS file within my addon's package folder and linking to it in my XUL file? ...
I'm writing a Firefox extension and I need to find the ip address of the currently loaded page. I can get the hostname of the page with window.location.host, but is there any way to find the ip for that hostname? I tried looking for the answer at the Mozilla Developer Center but was unable to find anything. EDIT: I would use something...
How do I programatically get my own Firefox extension's version number with Javascript? My extension has an install.rdf file containing the version number similar to below. I want to extract the contents of the <em:version> tag. <?xml version="1.0" encoding="UTF-8"?> <RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:em="...
I have a problem and I hope you have the answer. Here it is: I start Firefox (Linux) via command line using a cron-job. When there is no update for the add-ons, it start up normally, then I can tell it what to do. However if there is an update for an add-on, then it ask whether to take that update or not. I don't have the ability to de...
I'm adding this: <prefwindow id="BrowserPreferences"> <!-- Create a new pane (tab) --> <prefpane id="whateverPrefs" label="yes!" onpaneload="alert('hey')" image="chrome://helloworld/content/images/man.png"> <!-- Intermediary between GUI and preferences system --> <preferences> ...