aboutsummaryrefslogtreecommitdiff
path: root/files/fr/mozilla/add-ons/webextensions/api/bookmarks/oncreated/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/api/bookmarks/oncreated/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/api/bookmarks/oncreated/index.html')
-rw-r--r--files/fr/mozilla/add-ons/webextensions/api/bookmarks/oncreated/index.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/files/fr/mozilla/add-ons/webextensions/api/bookmarks/oncreated/index.html b/files/fr/mozilla/add-ons/webextensions/api/bookmarks/oncreated/index.html
index 54f2004eb7..92cb03124e 100644
--- a/files/fr/mozilla/add-ons/webextensions/api/bookmarks/oncreated/index.html
+++ b/files/fr/mozilla/add-ons/webextensions/api/bookmarks/oncreated/index.html
@@ -19,7 +19,7 @@ translation_of: Mozilla/Add-ons/WebExtensions/API/bookmarks/onCreated
<h2 id="Syntaxe">Syntaxe</h2>
-<pre class="syntaxbox brush:js">browser.bookmarks.onCreated.addListener()
+<pre class="brush: js">browser.bookmarks.onCreated.addListener()
browser.bookmarks.onCreated.removeListener(listener)
browser.bookmarks.onCreated.hasListener(listener)
</pre>
@@ -44,12 +44,12 @@ browser.bookmarks.onCreated.hasListener(listener)
<dd>
<p>Fonction qui sera appelée lorsque cet événement se produit. La fonction recevra les arguments suivants :</p>
- <dl class="reference-values">
+ <dl>
<dt><code>id</code></dt>
<dd><code>string</code>. L'ID du nouvel élément de favori.</dd>
</dl>
- <dl class="reference-values">
+ <dl>
<dt><code>bookmark</code></dt>
<dd>{{WebExtAPIRef('bookmarks.BookmarkTreeNode')}}. Informations sur le nouvel élément de favori.</dd>
</dl>
@@ -71,7 +71,7 @@ browser.bookmarks.onCreated.addListener(handleCreated);</pre>
<p>{{Compat("webextensions.api.bookmarks.onCreated")}}</p>
-<div class="note"><strong>Remerciements :</strong>
+<div class="note"><p><strong>Note :</strong></p>
<p>Cette API est basée sur l'API Chromium <a href="https://developer.chrome.com/extensions/bookmarks"><code>chrome.bookmarks</code></a>. Cette documentation provient de  <a href="https://chromium.googlesource.com/chromium/src/+/master/chrome/common/extensions/api/bookmarks.json"><code>bookmarks.json</code></a> dans le code Chromium.</p>