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 2017.10.12.2
9+ // @version 2017.10.13.1
1010// @created 2011-6-15
1111// @namespace http://userscripts.org/users/NLF
1212// @homepage http://hoothin.com
599599 { name : "Acgget" ,
600600 url : / a c g 1 8 \. u s | a c g g e t \. / ,
601601 getImage : function ( ) {
602- return this . src . replace ( / ( p i c \. a c g g e t \. c o m \/ t h u m b \/ ) w \d + _ h \d + \/ / i, "$1w9999_h9999/" ) ;
602+ return this . getAttribute ( 'data-original' ) || this . src . replace ( / ( p i c \. a c g g e t \. c o m \/ t h u m b \/ ) w \d + _ h \d + \/ / i, "$1w9999_h9999/" ) ;
603603 }
604604 } ,
605605 { name : "Pixiv" ,
803803 // GithubAvatars
804804 { name : "GithubAvatars" ,
805805 d : "github.com" ,
806- r : / ( a v a t a r s \d * \. g i t h u b u s e r c o n t e n t \. c o m .* ) \? .* $ / i,
806+ r : / ( a v a t a r s \d + \. g i t h u b u s e r c o n t e n t \. c o m .* ) \? .* $ / i,
807807 s : "$1" ,
808808 example : "https://avatars2.githubusercontent.com/u/3233275/" ,
809809 } ,
You can’t perform that action at this time.
0 commit comments