repl.enter(content.wrappedJSObject) を実行すれば普通に「$」とかにアクセスできるようになることが分かった。 このコマンドは Firefox3 用のもので、Firefox2 では代わりに repl.enter(content)とすればいけるらしい。 例えばprototype.js の公式ページにいって 以下のようにコマンドを実行すると repl> repl.enter(content.wrappedJSObject) [object Window] repl> repl.whreAmI() [object Window] - Document title: "Prototype JavaScript framework: Easy Ajax and DOM manipulation for dynamic web applications" repl> r