Skip to content

Commit bdefe6f

Browse files
committed
add pixlr
1 parent 08f4491 commit bdefe6f

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

Picviewer CE+/Picviewer CE+.user.js

Lines changed: 5 additions & 1 deletion
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.10.13.1
9+
// @version 2017.10.25.1
1010
// @created 2011-6-15
1111
// @namespace http://userscripts.org/users/NLF
1212
// @homepage http://hoothin.com
@@ -1818,6 +1818,7 @@
18181818
'<span class="pv-gallery-vertical-align-helper"></span>'+
18191819
'</span>'+
18201820
'<span class="pv-gallery-head-command-drop-list pv-gallery-head-command-drop-list-others">'+
1821+
'<span class="pv-gallery-head-command-drop-list-item" data-command="psImage" title="使用Pixlr在线编辑该图片">在线编辑</span>'+
18211822
'<span class="pv-gallery-head-command-drop-list-item" data-command="openInNewWindow" title="新窗口打开图片">新窗口打开</span>'+
18221823
'<span class="pv-gallery-head-command-drop-list-item" data-command="scrollIntoView" title="滚动到当前图片所在的位置">定位到图片</span>'+
18231824
'<span class="pv-gallery-head-command-drop-list-item" data-command="enterCollection" title="查看所有收藏的图片">查看收藏</span>'+
@@ -2405,6 +2406,9 @@
24052406
case 'openInNewWindow':{
24062407
window.open(self.src,'_blank');
24072408
}break;
2409+
case 'psImage':{
2410+
window.open('https://pixlr.com/editor/?image='+self.src,'_blank');
2411+
}break;
24082412
case 'scrollIntoView':{
24092413
if(collection.mMode){
24102414
alert('收藏模式中,无法使用');

0 commit comments

Comments
 (0)