js/reim_xin.js

(开头部分) 50KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

/**
*	REIM即时通信主js-最新版本
*	caratename:雨中磐石(rainrock)
*	caratetime:2018-11-01 21:40:00
*	homepage:www.rockoa.com
*/

var agentarr={},userarr={},grouparr={},cnum='',windowfocus=true,jietubool=false;
//是不是xp和win7的版本
function jisxobo(){
	var llq = navigator.userAgent.toLowerCase();
	if(llq.indexOf('windows nt 5')>0 || llq.indexOf('windows nt 6.1')>0){
		return true;
	}
	return false;
}
var reim={
	chatobj:{},
	maindata:{},
	initci:0,
	timeloads:0,
	ruloadtime:5*60, //5分钟
	init:function(){
		js.ajaxwurbo   = true;
		js.xpbodysplit = 5;
		date = js.now('Y-m-d');
		nwjs.init();
		bodyunload=function(){
			nwjs.removetray();
		}
		this.resize();
		nwjs.serverdata=function(d){
			return reim.serverdata(d);
		}
		
		$(window).resize(this.resize);
		$(window).focus(function(){windowfocus=true;im.windowfocus()});
		$(window).blur(function(){windowfocus=false});
		//数秒
		setInterval('reim.timeload()', 1000);
		var fse=js.getoption('loginface');
		if(fse)get('myface').src=fse;

		nwjs.createtray(document.title+'-'+adminname, 1);
		strformat.ismobile=0; 
		//禁止后退
		try{
			history.pushState(null, null, document.URL);
			window.addEventListener('popstate', function (){
				history.pushState(null, null, document.URL);
			});
		}catch(e){}
		this.initload();
		$('#centlist').perfectScrollbar();
		
		
		uploadobj = $.rockupload({
			inputfile:'allfileinput',
			initpdbool:false,
			updir:'reimchat',
后面还有 1641 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。