Skip to content

Commit e818a02

Browse files
committed
fix
1 parent 302c8e1 commit e818a02

1 file changed

Lines changed: 15 additions & 3 deletions

File tree

Picviewer CE+/Picviewer CE+.user.js

Lines changed: 15 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 2018.8.1.1
9+
// @version 2018.8.27.1
1010
// @created 2011-6-15
1111
// @namespace http://userscripts.org/users/NLF
1212
// @homepage http://hoothin.com
@@ -813,10 +813,10 @@
813813
{name:"新浪微博",
814814
siteExample:"http://weibo.com/pub/?source=toptray",
815815
enabled:true,
816-
url:/^https?:\/\/(?:[^.]+\.)*weibo\.com/i,
816+
url:/^https?:\/\/(?:[^.]+\.)*weibo\.(com|cn)/i,
817817
getImage:function(img){
818818
var oldsrc=this.src;
819-
var pic=/(\.sinaimg\.(cn|com)\/)(?:bmiddle)/i;//微博内容图片.
819+
var pic=/(\.sinaimg\.(cn|com)\/)(?:bmiddle|orj360)/i;//微博内容图片.
820820
var pic2=/(\.sinaimg\.(cn|com)\/)(?:square|thumbnail)/i;// 微博内容图片2.
821821
var head=/(\.sinaimg\.(cn|com)\/\d+)\/50\//i;//头像.
822822
var photoList=/\.sinaimg\.(cn|com)\/thumb\d+\/\w+/i//相册
@@ -1198,6 +1198,18 @@
11981198
getImage: function() {
11991199
return this.src.replace(/@.+/i,"");
12001200
}
1201+
},
1202+
{name: "meitudata",
1203+
url: /meipai\.com/,
1204+
getImage: function() {
1205+
return this.src.replace(/!thumb.+/i,"");
1206+
}
1207+
},
1208+
{name: "mafengwo",
1209+
url: /mafengwo\.cn/,
1210+
getImage: function() {
1211+
return this.src.replace(/\?imageMogr.*/i,"");
1212+
}
12011213
}
12021214
];
12031215

0 commit comments

Comments
 (0)