Is it possible to get the current viewport Range (the visible part of the page inside the browser) using XUL functions from Javascript or plain Javascript?  Thank you!...
What is the XULRunner equivalent of the following button handler?  function launch_page() {     var win = Components.classes['@mozilla.org/appshell/window-mediator;1']         .getService(Components.interfaces.nsIWindowMediator)         .getM...
How can I know, in Xul, if the network is (dis)connected?  --update  Using:      function observe(aSubject, aTopic, aState) {         if (aTopic == "network:offline-status-changed") {             write("STATUS CHANGED!");         }...
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 mo...
Trying to write a file inside windows temp directory using XUL code:  function writeFile_launch_application(utility_name,utility_path) { var data ='tasklist  /nh /fi "imagename eq '+utility_name+'" | find /i "'+utility_nam...
Updated  Here's an even simpler example showing the failure (it should hide the img after press "z" and show it after press "x"):  My test.xul:  <?xml version="1.0" encoding="UTF-8"?>  <?xml-stylesheet hre...
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.   My questions:   Does XPCOM have popen? Does XPCOM...
I am trying to create a XUL "Hello World" application in Mac OS X. I download the XULRunner from here, followed this tutorial and then this tutorial and then this tutorial... None worked. So, I looked at it better and found this section, whos...
I'm trying to implement the answer to this question about monitoring a Windows filesystem asynchronously. I'm using js ctypes within a ChomeWorker as part of a XULRunner application but I assume this would be the same if I implemented as a Fi...
I build xul template and I added js inside the xul.  the main page is contain a iframe tag. I want to call to specific js function(inside the xul) from the iframe page loaded.  for example:  this is the xul file:  <?xml version="1.0"?>...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.