Handy Image

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

< Spätná väzba na Handy Image

Otázka/komentár

§
Pridaný: 25.09.2015

@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.

OwynAutor
§
Pridaný: 25.09.2015
Upravený: 25.09.2015

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.

§
Pridaný: 29.09.2015

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

OwynAutor
§
Pridaný: 29.09.2015
Upravený: 29.09.2015

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

Jixun.MoeZablokovaný
§
Pridaný: 29.09.2015

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

OwynAutor
§
Pridaný: 29.09.2015

But this doesn't work if is png right?

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

§
Pridaný: 29.09.2015

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

Jixun.MoeZablokovaný
§
Pridaný: 29.09.2015

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..

OwynAutor
§
Pridaný: 29.09.2015
Upravený: 30.09.2015

@ubless607

regxp

it's slow, and less readable

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

edit: fixed wikipedia

Pridať odpoveď

Aby ste mohli pridať odpoveď, prihláste sa.