From aabc9c1ea94ed7b29348bda3365b2ff41172f90b Mon Sep 17 00:00:00 2001 From: ywzhaiqi Date: Tue, 16 Dec 2014 14:01:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=80=E4=BA=9B=E5=B0=8F=E5=B9=85=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BaiduPanDownloadHelper/BaiduPanHelper.user.js | 18 ++++++++++++++---- Flvxz.user.js | 1 + Super_preloaderPlus/src/meta.js | 5 +++-- ...45\212\251\350\204\232\346\234\254.user.js" | 2 +- 4 files changed, 19 insertions(+), 7 deletions(-) diff --git a/BaiduPanDownloadHelper/BaiduPanHelper.user.js b/BaiduPanDownloadHelper/BaiduPanHelper.user.js index 8a9cf71f..cd73e463 100644 --- a/BaiduPanDownloadHelper/BaiduPanHelper.user.js +++ b/BaiduPanDownloadHelper/BaiduPanHelper.user.js @@ -140,6 +140,16 @@ var moveDialog = (function() { $checkbox, paths = []; + function setSelectPath(path) { + if (path) { + fileTreeView.obtain.getSelectPath = function() { + return path; + }; + } else { + delete fileTreeView.obtain.getSelectPath; + } + } + function refreshPaths() { paths.length = 0; @@ -204,14 +214,12 @@ var moveDialog = (function() { if (this.checked) { var path = $input.val(); if (path) { - fileTreeView.obtain.getSelectPath = function() { - return path; - }; + setSelectPath(path); } else { $input.focus(); } } else { - delete fileTreeView.obtain.getSelectPath; + setSelectPath(); } }; @@ -243,6 +251,8 @@ var moveDialog = (function() { function dialogShow() { refreshPaths(); + + setSelectPath(); } function init() { diff --git a/Flvxz.user.js b/Flvxz.user.js index ea3f5485..1d5cc36d 100644 --- a/Flvxz.user.js +++ b/Flvxz.user.js @@ -4,6 +4,7 @@ // @version 0.1 // @description flvxz.com 复制到剪贴板或使用 IDM 下载。其中 "用 IDM 下载" 需要注册协议,配合 addToIDM.ahk 实现。 // @include http://*flvxz.com/?url=* +// @include http://*flv.cn/?url=* // @grant GM_setClipboard // @require http://cdn.staticfile.org/jquery/2.1.1/jquery.min.js // @noframes diff --git a/Super_preloaderPlus/src/meta.js b/Super_preloaderPlus/src/meta.js index f0f620e9..83cdf8a1 100644 --- a/Super_preloaderPlus/src/meta.js +++ b/Super_preloaderPlus/src/meta.js @@ -14,7 +14,7 @@ // @include http* // @exclude http*://mail.google.com/* -// @exclude http*://maps.google* +// @exclude http*://maps.google* // @exclude http*://www.google.com/reader* // @exclude http*://www.google.com/calendar* // @exclude https://docs.google.com/* @@ -34,6 +34,7 @@ // @exclude http://www.youku.com/ // @exclude http://v.youku.com/* // @exclude http://www.iqiyi.com/* +// @exclude http://www.duokan.com/reader/* // ==/UserScript== @@ -44,4 +45,4 @@ var scriptInfo = { homepageURL: 'https://greasyfork.org/scripts/293-super-preloaderplus-one', downloadUrl: 'https://greasyfork.org/scripts/293-super-preloaderplus-one/code/Super_preloaderPlus_one.user.js', metaUrl: 'https://greasyfork.org/scripts/293-super-preloaderplus-one/code/Super_preloaderPlus_one.meta.js', -}; \ No newline at end of file +}; diff --git "a/trakt.tv_\344\270\252\344\272\272\350\276\205\345\212\251\350\204\232\346\234\254.user.js" "b/trakt.tv_\344\270\252\344\272\272\350\276\205\345\212\251\350\204\232\346\234\254.user.js" index d4591d2c..0122e653 100644 --- "a/trakt.tv_\344\270\252\344\272\272\350\276\205\345\212\251\350\204\232\346\234\254.user.js" +++ "b/trakt.tv_\344\270\252\344\272\272\350\276\205\345\212\251\350\204\232\346\234\254.user.js" @@ -10,7 +10,7 @@ // ==/UserScript== // 优先的类别 -var enableType = 'yyxz'; +var enableType = 'yyets'; // 无法在线播放的规则 var rules = {