aboutsummaryrefslogtreecommitdiff
path: root/files/pt-br/mozilla/add-ons/orientacoes-de-complementos/index.html
blob: fe51cb25a2a8bdd40270655a04d618c5c2357a01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
---
title: Orientações de complementos
slug: Mozilla/Add-ons/Orientacoes-de-complementos
translation_of: 'https://extensionworkshop.com/documentation/publish/add-on-policies/'
---
<p>These add-on guidelines were created to foster an open and diverse add-on developer community while ensuring an excellent user experience. They apply to all add-ons and add-on updates regardless of where they are hosted, and also apply to customizations performed by installers that configure Firefox without using an add-on. Add-ons hosted on <a class="external text" href="https://addons.mozilla.org/" rel="nofollow">AMO</a> are subject to <a href="https://addons.mozilla.org/developers/docs/policies" title="https://addons.mozilla.org/developers/docs/policies">additional policies</a>.</p>
<h2 id="Ser_Transparente">Ser Transparente</h2>
<ul>
 <li>Add-ons must either be installed using the add-on web install system, or be approved by the user using the <a class="external text" href="https://blog.mozilla.org/addons/2011/08/11/strengthening-user-control-of-add-ons/" rel="nofollow">install opt-in dialog</a>.
  <ul>
   <li>We want our users to know what they are installing so that they are not unpleasantly surprised by changes they did not expect. We also want them to know what to remove if they decide not to keep it.</li>
   <li>Add-ons installed through application installers should <a class="external text" href="/en-US/docs/Adding_Extensions_using_the_Windows_Registry" rel="nofollow">use the Windows Registry</a> or equivalent global install methods so that Firefox displays the opt-in screen. The opt-in screen must not be tampered with in any way, including overlaying additional information or images on top of it.</li>
  </ul>
 </li>
 <li>Add-ons must always be possible to uninstall or disable from the Add-ons Manager.
  <ul>
   <li>Add-ons installed globally using the Windows registry or global extension directories cannot be uninstalled (<a class="external text" href="https://bugzilla.mozilla.org/show_bug.cgi?id=640775" rel="nofollow">bug 640775</a>), but they can be disabled to the same effect.</li>
  </ul>
 </li>
 <li>Add-ons must use a <a class="external text" href="/en-US/docs/Install_manifests#id" rel="nofollow">single unique ID</a> during their entire lifetime.
  <ul>
   <li>Using the same ID for multiple products, or multiple IDs for a single product, can lead to problems with automatic updates as well as blocklisting conflicts. Add-ons may change their IDs due to ownership changes, as they commonly use an email address-like format (
    <i>
     e.g.,</i>
    personasplus@mozilla.com).</li>
  </ul>
 </li>
 <li>Add-ons must not use brand names, trademarks, or other terms in ways that deceive users. Using Mozilla trademarks must follow <a class="external text" href="http://www.mozilla.org/foundation/trademarks/policy.html" rel="nofollow">our trademark policy</a>.</li>
 <li>Add-ons should clearly communicate their intended purpose and active features, including features introduced through updates.
  <ul>
   <li>While we understand and support add-on developers who choose to monetize their products, this should not come at the expense of users' browsing experience. If an add-on inserts advertisements, affiliate codes, sponsored search results, or the like, into web pages, the user should be made aware of this when the add-on is installed. Likewise, if some features require payment to use, or require payment to remain active after a trial period, users should be made aware of this.</li>
  </ul>
 </li>
</ul>
<h2 id="Respeitar_os_Usuários">Respeitar os Usuários</h2>
<ul>
 <li>Add-ons must remove all introduced code, executables, and application configuration changes when they are uninstalled.
  <ul>
   <li>Uninstalling an add-on using the regular uninstall process should generally suffice. This guideline primarily applies to changes made to preferences such as the homepage, default search URL, network settings, and so forth. These preferences should be restored to their previous values when the add-on is uninstalled. Most add-ons can easily accomplish this by making such changes via a <a class="external text" href="/en-US/docs/Building_an_Extension#Defaults_Files" rel="nofollow">default preferences file</a>.</li>
  </ul>
 </li>
 <li>Add-ons must respect the users' choices and not make unexpected changes, or limit users' ability to revert them.
  <ul>
   <li>For instance, users generally do not expect an add-on to change the Firefox homepage. Asking users to opt-in to such extra changes is recommended.</li>
   <li>Making settings changes difficult or impossible to revert is prohibited. It's not allowed to block users or other add-ons or installers from changing any settings.</li>
  </ul>
 </li>
 <li>Add-ons should make it clear how private user data is being used.
  <ul>
   <li>Add-ons which send user data over the Internet should generally provide a Privacy Policy, ideally concise and easily readable.</li>
  </ul>
 </li>
 <li>Add-on developers should provide a mechanism for them to be contacted.
  <ul>
   <li>While developers are not required to provide a support channel for users, it is recommended. All add-on developers should have a contact form or public email address so that they can be contacted in case of emergencies, such as guideline violations that could lead to blocklisting.</li>
  </ul>
 </li>
