The example in this article describes the method of JS to determine whether the customer service QQ number is online or offline. Share it with everyone for your reference. The specific analysis is as follows:
I don’t know since when, the original online and offline status code that comes with QQ can no longer accurately display online or offline status. Now I use JS to determine the QQ online and offline status value, and output online pictures or offline according to the status value. picture.
<script> <br>
var online = new Array(); <br>
</script>
希望本文所述对大家的javascript程序设计有所帮助。