utubo / firefox-simple_gesture

🦊An add-on that adds simple touch gestures for Firfox for Android. Sorry, I only check issues sometimes.
https://addons.mozilla.org/ja/firefox/addon/simple-gesture/
Other
32 stars 1 forks source link

[request] Open other extension popup #71

Closed AeliusSaionji closed 1 year ago

AeliusSaionji commented 1 year ago

Would it be possible to create a gesture that opens ublock origin's popup? Or perhaps, call uBlock t tell it to perform an action.

Thanks

utubo commented 1 year ago

Sorry, this is not possible because uBlock cannot accept requests from other add-ons.😢

I use uBlock too, so I know how you feel. Thanks.

utubo commented 1 year ago

📝See also https://github.com/uBlockOrigin/uBlock-issues/issues/690

AeliusSaionji commented 1 year ago

Here's an idea: could we use JS to create one or multiple distinct visuals to trigger an automation?

https://github.com/Nain57/Smart-AutoClicker

Then we could use gestures to trigger an automation to do anything with any extension.

utubo commented 1 year ago

🤔 Like this? (Smart AutoClicker doesn't work on my phone...)

  1. Add a custom gesture.
    /** @name ⛔uBlock */
    // nop
  2. Check Display Command
  3. Capture ⛔ emoji with Smart AutoClicker.
AeliusSaionji commented 1 year ago

Yes that works! I probably will implement this in tasker instead, since autoclicker has a permanent overlay.