FireGestures script to call extension function

42 views Asked by At

How does one invoke a function provided by a Firefox extension, inside FireGestures User Script? For example, I frequently use deskCut's context menu command to make desktop url shortcut files. I've downloaded the latest xpi file. Therein, in the file "deskcutOverlay.xul", section on "contentAreaContextMenu", I saw the main function referred to as

net.evelands.deskcut.create()

But simply calling it like that in the body of the User Script does nothing.

1

There are 1 answers

0
rych On

OK, now it works exactly like that. I had to change something inside deskcut code, relax the assumption that it's always called from the context menu. Now I can also call it with a mouse gesture or even via a keyboard shortcut!