To anonymous element add pseudo element and cursor style and event listeners
问题 I have this anonymous element in the toolbarbutton xul element. It's a xul:image . I want to give it a pseudo element ( :before , :after ). And on hover I want to give it cursor:pointer style. I also want to addEventListener('click', ...) it. However none of this works. I even modified the XBL to inject my own stack element and then try this stuff on the stack element but it just doesn't work. Inspecting the anonymous elements DOM Inspector add-on. (I'm trying to set point on this element and