I have an environment called $REP, how can I access the value of this variable using Xulrunner in a Linux environment?
--udpate
attempting with nslEnvironment:
var env = Components.classes["@mozilla.org/process/environment;1"].getService(Components.interfaces.nsIEnvironment);
dump("bash=" + env.exists("BASH") + ...
I have a function to get the values of the selected check-box from the xul file(Lets say tree.xul). In another XUL file has the text-box where I want to pass the ...
Is there a way for listening for value change of a variable in javascript(Firefox extension)?
[update]
I am having an array I want to listen. Whenever something is pushed into that array, I ...