You can use the mozrepl browser extension to interact with the JavaScript engine in Firefox-family browsers.
The swank-js project uses SLIME and Node.js to provide a REPL for interacting with the JavaScript engine of arbitrary browsers.