File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
813813 { name :"新浪微博" ,
814814 siteExample :"http://weibo.com/pub/?source=toptray" ,
815815 enabled :true ,
816- url :/ ^ h t t p s ? : \/ \/ (?: [ ^ . ] + \. ) * w e i b o \. c o m / i,
816+ url :/ ^ h t t p s ? : \/ \/ (?: [ ^ . ] + \. ) * w e i b o \. ( c o m | c n ) / i,
817817 getImage :function ( img ) {
818818 var oldsrc = this . src ;
819- var pic = / ( \. s i n a i m g \. ( c n | c o m ) \/ ) (?: b m i d d l e ) / i; //微博内容图片.
819+ var pic = / ( \. s i n a i m g \. ( c n | c o m ) \/ ) (?: b m i d d l e | o r j 3 6 0 ) / i; //微博内容图片.
820820 var pic2 = / ( \. s i n a i m g \. ( c n | c o m ) \/ ) (?: s q u a r e | t h u m b n a i l ) / i; // 微博内容图片2.
821821 var head = / ( \. s i n a i m g \. ( c n | c o m ) \/ \d + ) \/ 5 0 \/ / i; //头像.
822822 var photoList = / \. s i n a i m g \. ( c n | c o m ) \/ t h u m b \d + \/ \w + / i//相册
11981198 getImage : function ( ) {
11991199 return this . src . replace ( / @ .+ / i, "" ) ;
12001200 }
1201+ } ,
1202+ { name : "meitudata" ,
1203+ url : / m e i p a i \. c o m / ,
1204+ getImage : function ( ) {
1205+ return this . src . replace ( / ! t h u m b .+ / i, "" ) ;
1206+ }
1207+ } ,
1208+ { name : "mafengwo" ,
1209+ url : / m a f e n g w o \. c n / ,
1210+ getImage : function ( ) {
1211+ return this . src . replace ( / \? i m a g e M o g r .* / i, "" ) ;
1212+ }
12011213 }
12021214 ] ;
12031215
You can’t perform that action at this time.
0 commit comments