Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<blockquote> <p>But, I have the problem: I can't delete location from the title bar. Because of that I've tried to create and open an inline jQuery dialog that will hide the location in title. Do you know a better way how to do that?</p> </blockquote> <p>Xul dialogs and prompts are customizable:</p> <p><a href="https://developer.mozilla.org/en/Code_snippets/Dialogs_and_Prompts" rel="nofollow">Dialogs and Prompts</a></p> <p><a href="https://developer.mozilla.org/en/nsIPromptService" rel="nofollow">Prompt Service</a></p> <p><strong>Prompt:</strong></p> <pre><code>var promptService = Components.classes["@mozilla.org/embedcomp/prompt-service;1"] .getService(Components.interfaces.nsIPromptService); var result = promptService.confirm(null, "Title of this Dialog", "Are you sure?"); // result is now true if OK was clicked, and false if cancel was clicked </code></pre> <p><strong>Dialog:</strong></p> <pre><code>&lt;dialog xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" id="myDialogId" title="My Dialog" ondialogaccept="return onOK();" onload="onLoad();" persist="screenX screenY width height" windowtype="myDialogWindowType"&gt; &lt;script type="application/javascript" src="chrome://myext/content/mydialog.js"/&gt; &lt;grid&gt; &lt;columns&gt;&lt;column/&gt;&lt;column/&gt;&lt;/columns&gt; &lt;rows&gt; &lt;row align="center"&gt;&lt;label value="Name:"/&gt;&lt;textbox id="name"/&gt;&lt;/row&gt; &lt;row align="center"&gt;&lt;label value="Description:"/&gt;&lt;textbox id="description"/&gt;&lt;/row&gt; &lt;row align="center"&gt;&lt;spacer/&gt;&lt;checkbox id="enabled" label="Check to Enable"/&gt;&lt;/row&gt; &lt;/rows&gt; &lt;/grid&gt; &lt;/dialog&gt; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload