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

Open custom url when closing last tab #78

Closed LET33T37 closed 10 months ago

LET33T37 commented 10 months ago

Hi, utubo. Just tried this nice extension, everything work fine. The only pity is it cannot use on firefox's homepage. If we can add a "open custom url when closing last tab" option (like KristhianX's essential-buttons-toolbar) that will be perfect. Best regards.

utubo commented 10 months ago

This seems like it would be better to create a new addon. Because Simple gesture does not manage tabs. (If you close last tab without gesture, you want to open the url, right?) I will try to see if it is possible. Thanks for the issue.

LET33T37 commented 10 months ago

No problem, thanks for your time.

I use a local file as my homepage so i can use gesture on every page. Close the last page will lead to the firefox's default homepage (no gesture so i dont use it). The close function from essential buttons toolbar is what i looking for and i tried custom gesture to send "closeTab" message to {df2262aa-a56b-416a-aff0-3a13644a578b} for hours but cant get it to work.

utubo commented 10 months ago

The close function from essential buttons toolbar is what i looking for and i tried custom gesture to send "closTab" message to {df2262aa-a56b-416a-aff0-3a13644a578b} for hours but cant get it to work

Unfortunately, Essential buttons toolbar does not listen onMessageExternal.😢

See https://github.com/KristhianX/essential-buttons-toolbar/blob/main/background.js https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/runtime/sendMessage

LET33T37 commented 10 months ago

Got it. I'd better use gesture n toolbar both. 2 gestures "close, newTab, nextTab" n "closeSameUrl, newTab" i use now made unnecessary connections.

Thanks again, have a nice day.

utubo commented 10 months ago

I created it.

It is awaiting review and has not yet been released to the public. https://addons.mozilla.org/ja/firefox/addon/open-custom-url-w-c-l-t/

LET33T37 commented 10 months ago

https://addons.mozilla.org/ja/firefox/addon/open-custom-url-w-c-l-t/ 『このアドオンはお使いのプラットフォームに対応していません』

https://addons.mozilla.org/ja/android/addon/open-custom-url-w-c-l-t/

utubo commented 10 months ago

https://addons.mozilla.org/ja/firefox/addon/open-custom-url-w-c-l-t/ 『このアドオンはお使いのプラットフォームに対応していません』

Sorry I made a mistake.