|
1 <?xml version="1.0"?> |
|
2 <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" onload="boom();"> |
|
3 |
|
4 <bindings xmlns="http://www.mozilla.org/xbl"> |
|
5 <binding id="empty"><content></content></binding> |
|
6 </bindings> |
|
7 |
|
8 <script type="text/javascript"> |
|
9 |
|
10 function boom() |
|
11 { |
|
12 var menupopup = document.getElementById("menupopup"); |
|
13 var x = SpecialPowers.wrap(document).getAnonymousNodes(menupopup)[0]; |
|
14 menupopup.style.MozBinding = "url('#empty')"; |
|
15 for (var ppp in x) { |
|
16 } |
|
17 } |
|
18 |
|
19 </script> |
|
20 |
|
21 <menupopup id="menupopup"/> |
|
22 |
|
23 </window> |