Path: blob/main/files/en-us/mozilla/add-ons/webextensions/api/tabs/show/index.md
6567 views
------{{AddonSidebar()}}
Shows one or more tabs that were previously hidden by a call to {{WebExtAPIRef("tabs.hide")}}.
This is an asynchronous function that returns a Promise.
Syntax
Parameters
tabIds:
integerorarrayofinteger. The IDs of the tab or tabs to show.
Return value
A Promise that will be fulfilled with no arguments. If any error occurs, the promise will be rejected with an error message.
Examples
Show a single tab:
Show multiple tabs:
{{WebExtExamples}}
Browser compatibility
{{Compat}}