I am working on a Firefox Add-on that view TIFF Files. I'm having trouble figuring out how to do the UI, buttons, scrollers etc. I'm on a mac, so the program is being written in either C or Objective-C, in case that makes a difference.
I'm thinking that XUL might be a way to do the UI. If I could wrap my plugin in some sort of XUL wrapp...
Hi,
I want to build a FireFox addon that can capture a webpage as an image (which seems simple using a canvas object) and also preserve the XY postions of the hyperlinks present in the webpage.
I wanted to know if there are any DOM methods that can help me extract the geometry info (XY positions and the height and width) of all the hyp...
I am developing my first Firefox extension and for that I need to get the complete source code of the current page. How can I do that with XUL?
...
I'm working on writing a plugin to change the value of a cookie to prevent log out. I was planning to have it so that on every page load the value of that cookies is changed to my value. Is this the best way to go at it? Is it safe? I'm mostly needing to know how other developers would go at it and what are the pit falls of my current id...
I am currently developing a toolbar and sidebar for firefox. I want to have the two share information, but upon loading the .js file I want them to share, it is loaded twice and has two instances instead of one.
How can I get the toolbar and the sidebar access the same information or global variables in a single javascript file?
Thanks...
Hi,
I've started exploring XUL Runner as a potential tool for an upcoming app.
I can get some good examples running using the command line xulrunner-bin myapp.
How can compile it all in a native looking application, like SongBird does.
I understand SongBird packages the entire xul runtime with it, and I'm happy with that. I'm just ...
I have been trying to change the style of buttons in my firefox extension sidebar with a CSS file (change skin). However, the buttons don't seem to take over the style changes. I tried both background images and just changing color etc., which are both not working.
Is it possible to influence the button style at all in my firefox extens...
I have prefwindow with a multiline textbox. When I resize the window, its width changes but its height is constant. How do I make its height variable?
...
Hi, I'm trying to change the behavior of in placesOverlay.xul. My goal is to disable the Properties entry upon conditions that I need to figure out using Javascript.
I am new to XBL bindings and handlers and don't know how to register such a handler for an existing/browser-defined XUL element. Or is there a simpler way?
Thanks.
...
Thanks to everyone in advance -
So I have been banging on this issue for quite a while now and have burned through all my options. My current approach to canceling css requests is with nsIRequest.cancel inside of nsIWebProgressListener.onStateChange. This works most of the time, except when things are a little laggy a few will slip thr...
Hi all,
I've been working on some code in js/html and it works great. I'm now trying to package it into an add-on for Firefox, and having some issues getting the XUL document correct.
PLAIN OLD HTML/JS
In my html test file between the <head></head> I have:
<script type="text/javascript" src="js/MyCode.js"></script>
At the end of t...
I want to develop a extension for firefox. Now I add a image in my project, and I want to use it in my js.because my element is created dynamic,so I didn't get it from xul file. How to get the Image in JS directly?
...
The question is simple. I want to put a link in a XUL treecell.
thanks
...
Hi folks,
Am an firefox addon developer?
How much does an avg firefox addon developer charge per hour?
Can some guide help me plz. I rate myself 7/10.
Thanks
...
Hello. I'm writing a plugin to Firefox, which is basically a sidebar, that is filled with yaml-formatted information based on what user does on the page (just another web testing solution). I want to enable user to change generated text manually right in the sidebar and:
Add code-folding (folding click: \n text: some text to a single l...
Hi All,
I am writing Firefox extension using C++.
I am trying to access XUL:tabox element in "TabOpen" event handler, but I am unable access any XUL element.
I am putting here pseudocode of my extension for reference:
HandleEvent()
{
if (event type is TabOpen)
{
nsCOMPtr<nsIDOMNode> OriginalNode = do_QueryInterface(event...
I have a XUL window, and I want the cntrl+w hotkey to close the window, but when I attach:
window.addEventListener("keypress", function(ev) {
GM_log("onkeypress handler: \n"
+ "keyCode property: " + ev.keyCode + "\n"
+ "which property: " + ev.which + "\n"
+ "charCode property: " + ev.charCode + "\n"
+ "Character Key Pressed: "...
I am trying to implement drag and drop between two listboxes.
I have a few problems
1) I am not detecting any drag events of any kind from the source list
box/ I do not seem to be able to drag from it
2) I can drag from my desktop to the target listbox and I am able to
detect 'dragenter' 'dragover' and 'dragexit' events. I am noticin...
I need to put something like a Textarea into a "box" element in Xul. It needs to be multiline. It's for an explanation frame.
Is that possible? I can't find anything on the MDC official site.
...
Hi!
I try to create some li elements in my XUL Application.
Theres only the text of the elements shown, but no list typical bullets and linebreaks.
Example:
text
text
text text text text text
Heres the JS Code I use to create the list:
var li = document.createElement('html:li');
var txt = document.createTextNode("only shown as ...