diff options
Diffstat (limited to 'files/pt-br/midas/security_preferences/index.html')
| -rw-r--r-- | files/pt-br/midas/security_preferences/index.html | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/files/pt-br/midas/security_preferences/index.html b/files/pt-br/midas/security_preferences/index.html deleted file mode 100644 index 0c38717a54..0000000000 --- a/files/pt-br/midas/security_preferences/index.html +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: Security preferences -slug: Midas/Security_preferences -translation_of: Mozilla/Projects/Midas/Security_preferences ---- -<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>: - <pre class="code">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");</pre> - </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: - -<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> |
