File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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.4.13.1
9+ // @version 2017.4.13.2
1010// @created 2011-6-15
1111// @namespace http://userscripts.org/users/NLF
1212// @homepage http://hoothin.com
8484 } ,
8585
8686 gallery :{ //图库相关设定
87- loadAll :false , //加载更多时是否加载全部页面
87+ loadAll :true , //加载更多时是否加载全部页面
8888 fitToScreen :true , //图片适应屏幕(适应方式为contain,非cover).
8989 scrollEndToChange :true ,
9090 exportType :'grid' ,
9696 max :5 , //最多预读多少张(前后各多少张)
9797
9898 zoomresized : 25 , // 图片尺寸最少相差比例,单位:%
99- scaleSmallSize : 200 , // 图库的新类别,缩放的图片,尺寸的高或宽都小于该值
99+ scaleSmallSize : 250 , // 图库的新类别,缩放的图片,尺寸的高或宽都小于该值
100100
101101 scrollEndAndLoad : false , // 滚动主窗口到最底部,然后自动重载库的图片。还有bug,有待进一步测试
102102 scrollEndAndLoad_num : 3 , // 最后几张图片执行
@@ -5143,6 +5143,7 @@ left:0px;\
51435143 h :img . naturalHeight ,
51445144 w :img . naturalWidth ,
51455145 } ;
5146+ self . zoom ( 1 ) ;
51465147 self . fitToScreen ( ) ;
51475148 }
51485149 searchButton . addEventListener ( 'click' , function ( e ) {
You can’t perform that action at this time.
0 commit comments