xul

Why this css z-index is not working in my XUL app?

I have this Xul file: <?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> <?xml-stylesheet href="chrome://greenfox/content/mycss.css" type="text/css"?> <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"&gt; <image class="Front" src="images/loading.gif"/>...

Mozilla addon development - Tab focus granting event

Hi, I need to capture tab focus granting event in Mozilla Browser. is there any type of listener implement for this event? Thanks, Chandnaa ...

How to call focus to an element after the window was loaded?

In Xul, how to call focus to an element after the window was loaded? ...

Firefox extension: Positioning panels

I'm making a Firefox extension and I want to position a XUL panel element exactly above a search box when a person types text in the search box-- almost like autocomplete. How do I do that? Thanks! Edit: I've been looking at using auto complete and using my own nxIAutoComplete implementation but I'm a bit too new to extension developm...

In Firefox, use a plugin or extension to invoke "unsafe" APIs?

Firefox extensions can invoke privileged APIs (e.g. nsIProcess to start an external app) without bugging the user, for example this extension does it from the download window: https://addons.mozilla.org/en-US/firefox/addon/10902/ I need to do the same kind of thing, but from a UI on a web page. Can an extension provide a XUL widget (whi...

Wrapping in xul:hbox

Hi, guys! I have strange problem with XUL layouts. My current code: <xul:vbox> <xul:hbox> .. some elements .. </xul:hbox> <xul:hbox> <xul:hbox> .. some elements .. </xul:hbox> <xul:hbox flex="1"> <my:button anon-id="btn1" label="Sample button 1"/> <my:button anon-id="btn2" label="Sample button 2"/> ... ...

JsFl and listbox

Hello there. I'm using JsFl in my Flash CS4 application to provide some feedback to our 2D artists. I'd like to display a dialog box, thanks to JsFl, filled with a listbox or a tree... And my problem is : my dialog box is displayed but my listbox is freaking empty (even listheaders are missing). here is my JsFl call to my XML: var resu...

How to list extensions installed in my Xul app?

In a Xul app, is there a high-level way to list the installed extensions? Is the "Add-ons" window available for easy use? I'm trying to search in the firefox source, but it's a long way... if someone could give a shortcut I would be thankful... :) Maybe something related to RDF? (not sure..) ...

How can i convert XUL to XHTML?

Anyone know of any tools or techniques for converting xul to x/html? I've got a xul window I created for a Firefox addon that I now want to port over to html. Any tips, links, or tricks would be helpful. Thanks, -=Vin ...

Error when opening the extensions manager from Xul app

When I open the extensions manager in my Xul app using: app = "chrome://mozapps/content/extensions/extensions.xul"; window.open(app,'Test','chrome, width=640, height=480').moveTo(0,0); I get the following error in the javascript console: Error: uncaught exception: [Exception... "Component returned failure code: 0x8000ffff (N...

How to make a toolbaritem appear by default for a Firefox extension?

I'm adding a toolbaritem with a child toolbarbutton to <toolbarpalette id="BrowserToolbarPalette"> in a browser overlay for a Firefox extension which I'd like to be displayed by default when the extension is first installed. What's the best way to do this? ...

What's the best way to be notified when an extension's toolbaritem is being used?

I want to setup label attributes, and event listeners for a toolbaritem when it's being used. Because even though I add my extension's toolbaritem to <toolbarpalette id="BrowserToolbarPalette"> it is not found by document.getElementById unless it is being used. At the moment I have DOMNodeInserted event listeners on the navigation bar an...

How to center the label on the screen?

I'm specifing the size of the windows within the window.open(), but regardless of the size, I would like this label to be exactly on the center of the screen (vertically and horizontally): <?xml version="1.0" encoding="UTF-8"?> <window sizemode="maximized" hidechrome="true" id="weatherWindow" title="Window" xmlns="http://www.mozill...

View chrome source in Firefox

It would be extremely helpful for developing Firefox extensions if I could see the source of, e.g., chrome://browser/content/browser.xul with overlays applied. Is there a way to do this? Chrome List and "View Source" show only the base structure, ChromeBug requires restarting the browser and isn't too easy to get working. ...

Error (in GTK?) when trying to install EclipseXul plugin

When installing EclipseXul plugin on EclipsePHP, it says: Cannot complete the install because one or more required items could not be found. Software currently installed: Shared profile 1.0.0.1288098146566 (SharedProfile_epp.package.php 1.0.0.1288098146566) Missing requirement: Shared profile 1.0.0.1288098146566 (Shar...

What are the available XUL alternatives ?

Hello Guys. Are there any XUL alternatives that enable me to write cross platform Javascript Applications ? ...

Send data between XUL components

Hello, I have an extension composed of a browser overlay(ff-overlay.xul) which launches a sidebar(ff-sidebar.xul) through this code (from mozilla extension generator): (in ff-overlay.xul) <menupopup id="viewSidebarMenu"> <menuitem key="key_openSidebar_testinstallPackage" observes="viewSidebar_testinstallPackage" /> </menupopup> <k...