You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have Foxy Gestures user who would like to invoke NextPlease commands via gestures. As I understand, in the pre-FF57 era (when FireGestures still worked) people used to dispatch key events to invoke NextPlease via shortcuts as demonstrated by the script in this issue. However, this doesn't work with web extensions. I don't believe that commands defined in manifest.json will respond to untrusted events dispatched from user scripts.
I've had other addons add or investigate support for an onMessageExternal API such as in: marklieberman/foxygestures#223 and marklieberman/foxygestures#146. In this way I can invoke NextPlease commands using code like runtime.sendMessage(*NextPlease-Extension-ID*, { command: ... }). Would you consider adding support for this type of API or taking a PR?
The text was updated successfully, but these errors were encountered:
I have Foxy Gestures user who would like to invoke NextPlease commands via gestures. As I understand, in the pre-FF57 era (when FireGestures still worked) people used to dispatch key events to invoke NextPlease via shortcuts as demonstrated by the script in this issue. However, this doesn't work with web extensions. I don't believe that commands defined in manifest.json will respond to untrusted events dispatched from user scripts.
I've had other addons add or investigate support for an onMessageExternal API such as in: marklieberman/foxygestures#223 and marklieberman/foxygestures#146. In this way I can invoke NextPlease commands using code like
runtime.sendMessage(*NextPlease-Extension-ID*, { command: ... })
. Would you consider adding support for this type of API or taking a PR?The text was updated successfully, but these errors were encountered: