My way of detecting onlineness. It uses bounce glitch. To use it in your project, read the Implementation comments.