mozilla

Compare Revisions

Midas editor module security preferences

Change Revisions

Revision 304273:

Revision 304273 by teoli on

Revision 304391:

Revision 304391 by bakecapasion on

Title:
Security preferences
Security preferences
Slug:
Midas/Security_preferences
Midas/Security_preferences
Tags:
"editor", "Midas"
"editor", "Midas"
Content:

Revision 304273
Revision 304391
t8      To protect users' private information, unprivileged scriptst8      <span id="result_box" lang="it"><span class="hps">Creare e<
> cannot invoke the Cut, Copy, and Paste commands in the Mozilla r>/span> <span class="hps">gestire un</span> <span class="hps">sito
>ich text editor, so the corresponding buttons on the Mozilla Rich> e-commerce</span> <span class="hps">completamente funzionale</sp
> Text Editing demo page will not work. To enable these functions >an> <span class="hps">con</span> <span class="hps">WordPress</spa
>for purposes of the demo, you must modify your browser preference>n><span>.</span> <span class="hps">Tema</span> <span class="hps">
>s.>StoreBox</span> <span class="hps">vi aiuterà</span> <span class="
 >hps">nella creazione di un</span> <span class="hps">sito e-commer
 >ce</span> <span class="hps">che non solo ha</span> <span class="h
 >ps">grandi caratteristiche</span> <span class="hps">e le funziona
 >lità</span> <span class="hps">del sito</span> <span class="hps">e
 >-commerce,</span> <span class="hps">ma sembra</span> <span class=
 >"hps">anche incredibile</span><span>.</span></span>
9    </p>
10    <p>
11      For Firefox:
12    </p>
13    <ol>
14      <li>Quit Firefox. If you have Quick Launch running (in Wind
>ows, an icon in the toolbar), quit that too. 
15      </li>
16      <li>
17        <a class="external" href="http://support.mozilla.com/en-U
>S/kb/Profiles">Find your Firefox profile directory</a>. 
18      </li>
19      <li>Open the <code class="filename">user.js</code> file fro
>m that directory in a text editor. If there's no user.js file, cr 
>eate one. 
20      </li>
21      <li>Add these lines to <code class="filename">user.js</code
>>: 
22        <pre class="code">
23<span class="diff_sub">user_pref("capability.policy.policynames",
> "allowclipboard"); 
24</span><span class="diff_sub">user_pref("capability.policy.allowc
>lipboard.sites", "https://www.mozilla.org</span><span class="diff 
>_sub">"); 
25</span><span class="diff_sub">user_pref("capability.policy.allowc
>lipboard.Clipboard.cutcopy", "</span><span class="diff_sub">allAc 
>cess");</span> 
26<span class="diff_sub">user_pref("capability.policy.allowclipboar
>d.Clipboard.paste", "al</span><span class="diff_sub">lAccess");</ 
>span> 
27</pre>
28      </li>
29      <li>Change the url <span class="external"><code class="url"
>>https://www.mozilla.org</code></span> to the site for which you  
>want to enable this function. 
30      </li>
31      <li>Save the file, and restart Firefox. The Clipboard butto
>ns should now function. 
32      </li>
33    </ol>
34    <div class="note">
35      <strong>Note:</strong> The preference is site as well as pr
>otocol specific. For example:<br> 
36      <pre>
37user_pref("capability.policy.allowclipboard.sites", "http://www.m
>ozilla.org") 
38</pre>
39      <p>
40        is not the same as:
41      </p>
42      <pre>
43user_pref("capability.policy.allowclipboard.sites", "https://www.
>mozilla.org") 
44</pre>
45      <p>
46        This is because the first uses HTTP while the second uses
> HTTPS. 
47      </p>
48    </div>
49    <p>
50      If you want to allow multiple URLs to access the Paste oper
>ation, separate the URLs with a space. For example: 
51    </p>
52    <pre>
53user_pref("capability.policy.allowclipboard.sites",
54 "https://www.mozilla.org https://developer.mozilla.org")
55</pre>
56    <dl>
57      <dt>
58        For more information about security policies, see <a clas
>s="external" href="http://www.mozilla.org/projects/security/compo 
>nents/ConfigPolicy.html">http://www.mozilla.org/projects/security 
>/components/ConfigPolicy.html</a>. 
59      </dt>
60    </dl>
61    <p>
62      &nbsp;

Back to History