⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 base2.js

📁 ca 配置 iis、ssl等都有
💻 JS
字号:
String.prototype.trim = function(){return this.replace(/(^[ | ]*)|([ | ]*$)/g, "");}function $(s){return document.getElementById(s);}function $$(s){return document.frames?document.frames[s]:$(s).contentWindow;}function $c(s){return document.createElement(s);}function initSendTime(){	SENDTIME = new Date();}var err;var cnt=0;function commentSubmit(theform,refurlk){		if(document.readyState=="complete"){	var sDialog = new dialog();	sDialog.init();	if(!theform){		sDialog.event("请您先 <a href='http://blog.51cto.com/login.php' style='color:BLUE;'>登录</a> 或 <a href='http://passport.51cto.com/reg.php?reback=" + refurlk + "' style='color:BLUE;'>注册</a> 后再进行此项操作。",'');		sDialog.button('dialogOk','void 0');		$('dialogOk').focus();		return false;	}	var smsg =theform.content.value;	var susername = theform.username.value;	var sauthnum = theform.authnum.value;	var sartID = theform.tid.value;	if(smsg == ''){		sDialog.event('请输入评论内容!','');		sDialog.button('dialogOk','void 0');		$('dialogOk').focus();		return false;	}	if(sauthnum == ''){		sDialog.event('请输入验证码!','');		sDialog.button('dialogOk','void 0');		$('dialogOk').focus();		return false;	}	if(sartID == ''){		sDialog.event('不是有效的文章','');		sDialog.button('dialogOk','void 0');		$('dialogOk').focus();		return false;	}		var url = "/commentcheckform.php?authnum="+sauthnum;	var ajax = new ActiveXObject("MSXML2.XMLHTTP.3.0");	ajax.open("GET", url, false);	ajax.send();	err=ajax.responseText;	if(!err){		var ajax = new new XMLHttpRequest();		ajax.open("GET", url, false);		ajax.send();		err=ajax.responseText;	}	if(err == "-1"){		sDialog.event('验证码输入错误!','');		sDialog.button('dialogOk','void 0');		$('dialogOk').focus();		return false;	}	//initSendTime();	//$("src_title").value = $("commentText").innerHTML;	//$("src_uname").value = $('feedback').submit();	}	cnt++;	if (cnt!=1){		return false;	}}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -