La techniques ici et bien d’autres utiles :
http://femo.jp/teramako/papug7jr02
Pour IE : http://hardforum.com/showthread.php?t=1099819

Quelques autres astuces utiles :
http://stlouis-shopper.com/cgi-bin/mozdev-wiki/kiosk-wiki.pl?MozillaCookbook
xpcshell permet de faire tourner un shell javascript qui a accès à toutes les variables de ce type :
https://developer.mozilla.org/en/XPConnect/xpcshell