Close browser tab on exit in HTML5 build?

I’m working on an HTML5 build right now, and I’d love to be able to send a “close browser tab” message when the user chooses “exit” from the menu. The default msg.post("@system:", "exit", {code = 0}) doesn’t do it. Is there a way to pull this off without having to edit the exported HTML/JS files?

Thanks!

Not to my knowledge, but perhaps someone else knows?

Let’s hope! I know Unity lets you interact with browser scripting, so theoretically there’s a way to close the tab from within Unity. Hoping the same is true for Defold. If not, maybe I’ll submit a feature request. Thanks!