Skip to content

Commit 746ca56

Browse files
committed
fix
1 parent 5b090e6 commit 746ca56

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

Picviewer CE+/Picviewer CE+.user.js

Lines changed: 6 additions & 2 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 2018.4.4.1
9+
// @version 2018.4.7.1
1010
// @created 2011-6-15
1111
// @namespace http://userscripts.org/users/NLF
1212
// @homepage http://hoothin.com
@@ -8421,8 +8421,12 @@ left: -45px;\
84218421
type = 'scaleSmall';
84228422
}
84238423

8424+
try{
8425+
src=decodeURIComponent(src);
8426+
}catch(e){}
8427+
84248428
var ret = {
8425-
src: decodeURIComponent(src), // 得到的src
8429+
src: src, // 得到的src
84268430
srcs: srcs, // 多个 src,失败了会尝试下一个
84278431
type: type, // 通过哪种方式得到的
84288432
imgSrc: imgSrc, // 处理的图片的src

0 commit comments

Comments
 (0)