其实有多种方法 我这里就写下两种
Method 1
http://webpresence.qq.com/getonline?Type=1&+qq号:
if (online[0] ==0)
{
window.alert("在线中~");
}
else
{
window.alert("隐身或离线");
}
Method 2
http://wpa.qq.com/pa?p=1:+号+qq:1
http://wpa.qq.com/pa?p=1:+号+qq:2
....................