Skip to content

Commit 7d62e00

Browse files
committed
support for chrome 44
1 parent f46b02c commit 7d62e00

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Picviewer CE+/Picviewer CE+.user.js

Lines changed: 3 additions & 3 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.8.19.1
9+
// @version 2017.8.21.1
1010
// @created 2011-6-15
1111
// @namespace http://userscripts.org/users/NLF
1212
// @homepage http://hoothin.com
@@ -3522,7 +3522,7 @@ padding-left:24px;">'+shareItem.name+'</span>');
35223522
if(!nextt){
35233523
if(aTag.innerHTML=="»"){
35243524
nextt=aTag;
3525-
}else if(aTag.getAttribute("href").replace(/.*[\-_](\d+)(\.html)?$/,"$1")==parseInt(pageNum)+1){
3525+
}else if(aTag.hasAttribute("href") && aTag.getAttribute("href").replace(/.*[\-_](\d+)(\.html)?$/,"$1")==parseInt(pageNum)+1){
35263526
nextt=aTag;
35273527
}
35283528
}
@@ -8728,7 +8728,7 @@ background-image:url("'+ prefs.icons.magnifier +'");\
87288728
loadPrefs();
87298729

87308730
if(prefs.gallery.autoOpenSites && new RegExp(prefs.gallery.autoOpenSites).test(location.href)){
8731-
setTimeout(()=>{openGallery();},1500);
8731+
setTimeout(function(){openGallery();},2000);
87328732
}
87338733

87348734
// 注册按键

0 commit comments

Comments
 (0)