?? boot.js
字號:
(function(){
if(window.$_GLOBAL) {
return;
}
if (!window.console){
console = {
log : function(){
},
dir : function(){
},
error : function(){
}
};
}
if(typeof window.staticTime=="undefined")
window.staticTime=new Date().getTime();
var startTime = window.staticTime;
window.$_GLOBAL = {};
// pageid.js version
$_GLOBAL.ver = {
"blog7" : "335"
,"blog7photo" : "110"
,"blog7icp" : "162"
,"blog7activity": "17"
,"blog7crowd" : "3"
};
//群博客的 接口域名
$_GLOBAL.qURL = 'http://pro.qing.sina.com.cn';
$_GLOBAL.qingURL = 'http://qing.weibo.com';
$_GLOBAL.grzxTipBlack = {'other' : 1,'editor' : 1,'pageSetM' : 1,'editor_film' : 1,'other' : 1};
$_GLOBAL.cssBasicURL = 'http://simg.sinajs.cn/blog7style/css/';
//flash的基本地址
//新的:'http://sjs.sinajs.cn/blog7swf/';
$_GLOBAL.flashBasicURL = 'http://sjs.sinajs.cn/blog7swf/';
//頂踩的標志位代碼,用于和老的PHP代碼結合或者出現線上問題,可快速下線,如果沒有問題,可在一個月以后摘除
$_GLOBAL.diggerOpenFlag = true;
//等待flash的加載超時時間,如果flash的加載超過了這個時間,就認為它無效
$_GLOBAL.diggerFlashTimeout = 5000;
// flash template info
$_GLOBAL.flash_template = {};
$_GLOBAL._weiCaoPanUid = [1300871220,1216826604,1245296155,1284139322,1285707277,1458594614,1236135807,1504965870,1279884602,1364334665,1298535315,1319231304,1243037810,1278228085,1243881594,1282871591,1233227211,1279916282,1319802272,1215172700,1305431810,1301484230,1249424622,1258609013,1603589321,1307309734,1483330984,1092672395,1273642560,1500243557,1147012071,1253205351,1290677635,1434387020,1092849864,1342877185,1649821184,1264802107,1253386310,1409928055,1220069571,1301047350,1301047350,1301047350,1403112787,1219262581,1199839991,1272573150,1361584961,1251977337];
//* 下線tips廣告
// 推廣位tips廣告數據,如果不需要投
$_GLOBAL.tipsConfig={
"blogTip" : 1,
// 是否顯示此廣告
"isShow" : true,
// 托盤文字連接--Tips導航文字鏈
"adLink" : '<a style="color:red" href="http://sina.allyes.com/main/adfclick?db=sina&bid=204720,528884,534161&cid=0,0,0&sid=534779&advid=358&camid=37389&show=ignore&url=http://games.sina.com.cn/weibo/vplan/index.shtml" target="_blank">天上掉餡餅,微博掉勛章</a>',
//tips廣告背景
"backgroundPic" : 'http://www.sinaimg.cn/blog/qing/image/tips/weicaopan_bj.gif',
//"ie6BackgroundPic" : 'http://www.sinaimg.cn/blog/ads/weicaopan_bj.gif',
//點擊圖片的鏈接--Tips頭像
"imageLinkHref" : 'http://sina.allyes.com/main/adfclick?db=sina&bid=204720,528886,534163&cid=0,0,0&sid=534780&advid=358&camid=37389&show=ignore&url=http://weibo.gxq.com.cn/',
// 灰色標題
"tipsTitle" : '<a target="_blank" href="http://sina.allyes.com/main/adfclick?db=sina&bid=204720,528887,534164&cid=0,0,0&sid=534781&advid=358&camid=37389&show=ignore&url=http://games.sina.com.cn/weibo/vplan/index.shtml">天上掉餡餅,微博掉勛章</a>',
// 紅色廣告文字--Tips專題標題
"tipsTxtLink" : '<a href="http://sina.allyes.com/main/adfclick?db=sina&bid=204720,440571,445872&cid=0,0,0&sid=443863&advid=358&camid=37389&show=ignore&url=http://games.sina.com.cn/weibo/vplan/index.shtml" class="tips_adwords" target="_blank"></a>',
"tipsTxtLinkBgPic" : 'http://www.sinaimg.cn/blog/qing/image/tips/weicaopan_wz.gif',
"ie6TipsTxtLinkBgPic" : 'http://www.sinaimg.cn/blog/qing/image/tips/weicaopan_wz.gif',
// 底部參加按鈕
"tipsBtn" : '<a href="http://sina.allyes.com/main/adfclick?db=sina&bid=204720,528889,534166&cid=0,0,0&sid=534782&advid=358&camid=37389&show=ignore&url=http://games.sina.com.cn/weibo/vplan/index.shtml" target="_blank">立即參加</a>',
// 統計布碼
"status": {
"adstart": 'http://sina.allyes.com/main/adfclick?db=sina&bid=204720,528882,534159&cid=0,0,0&sid=534776&advid=358&camid=37389&show=ignore',
"adend": '',
"adclose": 'http://sina.allyes.com/main/adfclick?db=sina&bid=204720,528883,534160&cid=0,0,0&sid=534778&advid=358&camid=37389&show=ignore' //注意:這里不要url
}
};
//*/
$_GLOBAL.tipsMeila={
// 是否顯示此廣告
"isShow" : true,
// 托盤文字連接
"adLink" : '<a style="color:black;" target="_blank" href="http://sina.allyes.com/main/adfclick?db=sina&bid=204720,451397,456695&cid=0,0,0&sid=454907&advid=358&camid=37389&show=ignore&url=http://hao.weibo.com/home?entry=blog#login">凹凸曼,還用郵箱登錄微博?!</a>',
//tips廣告背景
"backgroundPic" : 'http://simg.sinajs.cn/xblogstyle/images/help/bg.gif',
"ie6BackgroundPic" : '',
// 廣告文字鏈接
"tipsTxtLink" : '<a target="_blank" href="http://union.9173.com/pub?p=1&u=1008">恭喜您獲得微三國新手大禮包!【 點擊獲取】</a>',
"tipsTxtLinkBgPic" : '',
"ie6TipsTxtLinkBgPic" : '',
// 統計布碼
"status": {
"adstart": '',
"adend": '',
"adclose": ''
}
};
// 動態模板的配置信息,寬|高
$_GLOBAL.flashtemplate = {
"13_1": { width:950,height:266 },
"13_2": { width:950,height:266 },
"13_3": { width:950,height:266 },
"13_4": { width:950,height:266 },
"13_5": { width:950,height:306 },
"13_6": { width:950,height:306 },
"13_7": { width:950,height:286 },
"13_8": { width:950,height:266 },
"13_9": { width:950,height:266 },
"13_10": { width:950,height:265 },
"13_11": { width:950,height:266 },
"13_12": { width:950,height:276 },
"13_13": { width:950,height:286 },
"13_14": { width:950,height:266 },
"13_15": { width:950,height:306 },
"13_16": { width:950,height:266 },
"13_17": { width:950,height:266 },
"13_18": { width:950,height:266 },
"13_19": { width:950,height:313 },
"13_20": { width:950,height:266 },
"13_21": { width:950,height:265 },
"10_57": { width:950,height:302 },
"10_94": { width:292,height:190 }
};
//表情點擊左側表情選擇的統計,結構為{pageID:{回復中點擊(0):功能參數,評論中點擊(1):功能參數}}
$_GLOBAL.faceChooseTable = {
'photo' : {'0':'05','1':'04'},
'articleM' : {'0':'02','1':'01'},
'personalM' : {'0':'07','1':'07'},
'article' : {'0':'02','1':'01'},
'personal' : {'0':'07','1':'07'},
'profile_commlist' : {'0':'03','1':'03'},
'profile_commphotolist' : {'0':'06','1':'06'}
};
//表情點擊'更多>>'按鈕的統計,結構為{pageID:{父節點的父節點的ID:[功能參數,置一個參數用于區分是回復還是評論]}}
//0是從回復中點擊,1是從評論中點擊
$_GLOBAL.faceCountMoreLinkTable = {
'photo' : {'reply':['05','0'],'smilesSortShow':['04','1']},
'articleM' : {'reply':['02','0'],'smilesSortShow':['01','1']},
'personalM' : {'smilesSortShow':['07','1']},
'article' : {'reply':['02','0'],'smilesSortShow':['01','1']},
'personal' : {'smilesSortShow':['07','1']},
'profile_commlist' : {'reply':['03','1']},
'profile_commphotolist' : {'reply':['06','1']}
};
//活動提示黑名單
$_GLOBAL.activityBlackList = {'blogMove':true};
//MSN搬家權限提示黑名單
$_GLOBAL.msnMoveBlackList = {'blogMove':true};
//表情點擊推薦表情的統計,結構為{pageID:{父節點的父節點的ID:功能參數}}
$_GLOBAL.faceCountRecommLinkTable = {
'photo' : '04',
'articleM' : '01',
'personalM' : '07',
'article' : '01',
'personal' : '07',
'profile_commlist' : '03',
'profile_commphotolist' : '06'
};
//是否在人氣接口合并好友接口
$_GLOBAL.mashAddFriend = true;
// --- End of GLOBAL config ---
(function (){
//- debug -
var __debug_mode = false; //should be false
//- sina lib version - TODO
var __sina_ver = "0.0.1";
// js base domain
var __js_domain = "http://sjs.sinajs.cn/";
var addScript = function(url, opt){
var js = document.createElement("script");
js.src = url;
js.charset = opt.charset || "utf-8";
js.onload = js.onreadystatechange = function () {
if (js.readyState && js.readyState != "loaded" && js.readyState != "complete") {
return;
}
js.onload = js.onreadystatechange = js.onerror = null;
js.src = "";
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -