百度网盘转存. 每次选中50个文件,自动手动点保存后再运行选择下50个文件.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var chkLen = jQuery('.module-list .list-view-item.item-active').length; | |
var startPosition = -1; | |
if (chkLen > -1) { | |
startPosition = Number(jQuery('.module-list .list-view-item.item-active:last').attr('_position')); | |
} | |
jQuery('.module-list .list-view-item.item-active .checkbox').click() | |
var count = 0; | |
jQuery('.module-list .list-view-item').each(function(idx){ | |
var _this = jQuery(this); | |
var position = Number(_this.attr('_position')); | |
if (position <= startPosition) { | |
return; | |
} | |
count += 1; | |
if (count > 50) { | |
return false; | |
} | |
_this.find('.checkbox').click(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment