Skip to content

Commit

Permalink
BaiduPanDownloadHelper 3.7.2 修正个人主页批量下载按钮。
Browse files Browse the repository at this point in the history
  • Loading branch information
ywzhaiqi committed Jun 29, 2014
1 parent d0f7806 commit 7e0cd82
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
9 changes: 4 additions & 5 deletions BaiduPanDownloadHelper/BaiduPanDownloadHelper.user.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// ==UserScript==
// @id baidupan@[email protected]
// @name BaiduPanDownloadHelper
// @version 3.7.1
// @version 3.7.2
// @namespace https://github.com/ywzhaiqi
// @author [email protected]
// @description 批量导出百度盘的下载链接
Expand Down Expand Up @@ -174,9 +174,7 @@ var mHome = (function(){ // 个人主页

var setMaxSize = function() {
// firefox 自带开发工具搜索 @download
// FDM 会出现密码错误的问题,而 IDM 正常。
// 可恶的百度,刚写好第二天就变了。
// 需要加载 downloadProxyPcs 后生效。
// 可恶的百度,刚写好第二天就变了。需要提前加载 downloadProxyPcs。
commonService.getWidgets('common:widget/downloadProxyPcs/downloadProxyPcs.js', function () {
var downloadManager = require("common:widget/downloadManager/downloadManager.js");
downloadManager.SIZE_THRESHOLD = Number.MAX_VALUE;
Expand All @@ -198,6 +196,7 @@ var mHome = (function(){ // 个人主页
var fs_id = $div.attr('data-id');

fs_ids.push(fs_id);

fileList.push({
fs_id: fs_id,
server_filename: $div.find('.name').attr('title'),
Expand Down Expand Up @@ -276,7 +275,7 @@ var mHome = (function(){ // 个人主页
};

var addButton = function() {
$('<a class="bbtn" style="padding-left:10px"><b>批量下载</b></a>')
$('<a class="btn" style="padding-left:10px"><span class="btn-val">批量下载</span></a>')
.insertAfter('a.btn.download-btn')
.click(downloadAll);
};
Expand Down
1 change: 1 addition & 0 deletions BaiduPanDownloadHelper/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ BaiduPanDownloadHelper

![setting](setting.jpg)

![history.png](history.png)

安装说明
--------
Expand Down
Binary file added BaiduPanDownloadHelper/history.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7e0cd82

Please sign in to comment.