英雄联盟的昵称与QQ

04-05

步骤:

请先在浏览器中登陆你的游戏人生 否则可能无法查询

1. 先访问网址http://igame.qq.com/center/relat ... e=26&server=2&role=【这里写你要查询的那个人的LOL昵称】

[Asm] 纯文本查看 复制代码

igame.qq.com/center/relation.php?op=role&ie=utf-8&game=26&server=2&role=
例如:
http://igame.qq.com/center/relat ... e=26&server=2&role=拓海真一
2. 查看源代码

[HTML] 纯文本查看 复制代码

<input type="hidden" id="hidden_qq_2" value="qdzdhpfb" /><div class="bd">
<div class="dialog-search-result">
<ul class="user-list user-list-1">
<li>
<div class="user_material_box">
<div class="thumb">
<a target="_blank" href="/qdzdhpfb">
<img width="40" height="40" alt="头像" src="http://p.qlogo.cn/igamehead/q2dT3h3nvtWibHhLEg48P3rAXIbK48UMr/40?v=">
</a>
</div>
<h3><a target="_blank" href="/qdzdhpfb">拓海真一</a></h3>
<div class="ico_box">
<i class="icon icon-1"></i>
</div>
<div class="user_area" area="14|1"></div>
<div class="user_info_sum">
收听<a target="_blank" href="http://igame.qq.com/home/relation.php?uin=qdzdhpfb">187</a>|
听众<a target="_blank" href="http://igame.qq.com/home/relation.php?uin=qdzdhpfb">189</a>|
动态<a href="javascript:;">0</a>
</div><div class="user_intro">编写你的游戏签名吧</div></div><div class="user_action"></div>
</li>
</ul>
</div>
</div>

从中找到了 http://igame.qq.com/home/relation.php?uin=qdzdhpfb 得到uin是qdzdhpfb
3. 访问网页http://igame.qq.com/home/sendmsg.php?qq=qdzdhpfb

[Asm] 纯文本查看 复制代码

http://igame.qq.com/home/sendmsg.php?qq=

5.获取源码

可能你访问到的是空白页面 右键查看源代码
然后会得到以下数据
[HTML] 纯文本查看 复制代码

<div class="dialog-mod dialog-private-letter" id="_popup_" style="display:none">
<span class="close dialog-mod-close" title="关闭">×</span>
<div class="dialog-hd c">
<h2 class="dialog-title">发站内信</h2>
</div>
<div class="dialog-bd">
<div class="form-box form-box-2">
<div class="form-row">
<div class="form-label">收件人:</div>
<div class="form-field"><input disabled="disabled" value="拓海真一" class="input_tx input_l"></div>
</div>
<div class="form-row">
<div class="form-label">内容:</div>
<div class="form-field">
<div class="textarea_box_1">
<textarea maxlength="140" id="site_msg_content" value=""></textarea>
</div>
</div>
</div>
</div>
</div>
<div class="dialog-ft c">
<p class="dialog-ft-btn"><a href="javascript:g_sendmsg_xfn.send_site_msg();" class="btn btn-primary1">确定</a>
<a href="javascript:g_sendmsg_xfn.hide_send_msg_dialog();" class="btn btn-simply">取消</a></p>
</div>
</div>
<div class="dialog-mod dialog-private-letter" style="display:none" id="div_send_msg_success">
<span title="关闭" class="close dialog-mod-close">×</span>
<div class="dialog-hd c">
<h2 class="dialog-title">发站内信</h2>
</div>
<div class="dialog-bd">
<div class="dialog-tips-style-1">
<p id="p_send_msg_success_ret"></p>
</div>
</div>
<div class="dialog-ft c">
<p class="dialog-ft-btn"><a class="btn btn-primary1" href="javascript:g_sendmsg_xfn.hide_send_msg_dialog();">确定</a></p>
</div>
</div>
<script type="text/javascript">
var g_sendmsg_xfn = {};
g_sendmsg_xfn.hide_send_msg_dialog = function()
{
seajs.use(["lib_showdialog"],function(showDialog)
{
showDialog.hide();
});
}

g_sendmsg_xfn.send_site_msg = function()
{
seajs.use(["lib_jquery", "lib_showdialog"], function(jq, showDialog){
var txt = jq("#site_msg_content").val();
if (txt.length > 140)
{
alert("非常抱歉,内容不能超过140个汉字");
return;
}
else if (0 == txt.length)
{
alert("非常抱歉,内容不能为空");
return;
}
jq.ajax({
type : "get",
url : "/interface/center/sitemsg.php?op=0&ie=utf-8&mtypelist=13&group=757549561" + "&content=" + encodeURIComponent(txt)
+ "&rd="+Math.random(),
dataType : "json",
success : function(data){
if(data.r == 0){
showDialog.hide();
jq("#p_send_msg_success_ret").html("发送成功");
showDialog.show({id:"div_send_msg_success",bgcolor:"#000",opacity:70});
if(jq("#_popup_").length>0){
var zIndex = jq("#_popup_").css("z-index");
jq("#div_send_msg_success").css("z-index",parseInt(zIndex)+1); //为了支持二次弹层,需要比原先的弹层高一层
}
}else{
showDialog.hide();
jq("#p_send_msg_success_ret").html("发送失败");
showDialog.show({id:"div_send_msg_success",bgcolor:"#000",opacity:70});
if(jq("#_popup_").length>0){
var zIndex = jq("#_popup_").css("z-index");
jq("#div_send_msg_success").css("z-index",parseInt(zIndex)+1); //为了支持二次弹层,需要比原先的弹层高一层
}
}
}
});
});
}
</script>

会比较长 有些人觉得麻烦 可以用查找功能 查找 url : "/interface/center/sitemsg.php?op=0&ie=utf-8&mtypelist=13&group= 这段文字 就可以看到QQ号码了 group= 后面的数字就是QQ号码了!