Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
1 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
3 <dialog buttons="extra2,accept,cancel" onload="loaded()"
4 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
6 <tabbox id="tabbox" hidden="true">
7 <tabs>
8 <tab id="tab" label="Tab"/>
9 </tabs>
10 <tabpanels>
11 <tabpanel>
12 <button id="tabbutton" label="Tab Button"/>
13 <button id="tabbutton2" label="Tab Button 2"/>
14 </tabpanel>
15 </tabpanels>
16 </tabbox>
18 <textbox id="textbox-yes" value="textbox-yes" hidden="true"/>
19 <textbox id="textbox-no" value="textbox-no" noinitialfocus="true" hidden="true"/>
20 <button id="one" label="One"/>
21 <button id="two" label="Two" hidden="true"/>
23 <script>
24 function loaded()
25 {
26 if (window.arguments) {
27 var step = window.arguments[0];
28 switch (step) {
29 case 2:
30 document.getElementById("one").setAttribute("noinitialfocus", "true");
31 break;
32 case 3:
33 document.getElementById("one").hidden = true;
34 case 4:
35 document.getElementById("tabbutton2").setAttribute("noinitialfocus", "true");
36 case 5:
37 document.getElementById("tabbutton").setAttribute("noinitialfocus", "true");
38 case 6:
39 document.getElementById("tabbox").hidden = false;
40 break;
41 case 7:
42 var two = document.getElementById("two");
43 two.hidden = false;
44 two.focus();
45 break;
46 case 8:
47 document.getElementById("textbox-yes").hidden = false;
48 break;
49 case 9:
50 document.getElementById("textbox-no").hidden = false;
51 break;
52 }
53 }
54 }
55 </script>
57 </dialog>