Firefox Android 附加组件不允许按钮?
Firefox Android add-on does not allow Button?
我使用带有 Button. This works fine in the Desktop Firefox: button shows up and it works. But when I push the add-on to Firefox for Android using jpm-mobile and ADB (see here 的附加 SDK 制作了一个 Firefox 扩展,按钮丢失了。
Android 的 Firefox 不支持按钮吗?还是我做错了什么?
我不这么认为,要在 android 上执行此操作,您必须使用 NativeWindow
并将项目添加到菜单:https://developer.mozilla.org/en-US/Add-ons/Firefox_for_Android/API/NativeWindow/menu
为了将来参考,这可能是 Firefox 中 Android 附加组件的所有可能:
https://developer.mozilla.org/en-US/Add-ons/Firefox_for_Android/API
工具栏按钮的替代方法可以是 URL 栏操作。
我使用带有 Button. This works fine in the Desktop Firefox: button shows up and it works. But when I push the add-on to Firefox for Android using jpm-mobile and ADB (see here 的附加 SDK 制作了一个 Firefox 扩展,按钮丢失了。
Android 的 Firefox 不支持按钮吗?还是我做错了什么?
我不这么认为,要在 android 上执行此操作,您必须使用 NativeWindow
并将项目添加到菜单:https://developer.mozilla.org/en-US/Add-ons/Firefox_for_Android/API/NativeWindow/menu
为了将来参考,这可能是 Firefox 中 Android 附加组件的所有可能:
https://developer.mozilla.org/en-US/Add-ons/Firefox_for_Android/API
工具栏按钮的替代方法可以是 URL 栏操作。