Skip to content

Commit 154e11b

Browse files
committed
fix
1 parent c1879e2 commit 154e11b

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

Picviewer CE+/Picviewer CE+.user.js

Lines changed: 9 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 2017.3.12.2
9+
// @version 2017.3.16.1
1010
// @created 2011-6-15
1111
// @namespace http://userscripts.org/users/NLF
1212
// @homepage http://hoothin.com
@@ -85,6 +85,7 @@
8585
},
8686

8787
gallery:{//图库相关设定
88+
loadAll:false,//加载更多时是否加载全部页面
8889
fitToScreen:true,//图片适应屏幕(适应方式为contain,非cover).
8990
sidebarPosition: 'bottom',//'top' 'right' 'bottom' 'left' 四个可能值
9091
sidebarSize: 120,//侧栏的高(如果是水平放置)或者宽(如果是垂直放置)
@@ -3452,6 +3453,7 @@ padding-left:24px;">'+shareItem.name+'</span>');
34523453
self.loadThumb();
34533454
};
34543455
});
3456+
if(prefs.gallery.loadAll)self.nextPage();
34553457
},
34563458
onerror: function(e) {
34573459
}
@@ -8189,6 +8191,12 @@ background-image:url("'+ prefs.icons.magnifier +'");\
81898191
section: ['图库'],
81908192
title: '适应方式为contain,非cover'
81918193
},
8194+
'gallery.loadAll': {
8195+
label: '加载更多图片时自动处理至尾页',
8196+
type: 'checkbox',
8197+
"default": prefs.gallery.loadAll,
8198+
title: '若页数过多可能影响体验'
8199+
},
81928200
'gallery.sidebarPosition': {
81938201
label: '缩略图栏位置',
81948202
type: 'select',

0 commit comments

Comments
 (0)