If i want to take all functions and variables declared in my program in firefox i just iterate 'window' object. For example if i have var a=function() {}; i can use a(); or window.a(); in firefox, but not in IE. I have function iterating window object and writing all function names declared in program like that:
for (smthng in window) {
document.write(smthng);
}
works in FF, in IE there are some stuff but nothing i declare before. Any ideas?