Skip to content

Commit 7192cf2

Browse files
committed
fix
1 parent 4633e5f commit 7192cf2

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

Picviewer CE+/Picviewer CE+.user.js

Lines changed: 13 additions & 1 deletion
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 2016.12.23.1
9+
// @version 2016.12.26.1
1010
// @created 2011-6-15
1111
// @namespace http://userscripts.org/users/NLF
1212
// @homepage http://hoothin.com
@@ -474,6 +474,18 @@
474474
getImage: function() {
475475
return this.src.replace(/\/\dX\d$|\/w\d+$/,"").replace(/\/cover\//,"/post/").replace(/\/(middle|small)\.jpg/,"/big.jpg");
476476
}
477+
},
478+
{name: 'Steampowered',
479+
url: /\.steampowered\.com/,
480+
getImage: function() {
481+
return this.src.replace(/\.\d+x\d+\.jpg/,".jpg");
482+
}
483+
},
484+
{name: 'Steamcommunity',
485+
url: /steamcommunity\.com/,
486+
getImage: function() {
487+
return this.src.replace(/output\-quality=\d+&fit=inside\|\d+\:\d+/,"output-quality=100&fit=inside|0:0");
488+
}
477489
}
478490
];
479491

0 commit comments

Comments
 (0)