From 34d315396ca29d7ef51ecc27eeeeeb275e9b0ba9 Mon Sep 17 00:00:00 2001 From: SphinxKnight Date: Mon, 15 Nov 2021 19:39:07 +0100 Subject: 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 --- .../add-ons/webextensions/api/tabs/onattached/index.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'files/fr/mozilla/add-ons/webextensions/api/tabs/onattached') diff --git a/files/fr/mozilla/add-ons/webextensions/api/tabs/onattached/index.html b/files/fr/mozilla/add-ons/webextensions/api/tabs/onattached/index.html index f49923b670..6e28fc017e 100644 --- a/files/fr/mozilla/add-ons/webextensions/api/tabs/onattached/index.html +++ b/files/fr/mozilla/add-ons/webextensions/api/tabs/onattached/index.html @@ -19,7 +19,7 @@ translation_of: Mozilla/Add-ons/WebExtensions/API/tabs/onAttached

Syntaxe

-
browser.tabs.onAttached.addListener(listener)
+
browser.tabs.onAttached.addListener(listener)
 browser.tabs.onAttached.removeListener(listener)
 browser.tabs.onAttached.hasListener(listener)
 
@@ -44,12 +44,12 @@ browser.tabs.onAttached.hasListener(listener)

Fonction qui sera appelée lorsque cet événement se produit. La fonction recevra les arguments suivants :

-
+
tabId
integer. ID de l'onglet qui a été attaché à une nouvelle fenêtre..
-
+
attachInfo
object. ID de la nouvelle fenêtre, et index de l'onglet à l'intérieur.
@@ -60,7 +60,7 @@ browser.tabs.onAttached.hasListener(listener)

attachInfo

-
+
newWindowId
integer. ID de la nouvelle fenêtre.
newPosition
@@ -85,7 +85,7 @@ browser.tabs.onAttached.addListener(handleAttached);

{{Compat("webextensions.api.tabs.onAttached")}}

-
Remerciements : +

Note :

Cette API est basée sur l'API Chromium chrome.tabs. Cette documentation est dérivée de tabs.json dans le code de Chromium code.

-- cgit v1.2.3-54-g00ecf