Skip to content

Commit 3a4ac8e

Browse files
committed
fix
1 parent 0dd5442 commit 3a4ac8e

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

Picviewer CE+/Picviewer CE+.user.js

Lines changed: 8 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.3.23.1
9+
// @version 2017.3.25.1
1010
// @created 2011-6-15
1111
// @namespace http://userscripts.org/users/NLF
1212
// @homepage http://hoothin.com
@@ -28,7 +28,6 @@
2828
// @contributionURL https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=rixixi@sina.com&item_name=Greasy+Fork+donation
2929
// @contributionAmount 1
3030
// @run-at document-end
31-
3231
// @include http://*
3332
// @include https://*
3433
// @exclude http://www.toodledo.com/tasks/*
@@ -538,6 +537,12 @@
538537
getImage: function() {
539538
return this.src.replace(/_\d+x\d+\.jpg$/i,".jpg");
540539
}
540+
},
541+
{name: "greasyfork",
542+
url: /(greasyfork|sleazyfork)\.org/,
543+
getImage: function() {
544+
return this.src.replace(/\/thumb\//i,"/original/").replace(/\/thumbnails\//i,"/");
545+
}
541546
}
542547
];
543548

@@ -8052,7 +8057,7 @@ background-image:url("'+ prefs.icons.magnifier +'");\
80528057
GM_config.init({
80538058
id: 'pv-prefs',
80548059
title: GM_config.create('a', {
8055-
href: 'https://greasyfork.org/zh-CN/scripts/5199-picviewer-ce',
8060+
href: 'https://greasyfork.org/zh-CN/scripts/24204-picviewer-ce',
80568061
target: '_blank',
80578062
textContent: 'picviewerCE 设置',
80588063
title: '点击此处打开主页'

0 commit comments

Comments
 (0)