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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
|
---
title: Add-on Policies
slug: Mozilla/Add-ons/AMO/Règles/Reviews
translation_of: Mozilla/Add-ons/AMO/Policy/Reviews
---
<p>{{AddonSidebar}}</p>
<p>Add-ons extend the core capabilities of Firefox, allowing users to modify and personalize their Web experience. A healthy add-on ecosystem, built on trust, is vital for developers to be successful and users to feel safe making Firefox their own. For these reasons, Mozilla requires all add-ons to comply with the following set of policies on acceptable practices. The below is not intended to serve as legal advice, nor is it intended to serve as a comprehensive list of terms to include in your add-on’s privacy policy.</p>
<p>All add-ons are subject to these policies, regardless of how they are distributed. Add-ons that do not comply with these policies may be subject to rejection or disabling by Mozilla.</p>
<h2 id="No_Surprises">No Surprises</h2>
<p>Surprises can be appropriate in many situations, but they are not welcome when user security, privacy and control are at stake. It is extremely important to be as transparent as possible when submitting an add-on. Users should be able to easily discern what the functionality of your add-on is and not be presented with unexpected user experiences after installing it.</p>
<h3 id="Unexpected_Features">Unexpected Features</h3>
<p>“Unexpected” features are those that are unrelated to the add-on’s primary function, and are not likely from the add-on name or description to be expected by a user installing that add-on.</p>
<p>Should an add-on include any unexpected feature that falls into one of the following categories:</p>
<ul>
<li>Potentially compromises user privacy or security (like sending data to third parties)</li>
<li>Changes default settings like the new tab page, homepage or search engine</li>
<li>Makes unexpected changes to the browser or web content</li>
<li>Includes features or functionality not related to the add-on’s core function(s)</li>
</ul>
<p>Then the “unexpected” feature(s) must adhere to all of the following requirements:</p>
<ul>
<li>The add-on description must clearly state what changes the add-on makes.</li>
<li>All changes must be “opt-in”, meaning the user has to take non-default action to enact the change. Changes that prompt users via the permissions system don’t require an additional opt-in.</li>
<li>The opt-in interface must clearly state the name of the add-on requesting the change.</li>
</ul>
<h2 id="Content">Content</h2>
<p>Add-ons that make use of Mozilla trademarks must comply with the <a href="https://www.mozilla.org/en-US/foundation/trademarks/policy/">Mozilla Trademark Policy</a>. If the add-on uses “Firefox” in its name, the naming standard the add-on is expected to follow is “<Add-on name> for Firefox”.</p>
<p>In addition, add-ons listed on addons.mozilla.org (AMO) must adhere to the following policies:</p>
<ul>
<li>All add-ons submitted for listing on AMO are subject to Mozilla’s <a href="https://www.mozilla.org/en-US/about/legal/acceptable-use/">Conditions of Use</a>.</li>
<li>Add-ons must disclose when payment is required to enable any functionality.</li>
<li>Any add-ons, or add-on content, hosted on Mozilla site(s) must conform to the laws of the United States.</li>
<li>The add-on listing should have an easy-to-read description about everything it does, and any information it collects. Please consult our best practices guide for <a href="https://developer.mozilla.org/en-US/Add-ons/Listing">creating an appealing listing</a>.</li>
<li>Add-ons that are intended for internal or private use, or for distribution testing may not be listed on AMO. Such add-ons may be <a href="https://developer.mozilla.org/en-US/Add-ons/Distribution#Self-distributed_(unlisted)_versions">uploaded for self-distribution</a> instead.</li>
<li>If the add-on is a fork of another add-on, the name must clearly distinguish it from the original and provide a significant difference in functionality and/or code.</li>
</ul>
<h2 id="Submission_Guidelines">Submission Guidelines</h2>
<p>Add-ons must function only as described, and should provide an appealing user experience. Based on the description of the add-on, a user must be able to understand and use the add-on’s features without requiring expert knowledge. Tips on how to create a good user experience for your add-on can be found <a href="https://developer.mozilla.org/en-US/Add-ons/WebExtensions/User_experience_best_practices">here</a>.</p>
<p>During review, the add-on undergoes basic testing in addition to code review. To facilitate the functional testing, the add-on author must provide testing information and, if applicable, testing credentials required to use the add-on if an account is needed for any part of the add-on’s functionality.</p>
<p>Issues brought up during review must be addressed using best efforts. If corrections have been requested, the new version should not contain unrelated changes, as this complicates the review process and can lead to further rejections.</p>
<h3 id="Source_Code_Submission">Source Code Submission</h3>
<p>Add-ons may contain transpiled, obfuscated, minified or otherwise machine-generated code, but Mozilla needs to review a copy of the human-readable source code. The author must provide this information to Mozilla during submission as well as instructions on how to reproduce the build.</p>
<p>The provided source code will be reviewed by an administrator and will not be redistributed in any way. The code will only be used for the purpose of reviewing the add-on. Failure to provide this information will result in rejection.</p>
<p>Please read our <a href="https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/Source_Code_Submission">Source Code Submission guidelines</a> to avoid unexpected rejections.</p>
<h2 id="Development_Practices">Development Practices</h2>
<p>In general, developers are free to maintain their add-ons in the manner they choose. However, in order to maintain appropriate data security and effectively review code, we do have certain technical requirements that all add-ons must meet. In particular, potentially dangerous APIs may only be used in ways that are demonstrably safe, and code within add-ons that cannot be verified as behaving safely and correctly may need to be refactored.</p>
<p>While any code, method or practice in a submitted add-on is subject to review and rejection, the following requirements are of particular importance:</p>
<ul>
<li>Add-ons must only request those permissions that are necessary for function</li>
<li>Add-ons must be self-contained and not load remote code for execution</li>
<li>Add-ons must use encrypted channels for sending sensitive user data</li>
<li>Add-ons should avoid including duplicate or unnecessary files</li>
<li>Add-on code must be written in a way that is reviewable and understandable. Reviewers may ask you to refactor parts of the code if it is not reviewable.</li>
<li>Add-ons must not negatively impact the performance or stability of Firefox.</li>
<li>Only release versions of third-party libraries and/or frameworks may be included with an add-on. Modifications to these libraries/frameworks are not permitted.</li>
</ul>
<h2 id="Data_Disclosure_Collection_and_Management">Data Disclosure, Collection and Management</h2>
<p>You must disclose how the add-on collects, uses, stores and shares user data in the privacy policy field on AMO. Mozilla expects that the add-on limits data collection whenever possible, in keeping with Mozilla’s <a href="https://www.mozilla.org/en-US/about/policy/lean-data/">Lean Data Practices</a> and Mozilla’s <a href="https://www.mozilla.org/en-US/privacy/principles/">Data Privacy Principles</a>, and uses the data only for the purpose for which it was originally collected.</p>
<p>User data includes all information the add-on collects, regardless of the manner. It can be personal data actively provided by the user (such as a name or email address), technical data (such as operating system, build ID, version numbers, crash reports, activation, updates), and interaction or activity data (add-on activity data, visited URLs, console logs), including interactions with Firefox.</p>
<p>The add-on’s privacy policy must be the full policy text; it cannot be a link to an externally hosted privacy policy. In addition, the privacy policy must:</p>
<ul>
<li>be specific and exclusive to the add-on,</li>
<li>clearly describe the purpose of the data collection,</li>
<li>set forth the exact data to be collected,</li>
<li>address the add-on’s particular privacy properties.</li>
</ul>
<p>A summary of this information must be included in the add-on’s listing description. Finally, you and your add-on must also comply with all applicable data privacy laws as well as any other laws that may apply to your specific add-on.</p>
<h3 id="User_Interactions_Technical_Data">User Interactions & Technical Data</h3>
<ul>
<li>Users must be provided a clear way to control this data collection. The control mechanism must be shown during the installation process of the add-on.</li>
<li>Add-ons must only collect information about add-on performance and/or use.</li>
<li>Collecting ancillary information (e.g. any data not explicitly required for the add-on’s basic functionality) is prohibited.</li>
</ul>
<h3 id="Cookies">Cookies</h3>
<ul>
<li>If your add-on installs cookies, this must also be disclosed in the add-on’s privacy policy.</li>
<li>The add-on privacy policy must clearly express the placing and purposes of the cookie(s). It is highly recommended that you disclose the types of cookies being used.</li>
<li>Users must be provided an opportunity to refuse the storage of or access to cookies, and must be informed of the consequences of doing so (e.g., without a functional cookie, the add-on may not work).</li>
<li>Installing cookies that are not explicitly required for the add-on’s functionality is prohibited.</li>
</ul>
<h3 id="Personal_Data">Personal Data</h3>
<ul>
<li>If you are collecting any personal information, the users must provide affirmative consent (i.e., explicit opt-in from the user). It must be clear to the user that they give consent to the collection of personal data.</li>
<li>Collecting ancillary personal information (e.g., any data not explicitly required for the add-on’s basic functionality) is prohibited.</li>
<li>Any transmission of this type of data must use secure, encrypted connections.</li>
</ul>
<h3 id="Additional_Privacy_Protocols">Additional Privacy Protocols</h3>
<ul>
<li>Leaking local or user-sensitive information to websites or other processes (e.g., using native messaging) is prohibited.</li>
<li>If the add-on uses native messaging, the privacy policy must clearly disclose which information is being exchanged with the native application. Data exchanged with the native application must be in accordance with our No Surprises policy.</li>
<li>HTTPS must be used for security and privacy-sensitive operations such as transmitting passwords or tokens.</li>
<li>Browsing data from private browsing sessions must not be stored.</li>
<li>Identity information must not be leaked to web content in private browsing sessions.</li>
</ul>
<h2 id="Security_Vulnerabilities">Security Vulnerabilities</h2>
<p>Because add-ons run in an environment with elevated privileges relative to ordinary web pages, they present a very serious set of security considerations. They have the potential to open security holes not only in the add-ons themselves, but also in the browser, in web pages, and, in particularly distressing cases, the entire system the browser is running on.</p>
<p>As a result, we take our security policies very seriously and apply them to all add-ons, whether hosted on AMO or not. We expect all add-ons to be secure and well-maintained in handling both their own data and their user’s data. They must also securely manage all of their interactions with the web, the browser and the operating system.</p>
<h2 id="Monetization">Monetization</h2>
<ul>
<li>Monetization mechanisms must comply with the policies in the <em>Data Disclosure, Collection and Management</em> section. In particular, an add-on must be accompanied with a clear user control mechanism (and opt-in for personal data) presented during the installation or update process of the add-on. Collecting ancillary information for monetization is prohibited.</li>
<li>An add-on injecting advertising into web page content must clearly identify the injected content as originating from the add-on.</li>
<li>The inclusion of any cryptocurrency miners or similar functionality in an add-on is prohibited.</li>
<li>Modifying web content or facilitating redirects to include affiliate promotion tags is not permitted. Conversely, the use of affiliate promotion in user interface elements clearly identified as belonging to the add-on are acceptable.</li>
</ul>
<h2 id="Compliance_Blocklisting">Compliance & Blocklisting</h2>
<p>For add-ons that don’t meet these policies, Mozilla may reject or blocklist affected versions or entire add-ons, depending on the extent of their non-compliance.</p>
<p>Generally, Mozilla will attempt to contact the add-on’s developer(s) and provide a reasonable time frame for the problems to be corrected before a block is deployed. 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>Mozilla reserves the right to block or delete the developer’s account on addons.mozilla.org, thereby preventing further use of the service.</p>
|