</ul>
<h2 id="Ser_Seguro">Ser Seguro</h2>
<ul>
 <li>Add-ons must not cause harm to users' data, system, or online identities.</li>
 <li>Add-ons must not transmit users' private data unsafely, or expose it to third parties unnecessarily.
  <ul>
   <li>Private data should always be sent over a secure connection. This includes browsing data such as visited URLs and bookmarks.</li>
   <li>Making the browser easier to fingerprint by adding text to the User-Agent string or adding custom headers is also a privacy concern, and should be avoided.</li>
  </ul>
 </li>
 <li>Add-ons must not create or expose application or system vulnerabilities.
  <ul>
   <li>Security bugs happen, but once discovered they need to be addressed immediately. A popular add-on with a security vulnerability is a valuable attack vector for hackers, and in such cases we will move quickly to blocklist the add-on if there is no prompt response from the developer.</li>
  </ul>
 </li>
 <li>Add-ons must not tamper with the application or blocklist update systems.</li>
 <li>Add-ons should not store any browsing data while in Private Browsing Mode.
  <ul>
   <li>It's worth stressing that PBM is about avoiding storing
    <i>
     local</i>
    data while browsing, not about sending data elsewhere. To learn more about PBM we recommend reading <a class="external text" href="http://ehsanakhgari.org/tag/privatebrowsing" rel="nofollow">Ehsan's blog posts</a> about it.</li>
  </ul>
 </li>
</ul>
<h2 id="Ser_Estável">Ser Estável</h2>
<ul>
 <li>Add-ons must not cause hangs or crashes.</li>
 <li>Add-ons should not break or disable core application features.
  <ul>
   <li>This includes features like tabbed browsing, Private Browsing Mode, and the location bar. Add-ons that are specifically meant to do this are exempt.</li>
  </ul>
 </li>
 <li>Add-ons should not cause memory leaks, or unnecessarily consume large amounts of memory.</li>
 <li>Add-ons should not slow down the application or system significantly.</li>
 <li>Add-ons should not consume network resources to an extent that affects regular application usage.
  <ul>
   <li>Downloading large amounts of data without user awareness can significantly disrupt regular browsing, and may result in unexpected charges for users who have network usage limitations (notably on mobile).</li>
  </ul>
 </li>
</ul>
<h2 id="Exceções">Exceções</h2>
<ul>
 <li>Add-ons can break some of these guidelines if that's their intended purpose and there isn't malicious intent (
  <i>
   e.g.,</i>
  a security exploit proof of concept).</li>
 <li>Add-ons deployed by administrators within workplaces, schools, kiosks, and so forth, are exempt from most guidelines.</li>
 <li>As add-ons can only run clean up code if they are uninstalled while Firefox is running and they are enabled, we do not require that they attempt to clean up after themselves when they are uninstalled under other circumstances. Application installers that configure Firefox without add-ons should revert any changes when uninstalled.</li>
 <li>Add-ons may leave behind preferences changes in private preference branches which do not affect Firefox when the add-on is not active, so that any previous add-on configuration is not lost if the user decides to re-install the add-on in the future.</li>
</ul>
<p>Other exceptions may apply.</p>
<h2 id="Aplicação">Aplicação</h2>
<p>Add-ons that do not follow these guidelines may qualify for blocklisting, depending on the extent of the violations. Guidelines qualified with the word
 <i>
  must</i>
 are especially important, and violations thereof will most likely result in a blocklisting nomination.</p>
<p>The Add-ons Team will do their best to contact the add-on's developers and provide a reasonable time frame for the problems to be corrected before a block is put in place. If an add-on is considered malicious or its developers have proven unreachable or unresponsive, or in case of repeat violations, blocklisting may be immediate.</p>
<p>Guideline violations should be <a class="external text" href="https://bugzilla.mozilla.org/enter_bug.cgi?product=Tech%20Evangelism&amp;component=Add-ons" rel="nofollow">reported via Bugzilla</a>, under Tech Evangelism &gt; Add-ons. Questions can be posted in the <a class="external text" href="irc://irc.mozilla.org/addons" rel="nofollow">#addons IRC channel</a>.</p>
<p>These guidelines may change in the future. All updates will be announced in the <a class="external text" href="https://blog.mozilla.org/addons/" rel="nofollow">Add-ons Blog</a>.</p>