From db7937fd7ea52612305079f5423147dda5217210 Mon Sep 17 00:00:00 2001
From: liukai <659801@qq.com>
Date: Tue, 27 Jun 2017 07:55:53 +0800
Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=99=BE=E5=BA=A6=E4=BA=91?=
=?UTF-8?q?=E5=A4=A7=E6=96=87=E4=BB=B6=E6=A3=80=E6=B5=8B=E5=B1=8F=E8=94=BD?=
=?UTF-8?q?=E9=80=89=E9=A1=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.babelrc | 8 ++
CHANGELOG.md | 3 +
README.md | 4 +-
config/index.js | 2 +-
safari2aria.safariextension/Info.plist | 6 +-
safari2aria.safariextension/global.html | 2 +-
safari2aria.safariextension/options.html | 2 +-
safari2aria.safariextension/popover.html | 4 +-
...pover.0a438e1ebd5ed58ab69c56b1a0b9d5f4.css | 1 -
...pover.b9b1f50de82289210d58823627ecc7dd.css | 1 +
.../static/js/endscript.js | 2 +-
.../static/js/global.2200b9fc6a37aab2770a.js | 1 +
.../static/js/global.23da2288438dd4148362.js | 1 -
.../static/js/manifest.js | 2 +-
.../static/js/options.655cdd63c4197e7f9d17.js | 1 +
.../static/js/options.f850eb7e3ae211ae9129.js | 1 -
.../static/js/popover.567ca9495ff78caf3ed2.js | 1 +
.../static/js/popover.f2fa40e3c74209f2ab5a.js | 1 -
.../static/js/startscript.js | 2 +-
.../static/js/vendor.aaff2542e0be66548fec.js | 39 --------
.../static/js/vendor.c1acd049edbf1f576628.js | 39 ++++++++
safari2aria.safariextz | Bin 321431 -> 313233 bytes
src/js/endscript/index.js | 72 ++++++++------
src/js/startscript/index.js | 93 +++++++++++++-----
src/pages/global/index.js | 11 ++-
src/pages/options/components/index.vue | 5 +
src/public/pageScriptMessage.js | 38 +++++++
src/public/runInPage.js | 9 ++
28 files changed, 237 insertions(+), 114 deletions(-)
delete mode 100644 safari2aria.safariextension/static/css/popover.0a438e1ebd5ed58ab69c56b1a0b9d5f4.css
create mode 100644 safari2aria.safariextension/static/css/popover.b9b1f50de82289210d58823627ecc7dd.css
create mode 100644 safari2aria.safariextension/static/js/global.2200b9fc6a37aab2770a.js
delete mode 100644 safari2aria.safariextension/static/js/global.23da2288438dd4148362.js
create mode 100644 safari2aria.safariextension/static/js/options.655cdd63c4197e7f9d17.js
delete mode 100644 safari2aria.safariextension/static/js/options.f850eb7e3ae211ae9129.js
create mode 100644 safari2aria.safariextension/static/js/popover.567ca9495ff78caf3ed2.js
delete mode 100644 safari2aria.safariextension/static/js/popover.f2fa40e3c74209f2ab5a.js
delete mode 100644 safari2aria.safariextension/static/js/vendor.aaff2542e0be66548fec.js
create mode 100644 safari2aria.safariextension/static/js/vendor.c1acd049edbf1f576628.js
create mode 100644 src/public/pageScriptMessage.js
create mode 100644 src/public/runInPage.js
diff --git a/.babelrc b/.babelrc
index 2862a66..640bcda 100644
--- a/.babelrc
+++ b/.babelrc
@@ -9,7 +9,15 @@
"stage-2"
],
"plugins": [
+ [
"transform-runtime",
+ {
+ "helpers": false,
+ "polyfill": false,
+ "regenerator": true,
+ "moduleName": "babel-runtime"
+ }
+ ],
"lodash"
],
"comments": false,
diff --git a/CHANGELOG.md b/CHANGELOG.md
index d94bda8..033a64a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,6 @@
+### v2.8:
+1. 屏蔽百度云大文件检测
+
### v2.7:
1. 增加多User-Agent支持
diff --git a/README.md b/README.md
index 09cb068..b8b8ac7 100644
--- a/README.md
+++ b/README.md
@@ -12,7 +12,7 @@ safari extension for use aria2 to replace safari default download
1. 拦截指定后缀文件下载
2. 多aria2c服务支持
3. 右键菜单指定aria2c服务
-4. 支持百度云([wap](https://pan.baidu.com/wap/home))和迅雷离线导出
+4. 支持百度云和迅雷离线导出
5. 全局拦截模式
6. 可配置下载成功后是否推送通知提醒
7. **下载队列列表**
@@ -76,7 +76,7 @@ content-disposition-default-utf8=true
- 如当前关闭了自动拦截默认,需长按**shift+cmd**并点击**取回本地**按钮即可导出下载至默认rpc服务器
#### 百度云分享页导出:
-- 关闭cookie传递选项
+- 开启cookie传递选项
- 点击下载,打开文件下载窗口
- 如当前为自动拦截模式,长按**shift**并点击**普通下载**按钮即可导出下载至默认rpc服务器
- 如当前关闭了自动拦截默认,需长按**shift+cmd**并点击**普通下载**按钮即可导出下载至默认rpc服务器
diff --git a/config/index.js b/config/index.js
index bc0d547..d5b3548 100644
--- a/config/index.js
+++ b/config/index.js
@@ -22,7 +22,7 @@ module.exports = {
env: require('./prod.env'),
pages,
js,
- vendorExclusive:['mini-toastr'],
+ vendorExclusive:['mini-toastr','pageScriptMessage','runInPage'],
assetsRoot: path.resolve(__dirname, `${outputDir}`),
assetsSubDirectory: 'static',
assetsPublicPath: '',
diff --git a/safari2aria.safariextension/Info.plist b/safari2aria.safariextension/Info.plist
index 5f25d92..bfc5d75 100644
--- a/safari2aria.safariextension/Info.plist
+++ b/safari2aria.safariextension/Info.plist
@@ -13,9 +13,9 @@