I can’t find information about adding menu items in android firefox main menu. Before I added it so:
function addMenuItem(window) {
menuID = window.NativeWindow.menu.add({
name: “Show Toast”,
callback: function(){
showToast(window);
}
});
}
But in jpm I have no object window. Is it possible to add menu item in jpm?
jorgev
2
This documentation page explains what you can and can’t do with jpm on mobile.
Will unsuported modules be added in next versions of firefox jpm?
jorgev
4
No, the work is currently focused on the new WebExtensions API. JPM/SDK add-ons should be migrated to it once it’s ready to use.