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...
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'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 wonder if the routine setSelectionRange the textbox does not work in new Firefox summers. In the MDN site (Mozilla Developer Center) it was specified:     setSelectionRange( start, end )       Return type: no return value        Sets the selected p...
I am developing a XULRunner application that does some processing on web sites. As I plan to make the whole process automated, I am trying to figure out how to cope with sites that utilize the window.onunload and window.onbeforeunload events.  I disa...
I am really a XUL starter, i am desperately trying to write an application that will print "Hello world" to console when a button presses, i need to display debugging information also. Although i didn't find impressive documentation and t...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.