Skip to content

Commit

Permalink
Super_preloaderPlus_one 6.4.2 增加站点 deviantART Gallery
Browse files Browse the repository at this point in the history
  • Loading branch information
ywzhaiqi committed Sep 15, 2014
1 parent 9ba7878 commit 499fce6
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Super_preloaderPlus/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "super_preloaderplus_one",
"version": "6.4.0",
"version": "6.4.2",
"devDependencies": {
"grunt": "~0.4.5",
"grunt-contrib-clean": "~0.5.0",
Expand Down
2 changes: 1 addition & 1 deletion Super_preloaderPlus/src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -1362,7 +1362,7 @@ function init(window, document) {
setTimeout(fn, 199);
};
if (nextlink) {
debug('找到下一页链接:', nextlink);
// debug('找到下一页链接:', nextlink);
doc = win = null;
if (ipagesmode) {
if (SSS.a_useiframe) { //延时点,firefox,太急会卡-_-!
Expand Down
2 changes: 1 addition & 1 deletion Super_preloaderPlus/src/meta.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// @namespace https://github.com/ywzhaiqi
// @description 预读+翻页..全加速你的浏览体验...
// @author ywzhaiqi && NLF(原作者)
// @version 6.4.1
// @version 6.4.2
// @homepageURL https://greasyfork.org/scripts/293-super-preloaderplus-one

// @grant GM_addStyle
Expand Down
10 changes: 10 additions & 0 deletions Super_preloaderPlus/src/rule.js
Original file line number Diff line number Diff line change
Expand Up @@ -1680,6 +1680,16 @@ var SITEINFO=[
replaceE: '//div[@class="pagination"]'
}
},
// === art
{name: 'deviantART Gallery',
url: /^https?:\/\/\w+\.deviantart\.com\/gallery\//i,
exampleUrl: 'https://razielmb.deviantart.com/gallery/',
nextLink: '//li[@class="next"]/a',
autopager: {
pageElement: 'css;#gmi-ResourceStream',
relatedObj: true
}
},
// === mm ===
{name: 'Show妹子',
url:/^http:\/\/www\.showmeizi\.com\/\w+\/\d+/i,
Expand Down
14 changes: 12 additions & 2 deletions Super_preloaderPlus/super_preloaderplus_one.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// @namespace https://github.com/ywzhaiqi
// @description 预读+翻页..全加速你的浏览体验...
// @author ywzhaiqi && NLF(原作者)
// @version 6.4.1
// @version 6.4.2
// @homepageURL https://greasyfork.org/scripts/293-super-preloaderplus-one

// @grant GM_addStyle
Expand Down Expand Up @@ -1719,6 +1719,16 @@ var SITEINFO=[
replaceE: '//div[@class="pagination"]'
}
},
// === art
{name: 'deviantART Gallery',
url: /^https?:\/\/\w+\.deviantart\.com\/gallery\//i,
exampleUrl: 'https://razielmb.deviantart.com/gallery/',
nextLink: '//li[@class="next"]/a',
autopager: {
pageElement: 'css;#gmi-ResourceStream',
relatedObj: true
}
},
// === mm ===
{name: 'Show妹子',
url:/^http:\/\/www\.showmeizi\.com\/\w+\/\d+/i,
Expand Down Expand Up @@ -5156,7 +5166,7 @@ function init(window, document) {
setTimeout(fn, 199);
};
if (nextlink) {
debug('找到下一页链接:', nextlink);
// debug('找到下一页链接:', nextlink);
doc = win = null;
if (ipagesmode) {
if (SSS.a_useiframe) { //延时点,firefox,太急会卡-_-!
Expand Down

0 comments on commit 499fce6

Please sign in to comment.