当前位置: 首页 > 图文教程 > 网络编程 > Javascript > csdn 批量接受好友邀请

Javascript
form中限制文本字节数js代码
use jscript with List Proxy Server Information
use jscript List Installed Software
List Installed Software Features
List Information About the Binary Files Used by an Application
List the Codec Files on a Computer
List the UTC Time on a Computer
List Installed Hot Fixes
excel操作之Add Data to a Spreadsheet Cell
Add Formatted Data to a Spreadsheet
Apply an AutoFormat to an Excel Spreadsheet
JavaScript语法着色引擎(demo及打包文件下载)
类之Prototype.js学习
一款JavaScript压缩工具:X2JSCompactor
iis6+javascript Add an Extension File
jscript之Open an Excel Spreadsheet
jscript之Read an Excel Spreadsheet
jscript之List Excel Color Values
去除图像或链接黑眼圈的两种方法总结
Add a Formatted Table to a Word Document

Javascript 中的 csdn 批量接受好友邀请


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-09-12   浏览: 438 ::
收藏到网摘: n/a

说实话,加好友的太多了,怎么办,想个批量的办法吧 版权声明:原创作品,允许转载,转载时请务必以超链接形式标明文章原始出版、作者信息和本声明。否则将追究法律责任。http://blog.csdn.net/mayongzhan - 马永占,myz,mayongzhan
猛然一地头想到了Firefox的firebug。。。
太邪恶了。
立刻对hi.csdn.net打开了firebug
然后应该如下操作:
var i = 0;
do{
$("input[value='加为好友']")[i].click();
i++;
}while ($("input[value='加为好友']")[i]);
然后就能看到一个个的请求发出,然后一个个的200OK,界面上有好友请求数量,一个个的减少。
最后csdn里面还console.log出来一个数,是总数。。。看来是某些程序员忘了把测试代码去掉了吧。
OK,完成,把firebug关掉。
如果想批量拒绝呢?
有兴趣的可以试试。
对了,最令我欣慰的是csdn竟然支持jquery!csdn还是不错的。