How to make a Firefox Extension URL Button show a string when hovered over
问题 I have made my full FF extension, and there is a button in the URL bar. The boss now wants the button to show a certain string when you hover over it. Here is my current code for the button: var loadURLButton = function(doc, urlBtnClick) { var urlBarIcons = doc.getElementById('urlbar-icons') var btn = doc.createElement('toolbarbutton'); btn.setAttribute('id', 'urlbutton'); btn.setAttribute('image', require('sdk/self').data.url("canNone.png")); btn.addEventListener('command', urlBtnClick,