首页 > 学院 > 开发设计 > 正文

CSDN社区结贴给分器

2019-11-17 04:48:07
字体:
来源:转载
供稿:网友
打开记事本,输入:
Windows Registry Editor Version 5.00[HKEY_CURRENT_USER/Software/Microsoft/Internet EXPlorer/MenuExt/平均给分]
"Contexts"=dWord:000000f3
@="c://csdnf.htm"
注重,中间有一行空行,保存为csdn.reg,注重,不要保存为csdn.reg.txt,然后双击csdn.reg导入注册表,然后打开记事本,输入:
<script language="javascript">
<!--
//作者:iuhxq
//QQ:4111852
//http://blog.csdn.net/iuhxq
//2006.4.17var parentwin = external.menuArguments;
var doc = parentwin.document;var zhongfen = parseInt(doc.all.zhongFen.value,10);
var f = doc.all["T"];
var textbox = new Array();
var r, re;
var s = doc.all.GiveTip.innerHtml;
re = /SendMessage/.aspx/?To=[a-z/d]+/ig;
r = s.match(re);
var auther = r.shift();for (var i=r.length-1; i>=0; i--)
{
 if (r[i] == auther)
 {
  r.splice(i,1);
 }
 else
 {
  textbox.push(f[i]);
 }
}var pingjun = parseInt(zhongfen / r.length, 10);
var yu = zhongfen % r.length;var i=0;
for (; i<yu; i++)
{
 textbox.pop().value = pingjun + 1;
}
for (; i<r.length; i++)
{
 textbox.pop().value = pingjun;
}
//-->
</script>保存为:c:/csdnf.htm重新启动你的浏览器,在给分页面右键菜单中选择“平均给分”

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表