tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

subdialog.xhtml (916B)


      1 <?xml version="1.0"?>
      2 
      3 <!-- Any copyright is dedicated to the Public Domain.
      4   - http://creativecommons.org/publicdomain/zero/1.0/ -->
      5 
      6 <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
      7        xmlns:html="http://www.w3.org/1999/xhtml"
      8        title="Sample sub-dialog" style="width: 32em; height: 5em;"
      9        onload="document.getElementById('textbox').focus();">
     10 <dialog id="subDialog">
     11  <script>
     12    document.addEventListener("dialogaccept", acceptSubdialog);
     13    function acceptSubdialog() {
     14      window.arguments[0].acceptCount++;
     15    }
     16  </script>
     17 
     18  <linkset>
     19    <html:link rel="stylesheet" href="chrome://global/skin/global.css" />
     20  </linkset>
     21 
     22  <description id="desc">A sample sub-dialog for testing</description>
     23 
     24  <html:input id="textbox" value="Default text" />
     25 
     26  <separator class="thin"/>
     27 
     28  <button oncommand="window.close();" label="Close" />
     29 
     30 </dialog>
     31 </window>