<script type="text/javascript">
(function() {
var whileList = {
'qzs.qq.com': 1,
'astro.fashion.qq.com': 1,
'gameapp.qq.com': 1,
'fn.qq.com': 1
};
function getHostname(href) {
var a = document.createElement('a');
a.href = href;
return a.hostname;
}
function deleteAllCookies() {
var cookies = document.cookie.split('; ');
for (var c = 0; c < cookies.length; c++) {
var d = window.location.hostname.split('.');
while (d.length > 0) {
var cookieBase = encodeURIComponent(cookies[c].split(';')[0].split('=')[0]) + '=; expires=Thu, 01-Jan-1970 00:00:01 GMT; domain=' + d.join('.') + ' ;path=';
var p = location.pathname.split('/');
document.cookie = cookieBase + '/';
while (p.length > 0) {
document.cookie = cookieBase + p.join('/');
p.pop();
};
d.shift();
}
}
window.g_qzonetoken = ''
}
if(window.opener && document.referrer) {
var refererName = getHostname(document.referrer);
var refererSplit = refererName.split('.');
var refererDomain2 = refererSplit.slice(-2).join('.');
var refererDomain3 = refererSplit.slice(-3).join('.');
var refererDomain4 = refererSplit.slice(-4).join('.');
var openerHost
var openerSplit
var openerDomain2
var openerDomain3
var openerDomain4
var domain = document.domain
document.domain = 'qq.com'
try {
openerHost = window.opener.location.host
openerSplit = openerHost.split('.');
openerDomain2 = openerSplit.slice(-2).join('.');
openerDomain3 = openerSplit.slice(-3).join('.');
openerDomain4 = openerSplit.slice(-3).join('.');
} catch (error) {
openerHost = ''
}
document.domain = domain
if(refererDomain2 === 'qq.com' && refererDomain3 !== 'qzone.qq.com') {
// referer
if((whileList[refererDomain3] === 1 || whileList[refererDomain4] === 1)) {
console.log('whileList opener');
} else {
deleteAllCookies();
}
} else if(openerHost) {
// opener
if(openerDomain2 === 'qq.com' && openerDomain3 !== 'qzone.qq.com') {
if((whileList[openerDomain3] === 1 || whileList[openerDomain4] === 1)) {
console.log('whileList opener');
} else {
deleteAllCookies();
}
}
}
}
})()
</script>
<script type="text/javascript">
window.diyitems_1_url = ''
window.g_cdn_proto = 'https:'
var g_domain = "qq.com";
document.domain=g_domain;
window.g_isFrameWorkTestEnv = "0";
window.g_point0=Date.now();
var _s_=new Date(),
g_T={},
siDomain="qzonestyle.gtimg.cn",
imgcacheDomain="qzs."+g_domain,
g_iUin=3135574576,
g_iLoginUin=3135574576;
g_T.fwp=[_s_];
//引入配置文件
window.g_dms = {
'u.qzone.qq.com' : 1,
'base.s2.qzone.qq.com' : 1,
'base.s8.qzone.qq.com' : 1,
'base.qzone.qq.com' : 1,
'r.qzone.qq.com' : 1,
'rsh.qzone.qq.com' : 1,
'ic2.cnc.qzone.qq.com' : 1,
'ic2.edu.qzone.qq.com':1,
'ic2.qzone.qq.com':1,
'ic2.s1.qzone.qq.com':1,
'ic2.s11.qzone.qq.com' : 1,
'ic2.s12.qzone.qq.com':1,
'ic2.s2.qzone.qq.com' : 1,
'ic2.s21.qzone.qq.com' : 1,
'ic2.s5.qzone.qq.com':1,
'ic2.s51.qzone.qq.com':1,
'ic2.s6.qzone.qq.com':1,
'ic2.s7.qzone.qq.com':1,
'ic2.s8.qzone.qq.com' : 1,
'ic2.qzone.qq.com' : 1,
'xalist.photo.qzone.qq.com' :1,
'hzalist.photo.qzone.qq.com' :1,
'alist.photo.qzone.qq.com' :1,
'shalist.photo.qzone.qq.com' :1,
'plist.photo.qzone.qq.com':1,
'xaplist.photo.qzone.qq.com':1,
'hzplist.photo.qzone.qq.com':1,
'gzplist.photo.qzone.qq.com':1,
'shplist.photo.qzone.qq.com':1,
'photo.qzone.qq.com':1,
'xa.photo.qzone.qq.com':1,
'hz.photo.qzone.qq.com':1,
'gz.photo.qzone.qq.com':1,
'shanghai.photo.qzone.qq.com':1,
'app.photo.qzone.qq.com':1,
'b.qzone.qq.com':1,
'b1.cnc.qzone.qq.com':1,
'b1.edu.qzone.qq.com':1,
'b1.qzone.qq.com':1,
'b11.cnc.qzone.qq.com':1,
'b11.edu.qzone.qq.com':1,
'b11.qzone.qq.com':1,
'b1.ctc.qzone.qq.com':1,
'b11.ctc.qzone.qq.com':1,
'b.ctc.qzone.qq.com':1,
'b.edu.qzone.qq.com':1,
'fav.qzone.qq.com' : 1,
'sns.qzone.qq.com' : 1,
'm.qzone.qq.com' : 1,
'snsapp.qzone.qq.com' : 1,
'taotao.qzone.qq.com' : 1,
'w.qzone.qq.com' : 1,
'g.qzone.qq.com' : 1
};
window.g_sdms = {
'taotao.qq.com' : 1,
'taotao.qzone.qq.com' : 1,
'b.qzone.qq.com' : 1,
'pageapp.qzone.qq.com' : 1,
'b11.qzone.qq.com' : 1,
'b1.qzone.qq.com' : 1,
'br.qzone.qq.com' : 1,
'm.qzone.qq.com' : 1,
'base.qzone.qq.com' : 1,
'w.qzone.qq.com' : 1,
'g.qzone.qq.com' : 1,
'r.qzone.qq.com' : 1,
'ic2.qzone.qq.com' : 1,
'boss.qzone.qq.com' : 1,
'mall.qzone.qq.com' : 1,
'statistic.qzone.qq.com' : 1,
'fav.qzone.qq.com' : 1,
'snsapp.qzone.qq.com' : 1,
'vip.qzone.qq.com' : 1,
'route.store.qq.com' : 1,
'drift.qzone.qq.com' : 1,
'p1.qzone.qq.com' : 1,
'p2.qzone.qq.com' : 1,
'xalist.photo.qzone.qq.com' :1,
'hzalist.photo.qzone.qq.com' :1,
'alist.photo.qzone.qq.com' :1,
'shalist.photo.qzone.qq.com' :1,
'plist.photo.qzone.qq.com':1,
'xaplist.photo.qzone.qq.com':1,
'hzplist.photo.qzone.qq.com':1,
'gzplist.photo.qzone.qq.com':1,
'shplist.photo.qzone.qq.com':1,
'photo.qzone.qq.com':1,
'xa.photo.qzone.qq.com':1,
'hz.photo.qzone.qq.com':1,
'gz.photo.qzone.qq.com':1,
'shanghai.photo.qzone.qq.com':1,
'tj.photo.qzone.qq.com':1,
'app.photo.qzone.qq.com':1,
'memo.qq.com' : 1,
'analy.qq.com' : 1,
'analy.qzone.qq.com' : 1,
'page.qq.com' : 1,
'rsh.qzone.qq.com' : 1,
'search.qzone.qq.com' : 1,
'flower.qzone.qq.com' : 1,
'sz.ic2.qzone.qq.com' : 1,//通过qqtips到PC空间时,ic2域名统一走深圳
'up.photo.qq.com' : 1
};
window.g_cgidomain = location.host.replace('.qzone.qq.com','') || 'h5';
window.g_proto = 'https:';
document.namespaces&&document.namespaces.add&&(document.namespaces.add('qz', location.protocol + '//qzone.qq.com/'),document.namespaces.add('x', location.protocol+'//qzone.qq.com/'));
var QZFL={},
QZFF_M_img_ribr=[];
QZFL.event={
getEvent : function(evt){
var evt=window.event||evt,c,cnt;
if(!evt&&window.Event){
c=arguments.callee;
cnt=0;
while(c){
if((evt=c.arguments[0])&&typeof(evt.srcElement)!="undefined"){
break;
}else if(cnt>9){
break;
}
c=c.caller;
++cnt;
}
}
return evt;
},
getTarget : function(evt){
var e=QZFL.event.getEvent(evt);
if(e){
return e.srcElement||e.target;
}
return null;
}
};
QZFL.object = {
getType: function(o){return o === null ? 'null' : (o === undefined ? 'undefined' : Object.prototype.toString.call(o).slice(8,-1).toLowerCase());}
};
QZFL.media={
reduceImgByRule:function(ew,eh,opts,cb){
QZFF_M_img_ribr.push(QZFL.event.getTarget());
},
adjustImageSize:function(w,h,s,cb,ecb){
var op = {trueSrc:s,callback:function(o, type, ew, eh, p){(QZFL.object.getType(cb) == "function") && cb(o, ew, eh, null, p.ow, p.oh,p);},errCallback:ecb};
QZFL.media.reduceImage(0, w, h, op);
},
reduceImage:function(type, ew, eh, opts){
var rd = function(o, t, ew, eh, p, cb){
var rl, k;
if(p.rate==1){
p.direction[0] = ( ew>eh ? 'height' : 'width');
p.direction[1] = ( ew>eh ? 'width' : 'height');
}
rl = ( p.direction[t] == "width" ? ew : eh );
t ? ( ( ( rl>p.shortSize ) ? ( rl = p.shortSize ) : 1 ) && ( p.k = p.shortSize/rl ) ) : ( ( ( rl>p.longSize ) ? ( rl = p.longSize ) : 1 ) && ( p.k = p.longSize/rl ) );
o.setAttribute(p.direction[t],rl);
(QZFL.object.getType(cb) == "function") && cb(o, t, ew, eh, p);
};
opts = opts || {};
opts.img = (opts.img && (typeof(opts.img.nodeName) != 'undefined' || typeof(opts.img.nodeType) != 'undefined') ? opts.img : QZFL.event.getTarget());
opts.img.onload=null;
opts.trueSrc && (opts.img.src = opts.trueSrc);
if(opts.img){
if( ! ( opts.direction && opts.rate && opts.longSize && opts.shortSize ) ){
r = QZFL.media.getImageInfo(function(o,p){
if(!o||!p){
return;
}
rd(opts.img, type, ew, eh, p, opts.callback)
},opts);
}else{
rd(opts.img, type, ew, eh, opts, opts.callback)
}
}
},
getImageInfo:function(callback, opts){
var gif = function(img,cb,opts){
if(img){
var _w = opts.ow || img.width, _h = opts.oh || img.height, r,ls,ss,d;
if(_w && _h){
if(_w >=_h){
ls = _w;
ss = _h;
d = ["width","height"];
}else{
ls = _h;
ss = _w;
d = ["height","width"];
}
r = {
direction:d,
rate : ls/ ss,
longSize :ls,
shortSize :ss
};
r.ow = _w;
r.oh = _h;
}
(QZFL.object.getType(cb) == "function") && cb(img,r,opts);
}
};
opts = opts || {};
if(QZFL.object.getType(opts.trueSrc)== "string"){
var _i = new Image();
_i.onload = (function(ele, cb, p){
return function(){
gif( ele, cb, p );
ele = ele.onerror = ele.onload = null;
};
})(_i, callback, opts);
_i.onerror = (function(ele, cb, p){
return function(){
if (typeof(p.errCallback) == 'function') {
p.errCallback();
}
ele = ele.onerror = ele.onload = null;
};
})(_i, callback, opts);
_i.src = opts.trueSrc;
}else if(opts.img && opts.img.nodeType == 1){
gif(opts.img, callback, opts );
}
}
};
function restXHTML(s){
return s.replace(/&|<|>|'|�?39;|"/g,function(a){
switch (a){
case "&":return "&";
case "<":return"<";
case ">":return ">";
case "'":
case "'":
case "'":return "\x27";
case """:return "\x22";
}
});
}
window.g_isGrayRelease = true;
window.g_isGrayFlashNavi = true
window.g_iframeDescend = true
window.g_isgraynamecard = true
</script>
处理掉部分
<!--[if IE]>
<script type="text/javascript">
function toAbsURL(s) {
var l = location, h, p, f, i;
if (/^\w+:/.test(s)) {
return s;
}
h = l.protocol + '//' + l.host + (l.port!=''?(':' + l.port):'');
if (s.indexOf('/') == 0) {
return h + s;
}
p = l.pathname.replace(/\/[^\/]*$/, '');
f = s.match(/\.\.\//g);
if (f) {
s = s.substring(f.length * 3);
for (i = f.length; i--;) {
p = p.substring(0, p.lastIndexOf('/'));
}
}
return h + p + '/' + s;
}
var base = document.getElementsByTagName('base')[0];
base.href = toAbsURL(base.href);
</script>
<![endif]-->
<script type="text/javascript">
// jserror上报
if(window.g_iLoginUin % 10 == 3 || window.g_iLoginUin % 10 == 1) {
var uinArray = /uin=o0*(\S+);/.exec(document.cookie || '');
var pathArray = /^\/[^\/]+?\/[^\/]+/.exec(location.pathname || '');
var qua = '',
apn = 'WIFI',
uin = uinArray && uinArray[1];;
var collector = [],
collectorTime = 2000,//2000ms时间间隔内的请求合并上报
collectorTimer;
window.reportHaboGlobal = function(code, appid, command) {
// 兼容hybrid需要自动补前缀的老逻辑
command = command || '';
if (command[0] === '/') {
command = 'hybrid' + command + (pathArray && pathArray[0]);;
}
var data = {
releaseversion: qua,
apn: apn,
touin: uin,
key: 'appid,commandid,resultcode' //标记分组上报的key顺序
};
collector.push([appid || '1000361', command, code]);
var url = location.protocol === 'https:' ? 'https://h5.qzone.qq.com/wspeed.qq.com/w.cgi' : 'http://wspeed.qq.com/w.cgi';
collectorTimer && clearTimeout(collectorTimer);
collectorTimer = setTimeout(report, collectorTime);
function report() {
var params = [];
for (var key in data) {
if (data.hasOwnProperty(key)) {
params.push(key + '=' + encodeURIComponent(data[key]));
}
}
//遍历合并上报的数组
if (collector && collector.length) {
var i = 0;
while (collector.length) {
//太长就下次上报
if (params.join('&').length > 1000) {
break;
}
var c = collector.shift();
//appid,commandid,resultcode
params.push([i + 1, 1].join('_') + '=' + c[0]);
params.push([i + 1, 2].join('_') + '=' + c[1]);
params.push([i + 1, 3].join('_') + '=' + c[2]);
i++;
}
}
params.push('rv=' + Math.random());
new Image().src = url + '?' + params.join('&');
//队列太长未上报完的1秒后再上报
i > 0 && collector.length && setTimeout(report, 1000);
}
};
var toUrlParam = function(data) {
var arr = [];
for (var key in data) {
if (data.hasOwnProperty(key)) {
if(data[key] !== '' && data[key] !== undefined) {
arr.push(encodeURIComponent(key) + '=' + encodeURIComponent(data[key]));
}
}
}
return arr.join('&');
};
var send = function(data, callback, onTimeout) {
try {
// 设置超时
onTimeout && setTimeout(function() {
callback = null;
onTimeout && onTimeout();
}, 3000);
data = toUrlParam(data);
var url = '//h5.qzone.qq.com/log/post/script/error/' + command;
var xhr = window.XMLHttpRequest ? new XMLHttpRequest() : {};
if ('withCredentials' in xhr) {
xhr.open('post', url, true);
xhr.withCredentials = true;
xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
xhr.onreadystatechange = function(){
if (xhr.readyState == 4 && xhr.status == 200) {
var o = JSON.parse(xhr.responseText);
onTimeout = null;
callback && callback(o);
}
};
try{xhr.send(data);}catch(e){};
} else if ('XDomainRequest' in window) {
var xdr = new XDomainRequest();
xdr.open('post', url);
xdr.onload = function() {
var o;
window.JSON ? (o = JSON.parse(xdr.responseText)) : eval('o = ' + xdr.responseText);
onTimeout = null;
callback && callback(o);
};
setTimeout(function() {
try{xdr.send(data);}catch(e){};
}, 0);
}
} catch(e) {}
};
var appid = '1000416',
maxJsErrorCount = parseInt(''),
maxJsErrorCount = isNaN(maxJsErrorCount) ? 5 : maxJsErrorCount,
jsErrorCount = 0,
command = 'hybrid/pcweb',
reportHabo = 1,
queue = [],
isReporting = false,
hasReportPv = false;
var report = function() {
var data = queue.shift();
if (!data) {
isReporting = false;
return;
}
isReporting = true;
data.reportHabo = reportHabo;
reportHabo = 0;
send(data, function(o) {
if (o && o.code == 0 && o.data && o.data.result != 1) {
// 错误被忽略,还原上报habo标记
reportHabo = data.reportHabo;
}
// 延时1s上报下一个错误
setTimeout(report, 1000);
}, function() {
// 请求超时了,继续上报下一个到罗盘,habo就当报过了
report();
});
};
window.reportJsError = function(data) {
reportPv();
if (jsErrorCount++ >= maxJsErrorCount) {return;}
queue.push(data);
!isReporting && report();
};
var filterError = function(data) {
if(data.stack.indexOf('SyntaxError: Unexpected token') > -1) {
return true;
}
if(data.scriptUrl.indexOf('videoPlayer') > -1) {
return true;
}
if(data.scriptUrl.indexOf('app_engine') > -1) {
return true;
}
if(data.scriptUrl.indexOf('namecardv2') > -1) {
return true;
}
if(data.scriptUrl.indexOf('toolbar/core.js') > -1) {
return true;
}
if(data.scriptUrl.indexOf('/gdt/') > -1) {
return true;
}
if(data.lineNumber == 0) {
return true;
}
return false;
};
var onError = function(event) {
var data = {
appid: appid,
error: event.message,
stack: event.error && event.error.stack || '',
url: location.href,
scriptUrl: event.filename,
lineNumber: event.lineno,
columnNumber: event.colno
};
var fn = window.beforeJsErrorReport;
if (typeof fn === 'function' && false === fn(data)) {
return;
}
if(filterError(data)) {
return;
}
window.reportJsError(data);
};
var reportPv = function() {
if (hasReportPv) {return;}
// 上报PV为哈勃成功
window.reportHaboGlobal && reportHaboGlobal(0, appid, command);
hasReportPv = true;
};
if (window.addEventListener) {
window.addEventListener('error', onError);
window.addEventListener('load', reportPv);
} else if (window.attachEvent) {
window.attachEvent('onerror', onError);
window.attachEvent('onload', reportPv);
} else {
window.onerror = onError;
setTimeout(reportPv, 3000);
}
window.listenError = true;
}
</script>
<script type="text/javascript">
g_T.fwp[4] = new Date();var g_V={qz:'_v8_2.1.65',jq:'2.0.3',sea:'2.1.1',core_ic:'50108',fp:'60628',ic:'80206',popcss:'?d=140918103710',delay:'-yoo190131143813',req:'61221',ci:'_20131225'};
var g_ISP={p:"4",
i:"11",
f:"1",
c:'124.200.108.105'},
g_type="M",
g_Set="",
g_ICSet="",
g_SPrefix="",
g_SPrefix_Server="cn.",
g_DPrefix="",
g_dns_name="",
g_UserBitmap="08009c0002000001",
g_LoginBitmap="08009c0002000001",
g_UserunimBitmap="0000008000000000",
g_LoginUnimBitmap="0000008000000000",
g_UserVipStarBitmap="0000000000000000",
g_LoginVipStarBitmap="0000000000000000",
g_Bitmap_3rd="0000000000000800",
g_IZone_Flag=+"1",
g_diyTitle="",
g_SceneID=9,
g_neatstyle=0,
g_7DDressNo=0,
g_StyleID="35",
g_fullMode=6,
g_Mode="ofp",
g_version=8,
g_isFriend=0,
g_NowTime=1558938954,
g_StaticFlag="0",
g_isDirectApp=0,
ownermode=(g_iLoginUin==g_iUin),
ownerProfileSummary=["小四吃麦喵",
0,
0,
"@@",
"小四吃麦喵的空间",
"",
"0-0-0",
"0000000000000000"],
g_isOFP="1",
g_isHideTitle="0",
g_icLayout="0",
g_isFromPengYou="",
g_isBrandQzone="",
g_isFamousQzone="",
g_xwMode="",
g_needDec=1,
g_isFastPav=1,
g_scenarioidle="0",
g_isBGScroll=0,
g_Dressup={items:[{type:1,itemno:94786,posx:0,posy:0,posz:0,height:0,width:0,flag:222},{type:91,itemno:94914,posx:0,posy:0,posz:0,height:0,width:0,flag:0} ],windows:[{appid:4,mode:0,posx:2,posy:0,posz:0,height:0,width:0,wndid:0},{appid:2,mode:0,posx:2,posy:1,posz:0,height:0,width:0,wndid:0},{appid:333,mode:0,posx:2,posy:2,posz:0,height:0,width:0,wndid:0},{appid:218,mode:0,posx:2,posy:3,posz:0,height:0,width:0,wndid:0},{appid:847,mode:0,posx:2,posy:4,posz:0,height:0,width:0,wndid:0}]},
g_isLite=0,
g_yPos=+'',
g_portraitTime=+'0',
g_loginPortraitTime = + '0',
g_firstLoginTime=+'1558938954',
g_isLikable=+'1',
g_likedNumber=+'0',
g_likeable_today=+"1",
g_supportWebp=+'1',
g_OSClass="os-win7",
g_applistWallNum = parseInt("0" || "0",10),
g_isStarVip = +"0",
g_isStarVipYear = +"0",
g_iStarVipLevel = +"0",
g_iEmoji=[],
g_PreData={app:{
ret:0,
data:{},
flag:1
},
flower:{
ret:0,
score:+"182",
gardener:+"11"
},
hat:{
ret:-1,
id:+""
},
hotbar:{
ret:-2
},
qbossData:{
2161:{
posid : "2161",
res_traceinfo : "2161_293410_445_1_0_0_0_dummy",
res_data : "{\x22jumpAction\x22:\x22https:\/\/cf.qq.com\/cp\/a20190513pcyure\/hz.shtml\x22,\x22islink\x22:\x221\x22,\x22flash\x22:\x22https:\/\/qzonestyle.gtimg.cn\/qzone\/space_item\/boss_pic\/2161_2018_12\/1546066404930_73804.swf\x22,\x22flash_md5\x22:\x22f1ceed9044407e09944bd2017d98dfcc\x22}",
res_preprocess : "{\x22img\x22:\x22https:\/\/qzonestyle.gtimg.cn\/qzone\/space_item\/boss_pic\/2161_2018_12\/1546066404930_73804.swf\x22,\x22link\x22:\x22https:\/\/cf.qq.com\/cp\/a20190513pcyure\/hz.shtml\x22,\x22islink\x22:1}"
}
},
potential:{flag:+''},
homeAddr:{"hco":"","hp":"","hc":""},
qq_friendNum:"1"
},
g_app_identifier='',
qlogoDomain="store.qq.com",
g_starstamp_pic = +'1558337311',
g_starstamp_emotion = +'1510986778',
g_ic_fpfeedsType='friend',
g_Data={
feedsPart1: {result:'',message:'',main:{needFold:'',icServerTime:'1558938955',icView:'1',daylist:'',uinlist:'',hasMoreFeeds_0:true,hasMoreFeeds_1:true,hasMoreFeeds_100:true,foldAllHostBTNClass:'',foldAllHostBTNTitle:'',foldAllHostFeedDisplay:'',friend_more:'',host_more:'',aboutHostFeeds_new_cnt:'0',replyHostFeeds_new_cnt:'0',host_pav_offset:'',get_visitorfeed:'1',myFeeds_new_cnt:'0',friendFeeds_new_cnt:'0',friendFeeds_newblog_cnt:'',friendFeeds_newphoto_cnt:'',newfeeds_uinlist:'',newfeeds_uinlist_more:'',newfeeds_special_cnt:'0',newfeeds_friend_cnt:'0',newfeeds_follow_cnt:'0',newfeeds_group_cnt:'',tips:'',js_showtips:'',lastaccesstime:'',lastAccessRelateTime:'',begintime:'1557997112',dayspac:'4',hidedNameList:[],QzoneFeedsKey:'',hsFlag:'',aisortNextTime:'',aisortBeginTime:'',aisortEndTime:'',aisortOffset:'',blacklist:'3135574576',pagenum:'2',externparam:'basetime=1557997112&pagenum=2&dayvalue=4&getadvlast=1&hasgetadv=101822348^0^1558938954&lastentertime=1558682942&LastAdvPos=2&UnReadCount=0&UnReadSum=-1&LastIsADV=1&UpdatedFollowUins=&UpdatedFollowCount=0&LastRecomBrandID=&TRKPreciList='}},
feedsPart2: {host_data:[undefined], about_data:[ undefined ],friend_data:[undefined], firstpage_data:[ { ver:'1', appid:'2', typeid:'5', key:'bae512305ce4a6e9', flag:'0', dataonly:'0', feedno:'0', title:'', summary:'', appiconid:'2', clscFold:'icenter_list_extend', abstime:'1558488809', feedstime:'5月22日 09:33', userHome:'http://user.qzone.qq.com/3135574576', namecardLink:'nameCard_3135574576', ouin:'', uin:'3135574576', opuin:'3135574576', foldFeed:'', foldFeedTitle:'', showEbtn:'', scope:'0', hideExtend:'', nickname:'小四吃麦喵', remark:'',score:'', type:'', vip:'vip_0', bitmap:'08009c0002000001', yybitmap:'0000000000000000', info_user_name:'', logimg:'http://qlogo1.store.qq.com/qzone/3135574576/3135574576/50', bor:'', lastFeedBor:'', list_bor2:'', info_user_display:'', upernum:'', oprType:'0', moreflag:'', otherflag:'0_1_1_0_0_0_0', sameuser:{}, uper_isfriend:[], uperlist:[],mergeData:[undefined] }, { ver:'1', appid:'2', typeid:'5', key:'bae512305ce256e9', flag:'0', dataonly:'0', feedno:'1', title:'', summary:'', appiconid:'2', clscFold:'icenter_list_extend', abstime:'1558337257', feedstime:'5月20日 15:27', userHome:'http://user.qzone.qq.com/3135574576', namecardLink:'nameCard_3135574576', ouin:'', uin:'3135574576', opuin:'3135574576', foldFeed:'', foldFeedTitle:'', showEbtn:'', scope:'0', hideExtend:'', nickname:'小四吃麦喵', remark:'',score:'', type:'', vip:'vip_0', bitmap:'08009c0002000001', yybitmap:'0000000000000000', info_user_name:'', logimg:'http://qlogo1.store.qq.com/qzone/3135574576/3135574576/50', bor:'', lastFeedBor:'', list_bor2:'', info_user_display:'', upernum:'', oprType:'0', moreflag:'', otherflag:'0_1_1_0_0_0_0', sameuser:{}, uper_isfriend:[], uperlist:[],mergeData:[undefined] }, { ver:'1', appid:'6600', typeid:'1', key:'advertisement_app_0', flag:'0', dataonly:'0', feedno:'2', title:'', summary:'', appiconid:'6600', clscFold:'icenter_list_extend', abstime:'1558938954', feedstime:' 14:35', userHome:'http://user.qzone.qq.com/0', namecardLink:'nameCard_0', ouin:'', uin:'0', opuin:'0', foldFeed:'', foldFeedTitle:'', showEbtn:'', scope:'0', hideExtend:'', nickname:'', remark:'',score:'', type:'', vip:'vip_0', bitmap:'0000000000000000', yybitmap:'0000000000000000', info_user_name:'', logimg:'http://qlogo1.store.qq.com/qzone/0/0/50', bor:'', lastFeedBor:'', list_bor2:'', info_user_display:'', upernum:'', oprType:'0', moreflag:'', otherflag:'0_0_0_0_0_0_0', sameuser:{}, uper_isfriend:[], uperlist:[],mergeData:[undefined] }, { ver:'1', appid:'2', typeid:'5', key:'bae512305cdf7bef', flag:'0', dataonly:'0', feedno:'3', title:'', summary:'', appiconid:'2', clscFold:'icenter_list_extend', abstime:'1558150127', feedstime:'5月18日 11:28', userHome:'http://user.qzone.qq.com/3135574576', namecardLink:'nameCard_3135574576', ouin:'', uin:'3135574576', opuin:'3135574576', foldFeed:'', foldFeedTitle:'', showEbtn:'', scope:'0', hideExtend:'', nickname:'小四吃麦喵', remark:'',score:'', type:'', vip:'vip_0', bitmap:'08009c0002000001', yybitmap:'0000000000000000', info_user_name:'', logimg:'http://qlogo1.store.qq.com/qzone/3135574576/3135574576/50', bor:'', lastFeedBor:'', list_bor2:'', info_user_display:'', upernum:'', oprType:'0', moreflag:'', otherflag:'0_1_1_0_0_0_0', sameuser:{}, uper_isfriend:[], uperlist:[],mergeData:[undefined] }, { ver:'1', appid:'2', typeid:'5', key:'bae512305cde81ab', flag:'0', dataonly:'0', feedno:'4', title:'', summary:'', appiconid:'2', clscFold:'icenter_list_extend', abstime:'1558086059', feedstime:'5月17日 17:40', userHome:'http://user.qzone.qq.com/3135574576', namecardLink:'nameCard_3135574576', ouin:'', uin:'3135574576', opuin:'3135574576', foldFeed:'', foldFeedTitle:'', showEbtn:'', scope:'0', hideExtend:'', nickname:'小四吃麦喵', remark:'',score:'', type:'', vip:'vip_0', bitmap:'08009c0002000001', yybitmap:'0000000000000000', info_user_name:'', logimg:'http://qlogo1.store.qq.com/qzone/3135574576/3135574576/50', bor:'', lastFeedBor:'', list_bor2:'', info_user_display:'', upernum:'', oprType:'0', moreflag:'', otherflag:'0_1_1_0_0_0_0', sameuser:{}, uper_isfriend:[], uperlist:[],mergeData:[undefined] }, { ver:'1', appid:'2', typeid:'5', key:'bae512305cdd2638', flag:'0', dataonly:'0', feedno:'5', title:'', summary:'', appiconid:'2', clscFold:'icenter_list_extend', abstime:'1557997112', feedstime:'5月16日 16:58', userHome:'http://user.qzone.qq.com/3135574576', namecardLink:'nameCard_3135574576', ouin:'', uin:'3135574576', opuin:'3135574576', foldFeed:'', foldFeedTitle:'', showEbtn:'', scope:'0', hideExtend:'', nickname:'小四吃麦喵', remark:'',score:'', type:'', vip:'vip_0', bitmap:'08009c0002000001', yybitmap:'0000000000000000', info_user_name:'', logimg:'http://qlogo1.store.qq.com/qzone/3135574576/3135574576/50', bor:'', lastFeedBor:'', list_bor2:'', info_user_display:'', upernum:'', oprType:'0', moreflag:'', otherflag:'0_1_1_0_0_0_0', sameuser:{}, uper_isfriend:[], uperlist:[],mergeData:[undefined] }, { ver:'1', appid:'5000', typeid:'1', key:'20050606_1558938954', flag:'0', dataonly:'0', feedno:'6', title:'', summary:'', appiconid:'5000', clscFold:'icenter_list_extend', abstime:'1558935354', feedstime:' 13:35', userHome:'http://user.qzone.qq.com/20050606', namecardLink:'nameCard_20050606', ouin:'', uin:'20050606', opuin:'20050606', foldFeed:'', foldFeedTitle:'', showEbtn:'', scope:'0', hideExtend:'', nickname:'官方Qzone', remark:'',score:'', type:'', vip:'novip', bitmap:'989d9de00513d081', yybitmap:'100008000000000b', info_user_name:'', logimg:'http://qlogo3.store.qq.com/qzone/20050606/20050606/50?1450773587', bor:'', lastFeedBor:'', list_bor2:'', info_user_display:'', upernum:'', oprType:'0', moreflag:'', otherflag:'1_0_0_0_0_0_1', sameuser:{}, uper_isfriend:[], uperlist:[],mergeData:[undefined] }, undefined ]},
feeds:{
type:'friend',
hostFeedsFilter:'',
view:'1'
}
},
g_moreModules=["v8/dress/otherview_v8","v8/core/state"],
G_Param={};
G_Param.qz_referrer='';
if(''=='special'){
document.getElementById('tab_menu_care').parentNode.className = 'current';
}else{
if(g_ic_fpfeedsType=="friend"){
document.getElementById('tab_menu_friend').parentNode.className = 'current';
}else{
document.getElementById('tab_menu_me').parentNode.className = 'current';
}
}
g_weather={};
g_weather['save']={
'country':'中国',
'province':'',
'city':'',
'temp':'',
'weather':'',
'day':'',
'pm2d5':''
};
var g_blog_loc_prefix='';
var g_BLOG_LOCATION_PREFIX='b', g_BLOG_LOCATION_LOGIN_PREFIX='b';
(function(){
var ua = {}, agent = navigator.userAgent;
if (window.ActiveXObject || window.msIsStaticHTML){
ua.ie = 6;
(window.XMLHttpRequest || (agent.indexOf('MSIE 7.0') > -1)) && (ua.ie = 7);
(window.XDomainRequest || (agent.indexOf('Trident/4.0') > -1)) && (ua.ie = 8);
(agent.indexOf('Trident/5.0') > -1) && (ua.ie = 9);
(agent.indexOf('Trident/6.0') > -1) && (ua.ie = 10);
(agent.indexOf('Trident/7.0') > -1) && (ua.ie = 11);
if(ua.ie == 6 || ua.ie == 7 || ua.ie == 8){
g_V.jq='1.10.2';
}
}
})();
(navigator.appVersion.indexOf("QQBrowser/7")>-1) && (function(){
try{
var styleTest = '';
var lastCpuTime,checkInterval = 1000,checkCount=15,threadCPUData=[],
qqbrowser = window.external.qqbrowser,
systemInfo = eval('('+ qqbrowser.perfCounter.systemInfo +')'),
memoryu = eval('('+ qqbrowser.perfCounter.memoryUsage +')'),
memorya = memoryu.Process.CommittedSize,
memoryb,
cpuNumber = systemInfo.LogicProcessors,
intervalUS = checkInterval*1000;
if(!cpuNumber){
return;
}
function calcCpuUsage(){
var cpuTime = eval('('+ qqbrowser.perfCounter.cpuTime +')');
if(lastCpuTime){
var delSystemTime = (cpuTime.system - lastCpuTime.system);
threadCPUData.push(100 * (cpuTime.thread - lastCpuTime.thread) / intervalUS);
}
lastCpuTime = cpuTime;
}
function avg(arr){
var h=0;
for(var i=0,len=arr.length;i<len;i++){
h+=arr[i];
}
return h/checkCount;
}
var _i=0,
timer = setInterval(function(){
if(_i<checkCount){
calcCpuUsage();
_i++;
}else{
clearTimeout(timer);
setTimeout(function(){
memoryu = eval('('+ qqbrowser.perfCounter.memoryUsage +')');
memoryb = memoryu.Process.CommittedSize;
if(window.TCISD && window.TCISD.createTimeStat){
var apiStat = TCISD.createTimeStat("apiTimeStat", [7820, 109, 6]);
apiStat.setZero(0);
G_Param.threadCPUUsage = avg(threadCPUData);
G_Param.threadMemoryUsage = memoryb-memorya;
apiStat.mark(1,G_Param.threadCPUUsage*1000);
apiStat.mark(2,G_Param.threadMemoryUsage);
apiStat.report();
}
},10000);
}
},checkInterval);
}catch(err){}
})();
</script>
<script>
(function(){
// if(window.location.protocol!='https:' || window.g_cdn_proto !='https'){
// return;
// }
var newSiDomain = 'h5.qzone.qq.com/proxy/domain/qzonestyle.gtimg.cn';
var cookieflag = document.cookie.indexOf('blabla')>-1;
if(cookieflag && (/(?:^user\.(s\d\.)?|\d{5,}\.|rc\.)qzone\.qq\.com/.test(location.host))){
newSiDomain = location.host+'/q/qzs';
}
(function(v,b,e,i,s){
var arJs=[];
if(!window.QZFL || !QZFL.lang){
arJs.push(b,s,'/ac/qzone/qzfl/qzfl',g_V.qz,'.js',e);
}
if(!window.seajs){
arJs.push(b,s,'/ac/lib/seajs/sea-'+g_V.sea+'.js',e);
}
if(arJs.length){
if(s.indexOf('h5.qzone.qq.com')>-1){
window.g_script_retry = 'h5.qzone.qq.com';
}else{
window.g_script_retry = 'user.qzone.qq.com';
}
arJs.push(b,s,'/c/=/qzone/v8/core/seajs_config.js,/qzone/v8/engine/plugin-combo.js,/qzone/v8/core/ic.js?max_age=31536001&d='+g_V.core_ic,e);
document.write(arJs.join(''));
}
})(g_V,'<script type="text/javascript" charset="utf-8" src="'+(window.g_cdn_proto || window.location.protocol)+'//','"><\/script>',imgcacheDomain,newSiDomain);
})();
</script>
<script type="text/javascript">
(function(){
if(!window.QZFL){
return;
}
var sslInfo = QZFL.cookie.get('x-stgw-ssl-info');
if(!sslInfo){
return;
}
var frags = sslInfo.split('|');
var isSessionReused = frags[4] == 'r';
var connectionNum = parseInt(frags[3] || '0',10);
if(window.g_iLoginUin%10 !=3){
//不用全部看
return;
}
if(connectionNum==1 && !ua.chrome){
window.haboStat && window.haboStat({
commandid : 'first_screen_ssl_session_reused',
stime : 1000,
resultcode : isSessionReused ? 0 : 1,
touin : window.g_iLoginUin || 0,
frequency : 1
});
}
})();
(function(){var _i=new Image(),_r=Math.random(),_re = new RegExp("(?:^|;+|\\s+)_qz_fix=([^;]*)"),m=document.cookie.match(_re),_v=!m ?"":m[1],_ph='//pinghot.qq.com/pingd?dm=homeact.qzone.qq.com.hot&url=/troubleshooter&tt=-&hottag=guanjia.qzonestyle.',_phe='&hotx=9999&hoty=9999&rand='+_r;_i.onerror=function(){var _t=new Image();if(_v>0){document.getElementById('trs_tip').innerHTML='如果您看到这个提示,说明QQ空间仍然无法正常打开,请您返回空间小助手,进行<a href="http://user.qzone.qq.com/troubleshooter#secondfix" title="空间小助手"><strong>深度修复</strong></a>';_t.src=_ph+'badagain'+_phe;}else{_t.src=_ph+'bad'+_phe;}var _d = document.createElement("div");_d.innerHTML = '<iframe frameborder="0" style="width:1px;height:1px;" src="http://user.qzone.qq.com/troubleshooter?traytip"></iframe>';document.body.appendChild(_d);};_i.onload=function(){if(_v==2){var _t=new Image();_t.src=_ph+'fixed'+_phe;}};_i.src='//'+siDomain+'/ac/qzone_v5/client/year_vip_icon.png?i='+_r;})();
QZFL.event.onDomReady(function(){
g_T.fwp[3] = new Date();
});
var fsimg = document.getElementById("full_background_img");
if(fsimg){
window.adjust_full_screen_skin = function(){
var bg = document.getElementById('full_background'),
bg_img=document.getElementById('full_background_img'),
cw = QZFL.dom.getClientWidth(),
ch = QZFL.dom.getClientHeight(),
iw = bg_img.width,
ih = bg_img.height;
bg.style.width=cw+"px";
bg.style.height=ch+"px";
if (cw / ch > iw / ih) {
var new_h = cw * ih / iw,
imgTop = (ch - new_h) / 2;
bg_img.style.width=cw + "px";
bg_img.style.height=new_h + "px";
bg_img.style.top="";
bg_img.style.left="";
}else {
var new_w = ch * iw / ih,
imgLeft = (cw - new_w) / 2;
bg_img.style.width=new_w + "px";
bg_img.style.height=ch + "px";
bg_img.style.left=imgLeft + "px";
bg_img.style.top="";
}
};
if (!QZONE.shop || !QZONE.shop.initDressUp) {
var url = fsimg.getAttribute("data-src");
fsimg.onload = adjust_full_screen_skin;
fsimg.src = url;
}
}
var mc = document.getElementById('menuContainer');
var oldGuideMap = {
N2: "myhome",
3: "305",
5: "4",
6: "306",
7: "1",
8: "3",
10: "311",
11: "323",
13: "338",
14: "myhome",
15: "yellowgrade",
17: "333",
18: "340"
};
var isDefaultMenu = '' == 1,
isCustom = '' & 2 > 0,
isMobile = (window.ua && (ua.isiPhone || ua.isiPad)),
lst;
window.getHotTagPrefix = function(){
var env = window.g_app_identifier != "" ? 'app' : (window.g_isOFP == "0" ? 'home' : 'center');
return env + 'click' + (window.ownermode ? "-host" : "-guest");
};
window.custom_menu_swf = function(id) {
if(QZFL.userAgent.chrome || QZFL.userAgent.safari){
var _cbi = document.getElementById('_chrome_bug_input');
if(!_cbi){
var _laybg = document.getElementById('layBackground');
QZFL.dom.createElementIn("input",_laybg,false,{id:"_chrome_bug_input",type:'text',style:"border:1px;width:1px;position:absolute;left:-10px;"});
_cbi = document.getElementById('_chrome_bug_input');
}
_cbi.focus();
}
if (id != 'close') {
id = (!isCustom && !isDefaultMenu && !isMobile) ? (oldGuideMap[id] || id) : id;
if(id == "-1" || id == "N1"){
id = "main";
}
if (id == '5' || id == '7') {
id = oldGuideMap[id];
}
var _p = getHotTagPrefix();
window.TCISD && TCISD.hotClick("menu_v8."+_p+".appid_"+id, "8.qzone.qq.com");
if(id == '219'){
if(QZONE.music && typeof(QZONE.music.switchPage)=="function"){
QZONE.music.switchPage();
}
}else{
if(QZONE.FrontPage && QZONE.FrontPage.toApp) {
QZONE.FrontPage.toApp("/" + id);
}
}
}
return false;
};
if (!QZONE.shop || !QZONE.shop.initDressUp) {
mc && QZFL.event.delegate(mc, 'li', 'click', function (e) {
QZFL.event.preventDefault(e);
this.className = this.className.replace(/_\-1/, '_N1');
var appid = this.className.match(/menu_item_([A-Z0-9\-]*)/i);
appid && appid[1] && custom_menu_swf(appid[1]);
if (lst) {
QZFL.css.removeClassName(lst, 'cur');
}
lst = this;
QZFL.css.addClassName(lst, 'cur');
});
mc && mc.setAttribute('reged', '1');
}
(function(){try{if(parent!=self && (parent.document.domain!=document.domain || (document.referrer && !/^http(s)?:\/\/[.\w-]+\.qq\.com\//i.test(document.referrer)))){throw new Error("can't be iframed");}}catch(e){window.open(location.href, "_top");}})();
/**
* β 增加新接口 获取通过URL传递的参数值
* @param {String} name 参数的名称
*/
var getParameter = function(url, name){
var r = new RegExp("(\\?|#|&)" + name + "=([^&#]*)(&|#|$)"),
m = url.match(r);
return (!m ? "" : m[2]);
};
//上报用iframe嵌套qzone的用户
var qq = getParameter(location.href, 'qzoneInIframe');
if(qq) {
TCISD.stringStat(1000100, {
bid: 108146,
rc: 'QQ:' + qq
}, {
reportRate: 1
});
}
var clickReport = getParameter(location.href, 'clickReport');
if(window.TCISD && window.TCISD.pv) {
TCISD.pv('user.qzone.qq.com', clickReport);
}
</script>
<script type="text/javascript">
window.g_qzonetoken = (function(){ try{return "16c3a514a3ccc466e5e0ec2c446b8b9b9152014956b60e51d5b46f89df3229e1c3a28f779281482fe8084a";} catch(e) {var xhr = new XMLHttpRequest();xhr.withCredentials = true;xhr.open('post', '//h5.qzone.qq.com/log/post/error/qzonetoken', true);xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');xhr.send(e);}})();
/**
* 框架机模调上报
*/
var reportMd = function (code, type, delay) {
//使用模调测速
var url = "//h5.qzone.qq.com/report/md?"
+ "fromId=204971707&toId=211006088&interfaceId=111900240"
+ (typeof code == 'undefined' ? '' : ("&code=" + code))
+ (typeof type == 'undefined' ? '' : ("&type=" + type))
+ (typeof delay == 'undefined' ? '' : ("&delay=" + Math.min(delay, 10 * 1000)))
+ '&r=' + Math.random();
var img = new Image();
img.src = url;
};
reportMd(0, 0, 1);
/**
* websocket支持度统计上报
*/
var url = "https://h5.qzone.qq.com/report/md?"
+ "fromId=204971724&toId=204971725&refer=lovezone&interfaceId="
+ '104985283' + "&code=" + (window.WebSocket ? 0 : 1)
+ "&type=0"
+ '&r=' + Math.random();
var img = new Image();
img.src = url;
//灰度降域
if(window.g_iLoginUin == '2728936574') {
setTimeout(function() {
document.domain = window.location.hostname;
}, 1000)
}
</script>
2985




被折叠的 条评论
为什么被折叠?



