aboutsummaryrefslogtreecommitdiff
path: root/files/fr/mozilla
diff options
context:
space:
mode:
authorArnaud Ligny <arnaud@ligny.fr>2021-09-01 07:44:09 +0200
committerGitHub <noreply@github.com>2021-09-01 07:44:09 +0200
commit2bae1de29dc4b4dbebd7ac41c8942c16abec77bb (patch)
treeb4c05898c33b0067480c61e153d0ad88c2c24090 /files/fr/mozilla
parentaf3288b106f44aaaa2c80d499ec669383d6f7203 (diff)
downloadtranslated-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.html6
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>