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.9.10 .1
15+ // @version 2025.9.11 .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
4545// @grant GM.registerMenuCommand
4646// @grant GM.notification
4747// @grant unsafeWindow
48- // @require http://hoothin.github.io/UserScripts/Picviewer%20CE%2B/GM_config%20CN.js?v=1757505897
49- // @require http://hoothin.github.io/UserScripts/Picviewer%20CE%2B/pvcep_rules.js?v=1757505897
50- // @require http://hoothin.github.io/UserScripts/Picviewer%20CE%2B/pvcep_lang.js?v=1757505897
48+ // @require http://hoothin.github.io/UserScripts/Picviewer%20CE%2B/GM_config%20CN.js?v=1757597725
49+ // @require http://hoothin.github.io/UserScripts/Picviewer%20CE%2B/pvcep_rules.js?v=1757597725
50+ // @require http://hoothin.github.io/UserScripts/Picviewer%20CE%2B/pvcep_lang.js?v=1757597725
5151// @match *://*/*
5252// @exclude http://www.toodledo.com/tasks/*
5353// @exclude http*://maps.google.com*/*
@@ -23439,6 +23439,7 @@ ImgOps | https://imgops.com/#b#`;
2343923439 },3000);
2344023440 },
2344123441 setPosition:function(){
23442+ if (!this.data.img) return;
2344223443 var position=getContentClientRect(this.data.img);
2344323444 var cs=this.loadingAnim.style;
2344423445 var scrolled=getScrolled();
@@ -23572,7 +23573,7 @@ ImgOps | https://imgops.com/#b#`;
2357223573 };
2357323574
2357423575 var self=this;
23575- function openInTop(){
23576+ async function openInTop(){
2357623577 var data=self.data;
2357723578
2357823579 //删除不能发送的项。
@@ -23593,6 +23594,15 @@ ImgOps | https://imgops.com/#b#`;
2359323594 delCantClone(data);
2359423595 };
2359523596
23597+ if(!gallery){
23598+ gallery=new GalleryC();
23599+ gallery.data=[];
23600+ }
23601+ let allData=(await gallery.getAllValidImgs()).map(item => item.src);
23602+ allData = allData.filter((item, index) => {
23603+ return allData.indexOf(item) === index;
23604+ });
23605+ data.all = allData;
2359623606 window.postMessage({
2359723607 messageID:messageID,
2359823608 src:img.src,
0 commit comments