Skip to content

Commit 24b72c9

Browse files
committed
fix
1 parent bd71f2e commit 24b72c9

1 file changed

Lines changed: 21 additions & 4 deletions

File tree

Picviewer CE+/Picviewer CE+.user.js

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// @description Powerful picture viewing tool online, which can popup/scale/rotate/batch save pictures or find the HD original picture automatically
77
// @description:zh-CN NLF 的围观图修改版,增加高清原图查找显示(在线看图工具,支持图片翻转、旋转、缩放、弹出大图、批量保存、查找原图)
88
// @description:zh-TW NLF 的圍觀圖修改版,增加高清原圖查詢顯示(線上看圖工具,支援圖片翻轉、旋轉、縮放、彈出大圖、批量儲存、查詢原圖)
9-
// @version 2017.2.16.1
9+
// @version 2017.2.21.1
1010
// @created 2011-6-15
1111
// @namespace http://userscripts.org/users/NLF
1212
// @homepage http://hoothin.com
@@ -503,7 +503,13 @@
503503
getImage: function() {
504504
return this.src.replace(/upload\/small\//,"upload/big/");
505505
}
506-
}
506+
},
507+
{name: "itunes",
508+
url: /itunes\.apple\.com/,
509+
getImage: function() {
510+
return this.src.replace(/\d+x\d+bb\./,"1400x1400bb.");
511+
}
512+
},
507513
];
508514

509515
// 通配型规则,无视站点.
@@ -578,12 +584,23 @@
578584
},
579585
note: "人人影视的豆瓣脚本需要用到"
580586
},
581-
582587
// 购物
583588
{name: "淘宝",
584-
r: /((?:img\d\d\.taobaocdn|g(?:[^.]*\.?){1,2}?\.alicdn)\.com\/)(?:img\/|tps\/http:\/\/img\d\d+\.taobaocdn\.com\/)?((?:imgextra|bao\/uploaded)\/.+\.(?:jpe?g|png|gif|bmp))_.+\.jpg$/,
589+
r: /((?:img\d\d\.taobaocdn|img(?:[^.]*\.?){1,2}?\.alicdn)\.com\/)(?:img\/|tps\/http:\/\/img\d\d+\.taobaocdn\.com\/)?((?:imgextra|bao\/uploaded)\/.+\.(?:jpe?g|png|gif|bmp))_.+\.jpg$/,
585590
s: "http://$1$2"
586591
},
592+
{name: "ali",
593+
r: /(.*\.alicdn\.com\/.*)(\.|_)\d+x\d+.*\.jpg$/,
594+
s: "$1.jpg"
595+
},
596+
{name: "1号店",
597+
r: /(.*\.yihaodianimg\.com\/.*)_\d+x\d+\.jpg$/,
598+
s: "$1.jpg"
599+
},
600+
{name: "京东",
601+
r: /(.*360buyimg\.com\/)n\d\/.+?\_(.*)/,
602+
s: "$1imgzone/$2"
603+
},
587604
// 电子书
588605
{name: "当当",
589606
d: "dangdang.com",

0 commit comments

Comments
 (0)