From f7f44d96c1aeef4c262622b2efa58d34888a107d Mon Sep 17 00:00:00 2001 From: ywzhaiqi Date: Wed, 17 Sep 2014 22:37:49 +0800 Subject: [PATCH] =?UTF-8?q?Super=5FpreloaderPlus=5Fone=206.4.4=20=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E6=89=8B=E5=8A=A8=E6=A3=80=E6=9F=A5=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E5=8A=9F=E8=83=BD=EF=BC=88=E6=94=AF=E6=8C=81=20chrome=20?= =?UTF-8?q?=E5=8E=9F=E7=94=9F=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Super_preloaderPlus/Gruntfile.js | 7 +- Super_preloaderPlus/package.json | 2 +- Super_preloaderPlus/src/main.js | 186 +++++++---------- Super_preloaderPlus/src/meta.js | 12 +- Super_preloaderPlus/src/rule.js | 4 +- .../super_preloaderplus_one.user.js | 195 ++++++++---------- 6 files changed, 174 insertions(+), 232 deletions(-) diff --git a/Super_preloaderPlus/Gruntfile.js b/Super_preloaderPlus/Gruntfile.js index 9c1918e7..2fb9b2ca 100644 --- a/Super_preloaderPlus/Gruntfile.js +++ b/Super_preloaderPlus/Gruntfile.js @@ -1,9 +1,10 @@ module.exports = function(grunt) { var concatOptions = { - banner: '(function() {', - footer: '})();', - separator: '//----------------------------------' + banner: '(function() {\n', + footer: '\n})();', + separator: '\n\n//----------------------------------\n', + process: true }; grunt.initConfig({ diff --git a/Super_preloaderPlus/package.json b/Super_preloaderPlus/package.json index 48b9cdb4..a93dafdb 100644 --- a/Super_preloaderPlus/package.json +++ b/Super_preloaderPlus/package.json @@ -1,6 +1,6 @@ { "name": "super_preloaderplus_one", - "version": "6.4.3", + "version": "6.4.4", "devDependencies": { "grunt": "~0.4.5", "grunt-contrib-clean": "~0.5.0", diff --git a/Super_preloaderPlus/src/main.js b/Super_preloaderPlus/src/main.js index d6283362..96a12a3f 100644 --- a/Super_preloaderPlus/src/main.js +++ b/Super_preloaderPlus/src/main.js @@ -1,7 +1,8 @@ - // main.js -// 引用console对象的部分函数. +//------------------------下面的不要管他----------------- +/////////////////////////////////////////////////////////////////// + var xbug = prefs.debug || GM_getValue("debug") || false; var C = console; var debug = xbug ? console.log.bind(console) : function() {}; @@ -102,6 +103,10 @@ var setup = function(){ div.innerHTML = '\
Super_preloaderPlus_one 设置
\