Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

How do I hook in to the "New Tab" page UI for the add-on I am writing?

  • 1 réponse
  • 1 a ce problème
  • 12 vues
  • Dernière réponse par Kevin

more options

I am writing an add-on called Undo Close, for Firefox Mobile. It allows the user to reopen recently closed tabs.

Currently, I provide an "Undo Close" button in the main menu (using the NativeWindow API). However, the ideal location for this button is in the BrowserTab UI. As far as I know, there is no JS-API for the native widgets located therein. How can I add my button to the UI, possibly using ctypes?

If interested, I can supply a link to my add-on in AMO.

I am writing an add-on called Undo Close, for Firefox Mobile. It allows the user to reopen recently closed tabs. Currently, I provide an "Undo Close" button in the main menu (using the NativeWindow API). However, the ideal location for this button is in the BrowserTab UI. As far as I know, there is no JS-API for the native widgets located therein. How can I add my button to the UI, possibly using ctypes? If interested, I can supply a link to my add-on in AMO.

Toutes les réponses (1)

more options

You would be best to ask the Firefox for Android developers at https://chat.mibbit.com/?server=irc.mozilla.org&channel=%23mobile they can be best reached from 8 AM pacific to 6 PM pacific during the work week.

As I understand your question you would need https://bugzilla.mozilla.org/show_bug.cgi?id=799631 to be fixed.