Hacker News new | ask | show | jobs
by BubRoss 2221 days ago
If only someone would invent a back button so you wouldn't have to stay on the same page.

Also OpenGl ES isn't something that is compiled to WASM, it is a javascript API. WASM does not have access to the DOM or IO.

3 comments

Interestingly enough, this website hijacks the back button so you can't go back. (Android/Firefox)
I'm not sure what you're saying. WASM can definitely get access to those things through javascript shims. A native OpenGL ES program can be compiled relatively easily to WASM because it maps one-to-one with the WebGL API and barely needs a shim at all. This has been supported in Emscripten for a while now and makes it a lot easier to do things like port mobile games over to the web.
Yes, this is a more detailed version of what I said. Which part makes you want to control what other people make?
Have you tried? The website actually hijack the back button...