Handy Image

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

< Opinie na Handy Image

Ocena: Dobry - skrypt działa

FFW
§
Napisano: 13-05-2015
Edytowano: 13-05-2015

Adding a new selector rule

Was happy that I found the tutorial at github but it didn't mention anything on how to add a new selector rule :/

I remember once creating a new selector rule to find out and be disappointed later that I just needed to add a match for that site and that my rule didn't actually work. My question is, do I have to modify anything else beside the part of creating a new selector rule with its case next to the current ones?

OwynAutor
§
Napisano: 13-05-2015

It mentioned not to create new cases.

But if it is needed, either contact me to add that site or make sure you have everything needed:
1. @match
2. case "":
check if script is running on that page, and check if selector actually selects anything.

FFW
§
Napisano: 13-05-2015
Edytowano: 13-05-2015

@Owyn Yes, I read that and I get why you would want to keep it that way. I guess I better play around with it more to figure things out. I like this one so thank you for sharing your work :)

Also do you keep a changelog somewhere?

OwynAutor
§
Napisano: 13-05-2015

changelog is with every commit in github via comments

FFW
§
Napisano: 13-05-2015

Oops I missed that. Thank you again.

Odpowiedz

Zaloguj się, by odpowiedzieć.