Security preferences

  • Revision slug: Midas/Security_preferences
  • Revision title: Security preferences
  • Revision id: 431633
  • Created:
  • Creator: ELPIDIO
  • Is current revision? No
  • Comment

Revision Content

Changing the preferences in Firefox

  1. Quit Firefox. If you have Quick Launch running (on Windows, this is an icon in the toolbar), quit that too.
  2. Find your Firefox profile directory.
  3. Open the user.js file from that directory in a text editor. If there's no user.js file, create one.
  4. Add these lines to user.js:

    user_pref("capability.policy.policynames", "allowclipboard");
    user_pref("capability.policy.allowclipboard.sites", "https://www.mozilla.org");
    user_pref("capability.policy.allowclipboard.Clipboard.cutcopy", "allAccess");
    user_pref("capability.policy.allowclipboard.Clipboard.paste", "allAccess");

  5. Change the url https://www.mozilla.org to the site for which you want to enable this function.
  6. Save the file and restart Firefox. The Clipboard buttons should now function.
Note: The preference is site as well as protocol specific. For example:
user_pref("capability.policy.allowclipboard.sites", "http://www.mozilla.org")

is not the same as:

user_pref("capability.policy.allowclipboard.sites", "https://www.mozilla.org")

This is because the first uses HTTP while the second uses HTTPS.

If you want to allow multiple URLs to access the Paste operation, separate the URLs with a space. For For more information about security policies, see this article about Configurable Security Policies.See also

 

 

 

<title></title> You could put your verification ID in a comment

 

 

 

<meta content="XR1PE67fiaeM3JbyZ78ci04ojVA" name="alexaVerifyID"> Or, in its own meta tag

 

 

 

<meta content="keyword1,keyword2, XR1PE67fiaeM3JbyZ78ci04ojVA" name="keywords"> Or, as one of your keywords Your content is here. The verification ID will NOT be detected if you put it here.

 

<title></title>

Revision Source

<h2 id="Changing_the_preferences_in_Firefox">Changing the preferences in Firefox</h2>
<ol>
  <li>Quit Firefox. If you have Quick Launch running (on Windows, this is an icon in the toolbar), quit that too.</li>
  <li><a class="external" href="http://support.mozilla.com/en-US/kb/Profiles">Find your Firefox profile directory</a>.</li>
  <li>Open the <code class="filename">user.js</code> file from that directory in a text editor. If there's no <code>user.js</code> file, create one.</li>
  <li>Add these lines to <code class="filename">user.js</code>:
    <h2 class="code" id="user_pref(.22capability.policy.policynames.22.2C_.22allowclipboard.22).3B
______user_pref(.22capability.policy.allowclipboard.sites.22.2C_.22https.3A.2F.2Fwww.mozilla.org.22).3B
______user_pref(.22capability.policy.allowclipboard.Clipboard.cutcopy.22.2C_.22allAccess.22).3B
______user_pref(.22capability.policy.allowclipboard.Clipboard.paste.22.2C_.22allAccess.22).3B">user_pref("capability.policy.policynames", "allowclipboard");<br />
      user_pref("capability.policy.allowclipboard.sites", "https://www.mozilla.org");<br />
      user_pref("capability.policy.allowclipboard.Clipboard.cutcopy", "allAccess");<br />
      user_pref("capability.policy.allowclipboard.Clipboard.paste", "allAccess");</h2>
  </li>
  <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.</li>
  <li>Save the file and restart Firefox. The Clipboard buttons should now function.</li>
</ol>
<div class="note">
  <strong>Note:</strong> The preference is site as well as protocol specific. For example:<br />
  <pre>
user_pref("capability.policy.allowclipboard.sites", "http://www.mozilla.org")</pre>
  <p>is not the same as:</p>
  <pre>
user_pref("capability.policy.allowclipboard.sites", "https://www.mozilla.org")</pre>
  <p>This is because the first uses <a href="/en-US/docs/HTTP" title="/en-US/docs/HTTP">HTTP</a> while the second uses HTTPS.</p>
</div>
<p>If you want to allow multiple URLs to access the Paste operation, separate the URLs with a space. For <span style="line-height: 1.572;">For more information about security policies, see this article about </span><a href="http://www.mozilla.org/projects/security/components/ConfigPolicy.html" style="line-height: 1.572;" title="http://www.mozilla.org/projects/security/components/ConfigPolicy.html">Configurable Security Policies</a><span style="line-height: 1.572;">.</span><span style="font-family: Georgia, Times, 'Times New Roman', serif; font-size: 1.628em; line-height: 1.572;">See also</span></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>
  <title></title>
  <!-- XR1PE67fiaeM3JbyZ78ci04ojVA -->You could put your verification ID in a comment</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>
  <meta content="XR1PE67fiaeM3JbyZ78ci04ojVA" name="alexaVerifyID" />
  Or, in its own meta tag</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>
  <meta content="keyword1,keyword2, XR1PE67fiaeM3JbyZ78ci04ojVA" name="keywords" />
  Or, as one of your keywords Your content is here. The verification ID will NOT be detected if you put it here.</p>
<p>&nbsp;</p>
<p>
  <title></title>
  <!-- XR1PE67fiaeM3JbyZ78ci04ojVA --></p>
Revert to this revision