diff --git a/Super_preloaderPlus/package.json b/Super_preloaderPlus/package.json
index 410c741b..b52bacf4 100644
--- a/Super_preloaderPlus/package.json
+++ b/Super_preloaderPlus/package.json
@@ -1,6 +1,6 @@
{
"name": "super_preloaderplus_one",
- "version": "6.4.5",
+ "version": "6.4.6",
"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 721cf55c..855849d9 100644
--- a/Super_preloaderPlus/src/main.js
+++ b/Super_preloaderPlus/src/main.js
@@ -106,7 +106,7 @@ var setup = function(){
\
- 当前版本为 ' + scriptInfo.version + ' ,上次更新时间为 '+ scriptInfo.updateTime
+ '\
- 脚本主页\
+ 脚本主页\
\
- 调试模式
\
- 鼠标双击暂停翻页(默认为 Ctrl + 长按左键)
\
@@ -166,7 +166,12 @@ var setup = function(){
checkUpdate();
};
+var isUpdating = true;
function checkUpdate() {
+ if (isUpdating) {
+ return;
+ }
+
GM_xmlhttpRequest({
method: "GET",
url: scriptInfo.metaUrl,
@@ -201,10 +206,11 @@ function checkUpdate() {
}
if (needUpdate) {
- if (confirm('本脚本从版本 ' + scriptInfo.version + ' 更新到了版本 ' + latestVersion + '.\n是否要打开脚本链接?')) {
- window.open(scriptInfo.downloadUrl);
- }
+ alert('本脚本从版本 ' + scriptInfo.version + ' 更新到了版本 ' + latestVersion + '.\n请点击脚本主页进行安装');
+ document.getElementById("sp-prefs-homepageURL").boxShadow = '0 0 2px 2px #FF5555';
}
+
+ isUpdating = false;
}
});
}
diff --git a/Super_preloaderPlus/src/rule.js b/Super_preloaderPlus/src/rule.js
index 2173f212..071b9cdd 100644
--- a/Super_preloaderPlus/src/rule.js
+++ b/Super_preloaderPlus/src/rule.js
@@ -121,7 +121,7 @@ var SITEINFO_D={
//高优先级规则,第一个是教程.
var SITEINFO=[
{name: 'Google搜索', //站点名字...(可选)
- url: '^https?://(www|encrypted)\\.google(stable)?\\..{2,9}/(webhp|search|#|$|\\?)', // 站点正则...(~~必须~~)
+ url: '^https?://(?:(?:www|encrypted)\\.google(?:stable)?\\..{2,9}|wen\\.lu)/(?:webhp|search|#|$|\\?)', // 站点正则...(~~必须~~)
//url:'wildc;http://www.google.com.hk/search*',
siteExample:'http://www.google.com', //站点实例...(可选)
enable:true, //启用.(总开关)(可选)
@@ -292,6 +292,22 @@ var SITEINFO=[
pageElement: '//*[@id="c"]/div'
}
},
+ {name: '谷搜客',
+ url: /^https?:\/\/gusouk\.com\/search/i,
+ siteExample: 'http://gusouk.com/search?q=firefox',
+ nextLink: 'auto;',
+ autopager: {
+ pageElement: '//div[@class="search_result"]'
+ }
+ },
+ {name: 'tmd123搜索', // www.tmd123.com
+ url: /^https?:\/\/54\.64\.24\.234\/search/i,
+ siteExample: 'http://54.64.24.234/search/?q=firefox',
+ nextLink: 'auto;',
+ autopager: {
+ pageElement: '//div[@class="search_result"]'
+ }
+ },
{name: "Google custom",
url: /^https?:\/\/74\.125\.128\.147\/custom/i,
nextLink: 'id("pnnext") | id("navbar navcnt nav")//td[span]/following-sibling::td[1]/a | id("nn")/parent::a',
diff --git a/Super_preloaderPlus/super_preloaderplus_one.user.js b/Super_preloaderPlus/super_preloaderplus_one.user.js
index f5691695..5b35fe76 100644
--- a/Super_preloaderPlus/super_preloaderplus_one.user.js
+++ b/Super_preloaderPlus/super_preloaderplus_one.user.js
@@ -4,7 +4,7 @@
// @namespace https://github.com/ywzhaiqi
// @description 预读+翻页..全加速你的浏览体验...
// @author ywzhaiqi && NLF(原作者)
-// @version 6.4.5
+// @version 6.4.6
// @homepageURL https://greasyfork.org/scripts/293-super-preloaderplus-one
// @grant GM_addStyle
@@ -40,8 +40,8 @@
// 主要用于 chrome 原生下检查更新,也可用于手动检查更新
var scriptInfo = {
- version: '6.4.5',
- updateTime: '2014/9/18',
+ version: '6.4.6',
+ updateTime: '2014/9/26',
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',
@@ -171,7 +171,7 @@ var SITEINFO_D={
//高优先级规则,第一个是教程.
var SITEINFO=[
{name: 'Google搜索', //站点名字...(可选)
- url: '^https?://(www|encrypted)\\.google(stable)?\\..{2,9}/(webhp|search|#|$|\\?)', // 站点正则...(~~必须~~)
+ url: '^https?://(?:(?:www|encrypted)\\.google(?:stable)?\\..{2,9}|wen\\.lu)/(?:webhp|search|#|$|\\?)', // 站点正则...(~~必须~~)
//url:'wildc;http://www.google.com.hk/search*',
siteExample:'http://www.google.com', //站点实例...(可选)
enable:true, //启用.(总开关)(可选)
@@ -342,6 +342,22 @@ var SITEINFO=[
pageElement: '//*[@id="c"]/div'
}
},
+ {name: '谷搜客',
+ url: /^https?:\/\/gusouk\.com\/search/i,
+ siteExample: 'http://gusouk.com/search?q=firefox',
+ nextLink: 'auto;',
+ autopager: {
+ pageElement: '//div[@class="search_result"]'
+ }
+ },
+ {name: 'tmd123搜索', // www.tmd123.com
+ url: /^https?:\/\/54\.64\.24\.234\/search/i,
+ siteExample: 'http://54.64.24.234/search/?q=firefox',
+ nextLink: 'auto;',
+ autopager: {
+ pageElement: '//div[@class="search_result"]'
+ }
+ },
{name: "Google custom",
url: /^https?:\/\/74\.125\.128\.147\/custom/i,
nextLink: 'id("pnnext") | id("navbar navcnt nav")//td[span]/following-sibling::td[1]/a | id("nn")/parent::a',
@@ -3933,7 +3949,7 @@ var setup = function(){