marklieberman / foxygestures

Mouse gestures for Firefox
GNU General Public License v3.0
188 stars 19 forks source link

OneTab gesture integration #146

Open Guttts opened 6 years ago

Guttts commented 6 years ago

I like https://addons.mozilla.org/en-US/firefox/addon/onetab/ a lot. I use it frequently, but it is a chore to right click and move through the menus to make it do what I need and sometimes I need to do it for several tabs individualy in a row. Gesture would be much easier.

Is it please possible to include gestures that would fire actions of this addon? Or allow custom codes and then I would ask for some tips how to write it as I didnt manage that in firegestures and OneTab guys never replied to me.

Im looking for gestures for these actions: Send only this tab to OneTab Send tabs on the right to OneTab

Thanks for your addon and any help

memiarz commented 6 years ago

Same here. That would be great.

marklieberman commented 6 years ago

This would require cooperation from the OneTab author. They would have to add a listener to runtime.onMessageExternal to provide an API to invoke OneTab commands. Then you could use a User Script to invoke OneTab with gestures.

one-tab commented 6 years ago

Thanks for the idea @Guttts and for @marklieberman for getting in touch. We'll investigate implementing this and will post on this thread when it is ready.

marklieberman commented 6 years ago

@one-tab Temporary containers extension has implemented an onMessageExternal API in a similar use case to this issue. See #223 if you want to see how they did it.