QEMU's chardev websocket feature allows for Linux serial console access from a web browser. It can be enabled via e.g.:

    qemu-system-x86_64 -serial websocket:127.0.0.1:45252,server,nowait ...
    

By David Disseldorp. Heavily based on Fabrice Bellard's term.js.
Feedback and bug reports welcome here.