xulrunner

Best Debugging Tools for JavaScript/xulrunner Development

In the past few months I began my first serious JavaScript development, as I began developing XUL applications. I use Notepad++ as my editor, but I was pretty appalled to find (as far as I can tell) that Venkman/Javascript Debugger is the tool for debugging. It seems like a poor replacement to Visual Studio for .Net languages. Am I mi...

How do I copy image data to the clipboard in my XUL application?

I have a XULRunner application that needs to copy image data to the clipboard. I have figured out how to handle copying text to the clipboard, and I can paste PNG data from the clipboard. What I can't figure out is how to get data from a data URL into the clipboard so that it can be pasted into other applications. This is the code I use...

What is the simplest way to set up a BIRT report viewer for a xulrunner application?

I recently began using BIRT and have developed a report to use with my xulrunner application. What I haven't yet figured out is how I should deploy the viewer. It seems like BIRT mostly targets Java applications, so there are instructions for deploying on J2EE, JBoss, and other technologies -- with which I am not familiar (but I'm not ...

ZeroConf extension that can be used in Firefox/XULRunner?

Is there a ZeroConf client extension for Firefox/XULRunner to be used in a zeroConf environment based on either mDNS or SLP? I know of an extension already that's being developed by the ActiveState Open Komodo folks but it requires PyXPCOM support to be baked into the XULRunner runtime in order to access the Apple Bonjour libs for Windo...

How can I get the window object that an HTML node belongs to using JavaScript?

Because of several iframes, XUL browser elements, and so forth, I have a number of window objects in my XULRunner application. I'm looking for the best way to find the window object that a specified node belongs to using JavaScript. So, to be more specific, given node x, I need to find the specific window object that contains x. ...

Embedding XULRunner application on Java

Hi, My goal is to get Limewire(JAVA) and Songbird(XULRunner) to run together. I was thinking the best way is to run the XUL application(songbird) inside a JAVA swing panel. Is there another way? Would it be better or possible to have the GUI entirely in XUL, and then access my JAVA objects somehow? How would I go about doing this? T...

popen equivalent in XPCOM?

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. Does XPCOM have popen? Alternatively, does XPCOM have enough primitives to create popen? Is there another approach that gives access to the standar...

Drawing a user interface based on preferences

I want to use the built-in preference system for my xulrunner (Firefox) application. But I can't figure out how to easily drive the user interface based on preferences. The user can specify a list of home pages, and each home page will show up in a different tab. Because the tabs are in the presentation layer, I'd like to create them ...

Beginning XUL & XPCOM development with XULRunner?

I am planning to design an application XUL & XPCOM for proprietary system. So i have decided to use C/C++ but how can I start the development as a beginner in this field I cannot find a good guide to start around. It will be good if you can give some links and books. I also would like to know how to prevent the user from modifying the co...

Detect failure to load contents of an iframe

I can detect when the content of an iframe has loaded using the load event. Unfortunately, for my purposes, there are two problems with this: If there is an error loading the page (404/500, etc), the load event is never fired. If some images or other dependencies failed to load, the load event is fired as usual. Is there some way I c...

XulRunner: hide xul-window taskbar button

Hello there! Is there any way to hide taskbar button on xul window opened by window.open or something? In Ms Windows. hidechrome, etc does not do the trick - taskbar buttons are still present for such a windows If there is no direct way, may be there\a some extensions out there that can be used programatically to archive such goal? Tha...

dragover mouse event contain file info in XUL application using javascript

I'm writing a XUL application using JavaScript for the coding. I would like to be able to drag files onto a control in this application and, when dropped, have them show up. This seems like it would be almost exactly like the tutorial here, but when I break in the drag and drop event handlers in a debugger, the dataTransfer member of th...

Flash Player trust file not working with Embedded browser on linux

Hi, I have an application which embeds a browser based on Xulrunner inside it. I have couple of flash swf files I need to load in the browser. The swf files talk with a javascript to change the page title and also to change the URL when I am browsing through the content in the URL. I need the URL change because I need to remember where ...

Local javascripts turned off in a xulrunner based browser

Hi, I have an application which a xulrunner based browser embedded in it. I have to load some files which load flash content and are present on the local machine. These flash content change the page title and url at certain points. This entire setup works fine when I have the flash content in a remote browser but when I have it on my ma...

Flash Player trust file not working with Embedded browser on linux

Hi, I have an application which embeds a xulrunner based browser. I have to load some flash content in this browser. At certain points of time the flash changes my URL and Page Title to reflect the location in the flash file where I am at. This works fine in a firefox browser when I place my trust file at /etc/FlashPlayerTrust folde...

How best to deploy my XUL app?

I have a xul app that I think would be useful, and I want to deploy it. The target platform is Linux; I believe it will work on Windows/OSX as well but haven't tested. What is the best way to deploy this app? Is using xpi packages and requiring the user to install xulrunner separately the way to go? If I bundle xulrunner, should I keep...

Flash not interacting with Javascripts in browser inside my app

Hi , I have an application which embeds a xulrunner based browser. I have to load some flash content in it which talks to some javascripts to update the browser title. The flash content works fine when launched from Firefox but not inside my app. I tried a sample html file which has some javascripts and they work fine. It even work...

Page reloading and malformed HTML problems in a XULRunner based app.

Hello, I am writing an application on XULRunner that displays HTML pages from the web: I have a very simple XUL file with a in which is just a filling the window and loading a local HTML file. In my HTML, I have an iframe to load content. What's cool with XULRunner is that I can access the content of the iframe for many things (displ...

Method for building lightweight, cross-platform, text editor

I'm planning to build a simple, lightweight text editor that combines a great look with keyboard focused input. I want to have a lot of control over things like antialiasing and all the graphics in general, but I don't care about having a whole library of widgets. Almost the entire UI will be text-based and in the main canvas/window of ...

How to set the profile directory for xulrunner apps using a custom relative path?

Is there an easy way to create a cross platform portable Xulrunner application? By "portable" I mean what the guys on http://portableapps.com/ do, but in addition I would like to be able to put on the flash stick whatever platform runtime I need. For example If I want my application to run on Linux, I put the linux build of Xulrunner a...