Tab Management and Control
Programmatically create, update, close, and query browser tabs, enabling powerful tab management features.
Introduction to Tab Management
Browser extensions can do more than just change web pages. They can also manage the browser itself!
This lesson explores how to programmatically control browser tabs. You'll learn to create, query, update, and close tabs using the Chrome Extensions API.
The chrome.tabs API
The core of tab management is the chrome.tabs API. It provides methods to interact with all open tabs in the browser, or even specific ones.
To use most of its functions, your extension needs the "tabs" permission declared in its manifest.json file.
All lessons in this course
- Tab Management and Control
- Programmatic Form Submission
- Automating User Interactions
- Scheduling Tasks with the Alarms API