In my code, I have a line that unloads the current window (which is the YouTube video page):
Firebug.Console.log(myWindow);
You can see that the window object contains the yt property, which is another object that can be easily checked in the debugger:
http://i.imgur.com/lHHns.png
Unfortunately call
Firebug.Console.log(myWindow.yt);
logs "undefined" - why is this and how can I access this property "yt"?
Edit: one addition that may be important: the code I'm writing is part of the firefox extension, so it doesn’t work inside pgae, but in chrome - I am starting to think that this may be the reason, Can the chrome scripts be limited to that they can see / enter unlike the code in script tags?