Hi there. Just FYI,
I have been working on a JS Terminal Addon:
http://paulrouget.com/e/jsterm/
And you can use it to execute JavaScript and inspect objects in the Firefox window context (type ":chrome").
It's a bit like Scratchpad, but it uses a REPL environment.
Cheers,
-- Paul