xulrunner

Modern client/server authentication techniques

I'm building a non-browser client-server (XULRunner-CherryPy) application using HTTP for communication. The area I'm pondering now is user authentication. Since I don't have substantial knowledge in security I would much prefer using tried-and-tested approaches and ready-made libraries over trying to invent and/or build something myself....

It is possible to pre-authorize a self-signed jar in XULRunner config?

Hi, I'm working on a Java Applet, which must run in an offline and standalone XULRunner (web browser) application. What happens: everything works perfectly, but the first time the applet is loaded, the user need to give access rights to the applet, because it "cannot be verified", with a dialog box. The problem: Since the user ran th...

Opening the user's home folder?

My XULRunner application has a button named "Show Recordings". Pressing it should result in Windows Explorer opening the folder for the user. How can I achieve this? I can't find it in the File I/O documentation, perhaps I'm looking in the wrong place. Edit The problem is not finding the path, but telling the system to open the folder....

How to implement a timer in a XPCOM component?

I'm creating a GStreamer application based on XULRunner. To achieve this created an XPCOM component that makes some of the GStreamer functionality available in a XUL application. However, GStreamer normally makes use of a message loop (GMainLoop) which enables one to receive bus messages. Because XULRunner already has its own message loo...

Delphi Gecko SDK - did anyone succeeded with that + XULRunner 1.9?

Hi, I did a checkout of d-gecko SDK from sf.net ( http://sourceforge.net/projects/d-gecko/ ). I wanted to try it with Gecko (XULRunner) 1.9, however when running simple application each time I get error in stdcall function, pointing to WebBrowser.Paint line ... My question is - did anyone succeeded to run GeckoSDK Delphi app in XULRunne...

embedded browser using XULRunner

Are there any examples of to use XULRunner to embed the browser control inside a app? (preferably in c or c++ for native win32 apps) I have tried QT, wxWidgets, Awesomium, chrome embedded, LLmozLib, midori and Embedding/NewApi/Win32 The best one is wxWebConnect (which is part of wxWidgets framework). Why, cause you don't need the whole...

Get the content of the HTTP stream in Java + Mozilla XPCOM

Hello everyone! I've often read StackOverflow as a source to get answers; but now I have a very specific question and I can't really find any data on the internet. I trust you to be as helpful as always! :D Basically, I'm relying on Mozilla's XULRunner and its XPCOM objects to analyze the HTTP stream of an SWT browser in a Java applica...

Firefox XULRunner or TriXul?

This problem is exercising our minds very much at the moment. XULRunner https://developer.mozilla.org/en/XULRunner Trixul Cross-Platform GUI Toolkit http://www.trixul.com/ ...

is XULRUNNER suitable as a replacement for other C++ desktop applications frameworks such as QT?

XulRunner/Gecko seems to be really interesting for developing GUI-intensive applications (by using widely used technologies such as HTML / CSS / SVG / XUL / Javascript). But the underlaying C++ APIS (XPCOM, NECKO, ...) looks so old and complex. Moreover the general lack of documentation/developper tools is really frightening. On the oth...

how get I notified when the "onload" script has finished

I get a notification when a html page is loaded -> onStateChange, stateFlags: STATE_IS_NETWORK + STATE_STOP but I need a notification when the page ist loaded and a onload script has finished running. Any hints ? THX ...

Standalone XULRunner app not loading the Flash player plugin

Hi, I have created a standalone XUL application, and I copied "NPSWF32.dll"(flash plugin dll) to the "plugins" folder under the browser. When I launch the application, flash content is not getting displayed. If I set the MOZ_PLUGIN_PATH to the "plugins" directory before launching the application, everything is working as expected. Cou...

How can I catch requests in mozswing ?

I would like to catch requests made by mozswing when a the user click on a link, or submit a form so that the socket connection is never made and I can answer the request "myself". ...

MacPorts - Installing Port, Dependencies Failed

I am attempting to install xulrunner on OSX 10.6.3 using the following: sudo port install xulrunner However, I am receiving the following error: nat-10-200-136-126:phoneyc-new $ sudo port install xulrunner ---> Computing dependencies for xulrunner ---> Activating zlib @1.2.5_0 Error: The following dependencies failed to build: gcon...

Adding h.264 <video> support to XULRunner

Like Firefox, XULRunner only ships with support for ogg (and soon, webm) in the HTML5 video tag. Is there a relatively simple way to add h.264 support to it for all three major platforms? Perhaps a compilation flag, or a plugin I can add to it? ...

XULRunner and JRE with custom path

Hi, I have developed an app in XULRunner that uses Java applet. Works great when I use standard (shared) JRE. How can I use a custom JRE which will be shipped with the app? Is it in pref.js file? I think I can use JAVA_HOME as a env var before calling application.ini file, but I am looking for a better way. Any help is much appreciated...

changing the content of browser in XULRunner

I have an Xulrunner app that loads fullscreen without any controls and loads a html page by default. The only thing it has is browser element and a popup menu visible on right click. In the popup menu there is option to quit. Then there is a menu entry 'theme2'. I want the browser to load another html when theme2 is clicked. This is my...

How to embed an XUL Application in SWT Browser?

I want to host my XUL application inside another Java application that uses SWT. I know that it is possible to embed the browser windows using SWT.MIZILLA as a flag. But how do I host my XUL application inside that browser window? ...

Firefox launching jvm with custom parameters

I am working on an applet that requires -d32 parameter. How can I tell that to firefox or xulrunner? Can I make a custom profile that uses -d32 to launch JVM? Any help is appreciated, Thx ...

Error reports in jsdIDebuggerService (XULRunner)

Hello all, I'm developing a XulRunner application based in Java. It's basically a controlled browser to run javascript applications, and users won't have the chance to neither reload nor enter an URL to browse. So that, I must control the javascript code being executed on the application in order to catch any javascript error. For that ...

XulRunner javascript

Hi all! I have a some trouble with XUL. <window id="main_window" title="app" accelerated="true" width="300" minwidth="500" height="500" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"&gt; <script src="chrome://app/content/js/run.js"></script> <browser id="main_browser_window" type="content" src="chrome://app/con...