Modonomicon

Modonomicon

29M Downloads

Allow specifying pages on which a command can run

klikli-dev opened this issue ยท 2 comments

commented

In the command definition, allow a list of pages the command can run on.
If the command is run from another page, it will fail and not count towards the usage count.

commented

I have to investigate how it can be implemented, but I think not even allowing the click event in the first place is reasonable

commented

I'm really not sure if it would be better to do the allow list in the command, or in the page

does either way give the option of not creating the click event if the command wouldn't be allowed?