How does the browser's On went online/offline works internally ?
Does it constantly ping a certain site to make sure it is online offline ?
What if that site itself is down ?
"On back button", does detecting it prevent it from happening ?
Develop games in your browser. Powerful, performant & highly capable.