diff options
author | Arnaud Ligny <arnaud@ligny.fr> | 2021-09-01 07:44:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-01 07:44:09 +0200 |
commit | 2bae1de29dc4b4dbebd7ac41c8942c16abec77bb (patch) | |
tree | b4c05898c33b0067480c61e153d0ad88c2c24090 /files/fr/mozilla | |
parent | af3288b106f44aaaa2c80d499ec669383d6f7203 (diff) | |
download | translated-content-2bae1de29dc4b4dbebd7ac41c8942c16abec77bb.tar.gz translated-content-2bae1de29dc4b4dbebd7ac41c8942c16abec77bb.tar.bz2 translated-content-2bae1de29dc4b4dbebd7ac41c8942c16abec77bb.zip |
fix: permissions code examples (#2289)
Diffstat (limited to 'files/fr/mozilla')
-rw-r--r-- | files/fr/mozilla/add-ons/webextensions/manifest.json/permissions/index.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/files/fr/mozilla/add-ons/webextensions/manifest.json/permissions/index.html b/files/fr/mozilla/add-ons/webextensions/manifest.json/permissions/index.html index 537eca9f45..f1a7196433 100644 --- a/files/fr/mozilla/add-ons/webextensions/manifest.json/permissions/index.html +++ b/files/fr/mozilla/add-ons/webextensions/manifest.json/permissions/index.html @@ -179,15 +179,15 @@ translation_of: Mozilla/Add-ons/WebExtensions/manifest.json/permissions <h2 id="Exemple">Exemple</h2> -<pre class="brush: json; no-line-numbers"> "permissions": ["*://developer.mozilla.org/*"]</pre> +<pre class="brush: json; no-line-numbers">"permissions": ["*://developer.mozilla.org/*"]</pre> <p>Demande d'accès privilégié aux pages sous developer.mozilla.org.</p> -<pre class="brush: json no-line-numbers"> "permissions": ["tabs"]</pre> +<pre class="brush: json no-line-numbers">"permissions": ["tabs"]</pre> <p>Demande d'accès aux éléments privilégiés de l'API <code>tabs.</code></p> -<pre class="brush: json no-line-numbers language-json"><code class="language-json"><span class="key token">"permissions":</span> <span class="punctuation token">[</span><span class="string token">"*://developer.mozilla.org/*"</span><span class="punctuation token">,</span> <span class="string token">"tabs"</span></code></pre> +<pre class="brush: json no-line-numbers">"permissions": ["*://developer.mozilla.org/*", "tabs"]</pre> <p>Demande des deux permissions ci-dessus.</p> |