Open gregglind opened 10 years ago
UITour = Components.utils.import("resource:///modules/UITour.jsm"); let highlight = document.getElementById("UITourHighlightContainer"); highlight.hidden = false; highlight.openPopup($("#home-button") //https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XUL/Method/openPopup //https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XUL/PopupGuide/Positioning // or highlight.openPopup($("#searchbar"),"leftcenter topleft",0,-highlight.getBoundingClientRect().height/2)
Basically, can we do some coolness in saying where the thing would be affecting? I think we can.