mozilla

Compare Revisions

Midas editor module security preferences

Change Revisions

Revision 480085:

Revision 480085 by jswisher on

Revision 480087:

Revision 480087 by jswisher on

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

Revision 480085
Revision 480087
n8      To protect users' private information, unprivileged scriptsn8      To protect users' private information, unprivileged scripts
> cannot invoke the Cut, Copy, and Paste commands in the Mozilla r> cannot invoke the Cut, Copy, and Paste commands in the Mozilla r
>ich text editor, so the corresponding buttons on the <a href="/en>ich text editor, so the corresponding buttons on the <a href="htt
>-US/docs/" title="/en-US/docs/">Mozilla Rich Text Editing demo pa>p://www-archive.mozilla.org/editor/midasdemo/" title="http://www-
>ge</a> will not work. To enable these functions, you must modify > archive.mozilla.org/editor/midasdemo/">Mozilla Rich Text Editing
>your browser preferences.> demo page</a> will not work. To enable these functions, you must
 > modify your browser preferences.
n21      <li>Add these lines to <code class="filename">user.js</coden21      <li>Add these lines to <code class="filename">user.js</code
>>:<br>>>:
22        <h3 class="code" id="user_pref(.22capability.policy.allow22        <pre class="code">
>clipboard.sites.22.2C.22https.3A.2F.2Fmozilla.orghttp.3A.2F.2Fwww 
>.amazon.com.2FWhoever-You-Reading-Rainbow-Books.2Fdp.2F0152060308 
>.2Fref.3Dsr_1_7.3Fs.3Dbooks.26ie.3DUTF8.26qid.3D1379290491.26sr.3 
>D1-7.26keywords.3Dcultural.2Bfor.2B3-4"> 
23          user pref("capability.policy.allowclipboard.sites","htt23user_pref("capability.policy.policynames", "allowclipboard");
>ps://mozilla.orghttp://www.amazon.com/Whoever-You-Reading-Rainbow 
>-Books/dp/0152060308/ref=sr_1_7?s=books&amp;ie=UTF8&amp;qid=13792 
>90491&amp;sr=1-7&amp;keywords=cultural+for+3-4 
24user_pref("capability.policy.allowclipboard.sites", "https://www.
 >mozilla.org");
25user_pref("capability.policy.allowclipboard.Clipboard.cutcopy", "
 >allAccess");
26user_pref("capability.policy.allowclipboard.Clipboard.paste", "al
 >lAccess");
27</pre>
24        </h3>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 button
 >s should now function.
t51    <p dir="rtl">t58    <p>

Back to History