Anonymous scopes

From a framescript Im inserting a contentscript by using the Cu.Sandbox method:

var sandboxScript = 'alert($)';

var principal =docShell.chromeEventHandler.contentPrincipal;

var options = {
    sandboxPrototype: content,
    wantXrays: false
};

var sandbox = Cu.Sandbox(principal, options);
Cu.evalInSandbox(sandboxScript, sandbox);

Cu.nukeSandbox(sandbox);

So this page Im in loads stuff into anonymous wrapped things like this:

(function() {
var obj = {
hi:true
}
})()

I want to like list all these blocks that are existing, and tap into, and read obj. Is this possible?