aboutsummaryrefslogtreecommitdiff
path: root/files/fr/mozilla/add-ons/webextensions/manifest.json/permissions/index.html
diff options
context:
space:
mode:
authorSphinxKnight <SphinxKnight@users.noreply.github.com>2021-11-15 19:39:07 +0100
committerGitHub <noreply@github.com>2021-11-15 19:39:07 +0100
commit34d315396ca29d7ef51ecc27eeeeeb275e9b0ba9 (patch)
tree21f671201b06ff6b0e507de867950b71fe1fddaf /files/fr/mozilla/add-ons/webextensions/manifest.json/permissions/index.html
parent3886d96643d8b7cc626f1dda0e11981ac85def86 (diff)
downloadtranslated-content-34d315396ca29d7ef51ecc27eeeeeb275e9b0ba9.tar.gz
translated-content-34d315396ca29d7ef51ecc27eeeeeb275e9b0ba9.tar.bz2
translated-content-34d315396ca29d7ef51ecc27eeeeeb275e9b0ba9.zip
Prepare Mozilla section for Markdown conversion (#2980)
* Remove summary * Remove hidden except for copyright notice * Remove spans * Remove font * Remove notranslate * Remove extra id, deleting an untranslated page doing so * Fix links, absolute links, rm internal, titles * Remove external classes * fix headings with name attr * fix some styles and classes * remove useless class reference-values * rm styles in links * Fix code blocks in pre * Remove ltr classes * remove fullwidth-table * Fix various conversion errors and some one offs * Remove nested code/pre/code * Fix notes * Fix warnings * fix dls * fix nested issues in dls * fix images
Diffstat (limited to 'files/fr/mozilla/add-ons/webextensions/manifest.json/permissions/index.html')
-rw-r--r--files/fr/mozilla/add-ons/webextensions/manifest.json/permissions/index.html12
1 files changed, 6 insertions, 6 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 f1a7196433..9fb4e2b3e0 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
@@ -12,7 +12,7 @@ translation_of: Mozilla/Add-ons/WebExtensions/manifest.json/permissions
---
<p>{{AddonSidebar}}</p>
-<table class="fullwidth-table standard-table">
+<table class="standard-table">
<tbody>
<tr>
<th scope="row" style="width: 30%;">Type</th>
@@ -25,7 +25,7 @@ translation_of: Mozilla/Add-ons/WebExtensions/manifest.json/permissions
<tr>
<th scope="row">Exemple</th>
<td>
- <pre class="brush: json no-line-numbers">
+ <pre class="brush: json">
"permissions": [
"*://developer.mozilla.org/*",
"webRequest"
@@ -65,7 +65,7 @@ translation_of: Mozilla/Add-ons/WebExtensions/manifest.json/permissions
<p>Dans Firefox, à partir de la version 56, les extensions reçoivent automatiquement les permissions d'hôte pour leur propre origine, qui se présentent sous la forme :</p>
-<pre><code>moz-extension://60a20a9b-1ad4-af49-9b6c-c64c98c37920/</code></pre>
+<pre>moz-extension://60a20a9b-1ad4-af49-9b6c-c64c98c37920/</pre>
<p>Où <code>60a20a9b-1ad4-af49-9b6c-c64c98c37920</code> est l'ID interne de l'extension. L'extension peut obtenir cette URL par programmation en appelant <a href="/fr/Add-ons/WebExtensions/API/extension/getURL">extension.getURL() </a>:</p>
@@ -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;">"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">"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">"permissions": ["*://developer.mozilla.org/*", "tabs"]</pre>
+<pre class="brush: json">"permissions": ["*://developer.mozilla.org/*", "tabs"]</pre>
<p>Demande des deux permissions ci-dessus.</p>