Last active
December 25, 2019 03:04
-
-
Save Noitidart/9467045 to your computer and use it in GitHub Desktop.
_ff-addon-snippet-AddToolbarButtonToPalette - This shows how to add button to the toolbar palette and on customize it shows how to store the position/order of the icon. Reason to add to palette instead of adding directly to addonbar or navbar is so that user can customize. It is the XUL Overlay equivalent of adding `toolbarbutton` to `<toolbarpa…
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Research here about persist: https://developer.mozilla.org/en-US/Add-ons/Code_snippets/Toolbar#Adding_button_by_default