If you send an emacs-buffer to Firefox with `C-c C-l', it's evaluated
in the current REPL context.
If you want to evaluate in the HTML page, just type
"repl.enter(content)" before you press `C-c C-l'.
>
> FYI:
>
> After some poking I added
> if (window.content) {repl.enter(window.content)};
> at the very beginning of my script, which works in general (but causes
> sometimes strange problems...)
That's tricky. Don't do that. :)