From 662384852e51ca6e8b348e83140afc806e64170b Mon Sep 17 00:00:00 2001 From: Tianyi Tao Date: Fri, 21 Jun 2024 15:44:17 +0800 Subject: [PATCH] fix typos --- .../en-us/mozilla/add-ons/webextensions/api/tabs/index.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/files/en-us/mozilla/add-ons/webextensions/api/tabs/index.md b/files/en-us/mozilla/add-ons/webextensions/api/tabs/index.md index 1383dfbbebe9714..5b7e462d40deba0 100644 --- a/files/en-us/mozilla/add-ons/webextensions/api/tabs/index.md +++ b/files/en-us/mozilla/add-ons/webextensions/api/tabs/index.md @@ -76,7 +76,7 @@ Many tab operations use a Tab `id`. Tab `id`s are guaranteed to be unique to a s - {{WebExtAPIRef("tabs.getCurrent()")}} - : Gets information about the tab that this script is running in, as a [`tabs.Tab`](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/tabs/Tab) object. - {{WebExtAPIRef("tabs.getSelected()")}} {{deprecated_inline}} - - : Gets the tab that is selected in the specified window. **Deprecated: use [`tabs.query({active: true})`](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/tabs/query) instead.** + - : Gets the tab that is selected in the specified window. **Deprecated**: use [`tabs.query({active: true})`](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/tabs/query) instead. - {{WebExtAPIRef("tabs.getZoom()")}} - : Gets the current zoom factor of the specified tab. - {{WebExtAPIRef("tabs.getZoomSettings()")}} @@ -131,7 +131,7 @@ Many tab operations use a Tab `id`. Tab `id`s are guaranteed to be unique to a s - {{WebExtAPIRef("tabs.onActivated")}} - : Fires when the active tab in a window changes. Note that the tab's URL may not be set at the time this event fired. - {{WebExtAPIRef("tabs.onActiveChanged")}} {{deprecated_inline}} - - : Fires when the selected tab in a window changes. **Deprecated:** use {{WebExtAPIRef("tabs.onActivated")}} instead. + - : Fires when the selected tab in a window changes. **Deprecated**: use {{WebExtAPIRef("tabs.onActivated")}} instead. - {{WebExtAPIRef("tabs.onAttached")}} - : Fired when a tab is attached to a window, for example because it was moved between windows. - {{WebExtAPIRef("tabs.onCreated")}} @@ -139,7 +139,7 @@ Many tab operations use a Tab `id`. Tab `id`s are guaranteed to be unique to a s - {{WebExtAPIRef("tabs.onDetached")}} - : Fired when a tab is detached from a window, for example because it is being moved between windows. - {{WebExtAPIRef("tabs.onHighlightChanged")}} {{deprecated_inline}} - - : Fired when the highlighted or selected tabs in a window change. **Deprecated:** use {{WebExtAPIRef("tabs.onHighlighted")}} instead. + - : Fired when the highlighted or selected tabs in a window change. **Deprecated**: use {{WebExtAPIRef("tabs.onHighlighted")}} instead. - {{WebExtAPIRef("tabs.onHighlighted")}} - : Fired when the highlighted or selected tabs in a window change. - {{WebExtAPIRef("tabs.onMoved")}} @@ -149,7 +149,7 @@ Many tab operations use a Tab `id`. Tab `id`s are guaranteed to be unique to a s - {{WebExtAPIRef("tabs.onReplaced")}} - : Fired when a tab is replaced with another tab due to prerendering. - {{WebExtAPIRef("tabs.onSelectionChanged")}} {{deprecated_inline}} - - : Fires when the selected tab in a window changes. **Deprecated:** use {{WebExtAPIRef("tabs.onActivated")}} instead. + - : Fires when the selected tab in a window changes. **Deprecated**: use {{WebExtAPIRef("tabs.onActivated")}} instead. - {{WebExtAPIRef("tabs.onUpdated")}} - : Fired when a tab is updated. - {{WebExtAPIRef("tabs.onZoomChange")}}