Skip to content

Commit f095ca5

Browse files
committed
Update Picviewer CE+.user.js
1 parent c25de4e commit f095ca5

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

Picviewer CE+/Picviewer CE+.user.js

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// @description:ja 画像を強力に閲覧できるツール。ポップアップ表示、拡大・縮小、回転、一括保存などの機能を自動で実行できます
1313
// @description:pt-BR Poderosa ferramenta de visualização de imagens on-line, que pode pop-up/dimensionar/girar/salvar em lote imagens automaticamente
1414
// @description:ru Мощный онлайн-инструмент для просмотра изображений, который может автоматически отображать/масштабировать/вращать/пакетно сохранять изображения
15-
// @version 2025.6.7.1
15+
// @version 2025.6.24.1
1616
// @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAMAAADXqc3KAAAAV1BMVEUAAAD////29vbKysoqKioiIiKysrKhoaGTk5N9fX3z8/Pv7+/r6+vk5OTb29vOzs6Ojo5UVFQzMzMZGRkREREMDAy4uLisrKylpaV4eHhkZGRPT08/Pz/IfxjQAAAAgklEQVQoz53RRw7DIBBAUb5pxr2m3/+ckfDImwyJlL9DDzQgDIUMRu1vWOxTBdeM+onApENF0qHjpkOk2VTwLVEF40Kbfj1wK8AVu2pQA1aBBYDHJ1wy9Cf4cXD5chzNAvsAnc8TjoLAhIzsBao9w1rlVTIvkOYMd9nm6xPi168t9AYkbANdajpjcwAAAABJRU5ErkJggg==
1717
// @namespace https://github.com/hoothin/UserScripts
1818
// @homepage https://github.com/hoothin/UserScripts/tree/master/Picviewer%20CE%2B
@@ -46,7 +46,7 @@
4646
// @grant GM.notification
4747
// @grant unsafeWindow
4848
// @require https://update.greasyfork.org/scripts/6158/23710/GM_config%20CN.js
49-
// @require https://update.greasyfork.org/scripts/438080/1582659/pvcep_rules.js
49+
// @require https://update.greasyfork.org/scripts/438080/1613188/pvcep_rules.js
5050
// @require https://update.greasyfork.org/scripts/440698/1427239/pvcep_lang.js
5151
// @downloadURL https://greasyfork.org/scripts/24204-picviewer-ce/code/Picviewer%20CE+.user.js
5252
// @updateURL https://greasyfork.org/scripts/24204-picviewer-ce/code/Picviewer%20CE+.meta.js
@@ -22357,7 +22357,7 @@ ImgOps | https://imgops.com/#b#`;
2235722357
},
2235822358
focusedKeyup:function(e){
2235922359
var keyCode=e.keyCode;
22360-
var valid=[32,18,16,72,17,72,82,90,67,37,39];
22360+
var valid=[27,32,18,16,72,17,72,82,90,67,37,39];
2236122361
if(valid.indexOf(keyCode)==-1)return;
2236222362

2236322363
if (window.getSelection().toString()) return;
@@ -22422,6 +22422,12 @@ ImgOps | https://imgops.com/#b#`;
2242222422
case 37:
2242322423
this.switchImage(false);
2242422424
break;
22425+
case 27:
22426+
if (prefs.imgWindow.close.escKey) {
22427+
this.remove();
22428+
e.stopPropagation();
22429+
}
22430+
break;
2242522431
default:break;
2242622432
};
2242722433

@@ -22543,9 +22549,6 @@ ImgOps | https://imgops.com/#b#`;
2254322549
clearTimeout(this.ctrlkeyDownTimer);
2254422550
}break;
2254522551
case 27:{//ese关闭窗口
22546-
if(prefs.imgWindow.close.escKey){
22547-
this.remove();
22548-
};
2254922552
}break;
2255022553
default:break;
2255122554
}

0 commit comments

Comments
 (0)