Use the Browser's plugin "Close" action.
for me this is ok
Develop games in your browser. Powerful, performant & highly capable.