Skip to content

Commit 5512c70

Browse files
committed
fix
1 parent b52d97e commit 5512c70

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

Picviewer CE+/Picviewer CE+.user.js

Lines changed: 9 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 2017.3.16.1
9+
// @version 2017.3.16.2
1010
// @created 2011-6-15
1111
// @namespace http://userscripts.org/users/NLF
1212
// @homepage http://hoothin.com
@@ -2984,7 +2984,7 @@ padding-left:24px;">'+shareItem.name+'</span>');
29842984
};
29852985

29862986
if(this.img){
2987-
this.img.style.display='none';
2987+
this.img.parentNode.removeChild(this.img);
29882988
};
29892989

29902990
var imgNaturalSize={
@@ -3427,6 +3427,7 @@ padding-left:24px;">'+shareItem.name+'</span>');
34273427
var self = this;
34283428
GM_xmlhttpRequest({
34293429
method: 'GET',
3430+
overrideMimeType:"text/html;charset="+document.charset,
34303431
url: self.canonicalUri(nextUrl.getAttribute("href")),
34313432
onload: function(d) {
34323433
let html=document.implementation.createHTMLDocument('');
@@ -8197,6 +8198,12 @@ background-image:url("'+ prefs.icons.magnifier +'");\
81978198
"default": prefs.gallery.loadAll,
81988199
title: '若页数过多可能影响体验'
81998200
},
8201+
'gallery.transition': {
8202+
label: '显示图库切换图片的特效',
8203+
type: 'checkbox',
8204+
"default": prefs.gallery.transition,
8205+
title: ''
8206+
},
82008207
'gallery.sidebarPosition': {
82018208
label: '缩略图栏位置',
82028209
type: 'select',

0 commit comments

Comments
 (0)