Handy Image

Shows just fullsize Image with hotkeys & without pop-ups on many image-hosting sites

< 脚本Handy Image的反馈

提问/评论

§
发表于:2015-09-25

@Owyn, it looks like wikipedia has international translation.
And some has different site rule.

https://id.wikipedia.org/wiki/Berkas:Collage_of_views_of_Pozna%C5%84,_Poland.jpg
This could be handled with // @match *://*.wikipedia.org/wiki/*:*.jp*

Can we use a lot of *? Won't it make it slower?

https://af.wikipedia.org/wiki/Pozna%C5%84#/media/File:Collage_of_views_of_Pozna%C5%84,_Poland.jpg
But this (actually the most) has this rule. It looks like flickr.

Owyn作者
§
发表于:2015-09-25
编辑于:2015-09-25

Can we use a lot of *? Won't it make it slower?

@ubless607, Not really, at least it's not regexp. Only problem is that it might match some other pages except image pages.

§
发表于:2015-09-29

@Owyn, I will leave this to you. I don't know what to do.

Owyn作者
§
发表于:2015-09-29
编辑于:2015-09-29

didn't // @match *://*.wikipedia.org/wiki/*:*.jp* do the thing?

Jixun.Moe管理员
§
发表于:2015-09-29

didn't // @match *://*.wikipedia.org/wiki/*:*.jp* do the thing?

But this doesn't work if is png right?

Example: https://en.wikipedia.org/wiki/File:PNG_transparency_demonstration_1.png

Owyn作者
§
发表于:2015-09-29

But this doesn't work if is png right?

right, that's why there's is a second @match for png images

§
发表于:2015-09-29

@Owyn, how about using regxp? (I am now reading a book about it... but it's a bit hard)

Jixun.Moe管理员
§
发表于:2015-09-29

But this doesn't work if is png right?

right, that's why there's is a second @match for png images

Ohh I see..

Owyn作者
§
发表于:2015-09-29
编辑于:2015-09-30

@ubless607

regxp

it's slow, and less readable

  • it won't give anything here since * do their job

edit: fixed wikipedia

发表回复

登录以发表回复。