Fun fact - the OpenTTD project supports building for the web browser via Emscripten. I couldn't find an officially hosted version of it, so I've been using my own at https://openttd.pranay.codes. Pretty usable out of the box, but there are some issues with audio. I've been meaning to add features like cloud saves as well, because right now your games are dependent on the whims of browser storage.
replies(2):