open-url-in-container icon indicating copy to clipboard operation
open-url-in-container copied to clipboard

Gesturefy support? (not really an issue)

Open cprn opened this issue 3 years ago • 0 comments

Hi,

Gesturefy is a popular Firefox add-on that provides mouse gestures that trigger actions. I'm trying to configure a gesture to re-open a tab in a container. I'm currently looking into 2 ways of doing it with your add-on:

  1. It's possible to set a gesture to call a user script (or to open a pop-up menu with a list of user scripts so I can write one for each container) but idk what would be the JavaScript invocation for this add-on to open the same URL in a named container in the background - if it worked I could just close the current tab and I'm done. I tried to look for a way to run firefox-container in a shell but there seems to be no way of doing that from an add-on / JavaScript (which makes sens from a security standpoint).
  2. There's also an option to assign a gesture to the action called "Send message to other add-on" - it requires "Add-on ID" and the message itself (optionally serialized as JavaScript object) - maybe it's easier for someone savvy in creating add-ons but it goes over my head.

Any tips?

cprn avatar Nov 25 '21 10:11 cprn