diff --git a/build/pxer-utility.js b/build/pxer-utility.js index 0b60471..ecacb3a 100644 --- a/build/pxer-utility.js +++ b/build/pxer-utility.js @@ -4,7 +4,7 @@ const Babel = require('babel-core'); module.exports.pxerURL ='https://pxer-app.pea3nut.org/'; module.exports.rootPath ='../'; -module.exports.pxerVersion ='7.0.3'; +module.exports.pxerVersion ='7.0.4'; module.exports.path2URL =function(path){ var url =module.exports.pxerURL; diff --git a/dist/launcher.js b/dist/launcher.js index efdf8bb..90afe6b 100644 --- a/dist/launcher.js +++ b/dist/launcher.js @@ -6,7 +6,7 @@ ~function () { var libURL = /**/"dist/lib.js"; //*/''; var supportURL = /**/"dist/support.js"; //*/''; - window['PXER_VERSION'] = /**/"7.0.3"; //*/''; + window['PXER_VERSION'] = /**/"7.0.4"; //*/''; Promise.resolve().then(function () { var script = document.createElement('script'); diff --git a/dist/pxer-core.js b/dist/pxer-core.js index 641fb17..bd04701 100644 --- a/dist/pxer-core.js +++ b/dist/pxer-core.js @@ -952,8 +952,8 @@ PxerPrinter.getUgoira = function (works) { var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'max'; var tpl = { - "max": "http://#domain#/img-zip-ugoira/img/#date#/#id#_ugoira1920x1080.zip", - "600p": "http://#domain#/img-zip-ugoira/img/#date#/#id#_ugoira600x600.zip" + "max": "https://#domain#/img-zip-ugoira/img/#date#/#id#_ugoira1920x1080.zip", + "600p": "https://#domain#/img-zip-ugoira/img/#date#/#id#_ugoira600x600.zip" }; var address = tpl[type]; @@ -975,9 +975,9 @@ PxerPrinter.getMultiple = function (works) { var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'max'; var tpl = { - "max": "http://#domain#/img-original/img/#date#/#id#_p#index#.#fileFormat#", - "1200p": "http://#domain#/c/1200x1200/img-master/img/#date#/#id#_p#index#_master1200.jpg", - "cover_600p": "http://#domain#/c/600x600/img-master/img/#date#/#id#_p0_master1200.jpg" + "max": "https://#domain#/img-original/img/#date#/#id#_p#index#.#fileFormat#", + "1200p": "https://#domain#/c/1200x1200/img-master/img/#date#/#id#_p#index#_master1200.jpg", + "cover_600p": "https://#domain#/c/600x600/img-master/img/#date#/#id#_p0_master1200.jpg" }; var address = tpl[type]; @@ -1005,8 +1005,8 @@ PxerPrinter.getWorks = function (works) { var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'max'; var tpl = { - "max": "http://#domain#/img-original/img/#date#/#id#_p0.#fileFormat#", - "600p": "http://#domain#/c/600x600/img-master/img/#date#/#id#_p0_master1200.jpg" + "max": "https://#domain#/img-original/img/#date#/#id#_p0.#fileFormat#", + "600p": "https://#domain#/c/600x600/img-master/img/#date#/#id#_p0_master1200.jpg" }; var address = tpl[type]; @@ -1225,7 +1225,8 @@ PxerThread.prototype['run'] = function _self() { _self.call(_this6); //递归 return true; }); - XHR.addEventListener("error", function () { + XHR.addEventListener("error", function (argn) { + throw argn; _this6.state = 'error'; _this6.dispatch('error', { task: _this6.task, diff --git a/pxer-master.user.js b/pxer-master.user.js index cf776df..d13a25c 100644 --- a/pxer-master.user.js +++ b/pxer-master.user.js @@ -10,10 +10,11 @@ // @grant none // @noframes // @include https://www.pixiv.net* +// @include http://www.pixiv.net* // ==/UserScript== javascript:void((function() { // 环境变量 - window['PXER_URL'] =/**/"http://pxer-app.pea3nut.org/";//*/''; + window['PXER_URL'] =/**/"https://pxer-app.pea3nut.org/";//*/''; window['PXER_MODE'] ='master'; // 引入入口文件 diff --git a/src/launcher.js b/src/launcher.js index c8da9ae..6d1d76f 100644 --- a/src/launcher.js +++ b/src/launcher.js @@ -4,7 +4,7 @@ ~function(){ var libURL =/**/"src/app/lib.js";//*/''; var supportURL =/**/"src/app/support.js";//*/''; - window['PXER_VERSION'] =/**/"7.0.3";//*/''; + window['PXER_VERSION'] =/**/"7.0.4";//*/''; Promise.resolve().then(function(){ var script = document.createElement('script');