API Guides
Chrome provides over fifty extension APIs, and the documentation on developer.chrome.com, while thorough, often leaves out the practical context that developers actually need. These guides bridge that gap by pairing official API behavior with real-world usage patterns, working code samples, and notes on the edge cases you are likely to hit in production.
The tabs API is one of the most frequently used and most misunderstood. Querying tabs, moving them between windows, detecting navigation events, and managing tab groups all have subtle behaviors that differ across Chrome versions. Guides in this section cover these specifics, including the permission differences between tabs and activeTab and when each is appropriate.
Storage is another critical API surface. The choice between chrome.storage.local, chrome.storage.sync, and chrome.storage.session affects both functionality and user experience. Sync storage has tight quota limits that can silently truncate data if you are not careful. Local storage is more generous but does not follow the user across devices. Session storage disappears when the browser closes. Articles here explain the tradeoffs and show patterns for using them together effectively.
Messaging, both between extension components and with content scripts, is where many developers encounter frustrating bugs. The differences between chrome.runtime.sendMessage, chrome.tabs.sendMessage, and port-based long-lived connections are subtle but important, especially when you need reliable communication with content scripts that may not be loaded yet.
Other APIs covered include alarms for scheduled tasks, notifications for user alerts, downloads for file management, and the declarativeNetRequest API that replaced the older webRequest blocking capabilities in Manifest V3.
- Chrome Extension Keyboard Shortcuts: Complete Implementation Guide
- Chrome Extension Custom Protocol Handlers: Register Your Own URL Scheme
- BroadcastChannel API in Chrome Extensions: Cross-Context Communication
- Chrome Extension Streaming API Responses: Handle Real-Time Data Feeds
- Chrome Extension Share Target API: Receive Shared Content from Other Apps
- ResizeObserver in Chrome Extensions: Responsive Popups and Panels
- IntersectionObserver in Chrome Extensions: Detect Visible Elements
- Web Audio API in Chrome Extensions: Build Audio Processing Tools
- MutationObserver in Chrome Extensions: React to DOM Changes in Real Time
- Chrome Extension Geolocation API: Build Location-Aware Extensions
- Chrome Extension Speech Recognition: Add Voice Commands to Your Browser
- Chrome Extension Text-to-Speech (TTS) API: Build a Screen Reader
- Chrome declarativeNetRequest API: Modern Content Blocking in MV3
- Chrome Extension Windows API: Manage Browser Windows Programmatically
- Chrome Extension WebNavigation API: Track Page Loads and Redirects
- Chrome Extension Commands API: Define Global Keyboard Shortcuts
- Integrating GraphQL APIs in Chrome Extensions: Complete Guide
- Chrome Extension Screen Capture: Build a Screenshot and Recording Tool
- Chrome Extension Omnibox API: Add Custom Commands to the Address Bar
- Chrome Extension Cookies API: Read, Write, and Manage Browser Cookies
- Chrome Extension Clipboard API: Copy, Paste, and Manage Clipboard Data
- Chrome Extension Tab Groups API: Programmatic Tab Organization
- Chrome Extension Offscreen API: Access DOM APIs from Service Workers
- Chrome Extension Downloads API: Build a Download Manager Extension
- Chrome Extension Proxy Settings API: Build a VPN-Like Extension
- Chrome Extension Native Messaging: Communicate with Desktop Applications
- Chrome Extension History API: Access and Manage Browsing History
- Chrome Extension Bookmarks API: Build a Custom Bookmark Manager
- Chrome Extension Alarms API: Schedule Tasks and Periodic Events
- Chrome Extension Side Panel API: Build a Sidebar Extension in 2025
- Chrome Extension Notifications API: Push Alerts and Desktop Notifications Guide
- Chrome Extension Web Request API: Intercept and Modify Network Requests
- File Handling API in Chrome Extensions: Complete Guide 2025
- Compute Pressure API in Chrome Extensions: Complete Guide 2025
- Chrome Media Session API for Extensions: Complete Implementation Guide
- WebAuthn in Chrome Extensions: Complete Guide to Passkeys and FIDO2
- Shape Detection API in Chrome Extensions: Complete Guide 2025
- Eye Dropper API in Chrome Extensions: Complete Guide to Building a Color Picker Extension
- Display Capture API in Chrome Extensions: Complete Guide 2025
- Chrome DevTools Recorder Extension Integration: Complete Developer Guide
- Contact Picker API in Chrome Extensions: Complete Guide to Accessing User Contacts
- Complete Guide to Barcode Detection API in Chrome Extensions
- Chrome Declarative Content API Complete Guide
- Build an API Request Interceptor Chrome Extension
- Chrome Storage API Advanced Patterns: sync, local, session and managed
- Chrome Scripting API Complete Reference: Dynamic Code Injection in MV3
- Chrome Runtime API: Complete Guide to Extension Messaging and Lifecycle
- Chrome Identity API: OAuth2 and Token Management for Extensions
- Chrome Action API Guide: Popup, Badge, and Click Handling
- Web Speech API in Chrome Extensions: Voice Commands and Dictation
- Web Bluetooth API in Chrome Extensions: Connect to IoT Devices
- Chrome WebNavigation API for Extension Developers: Complete Tutorial
- Chrome Omnibox API Custom Search Extension Tutorial
- Chrome Extension Native Messaging: Complete Guide to Host Communication
- Chrome Extension Idle Detection API Guide: Detect User Activity and Inactive Tabs
- Chrome Extension Badge Text and Icon Guide: Complete API Tutorial
- Chrome Extension Message Passing Complete Guide
- Chrome Extension Context Menus API Tutorial
- Chrome Web Request API: Complete Guide to Network Interception in Extensions
- Chrome Text-to-Speech API Complete Guide for Extension Developers
- Chrome Extension Proxy Settings API Guide: Build VPN and Proxy Extensions
- Chrome History API Extension Tutorial: Build a Browser History Search Extension
- Chrome Extension Geolocation and Location Services Guide
- Drag and Drop in Chrome Extensions: Complete Tutorial
- Chrome Downloads API Tutorial for Extension Developers
- Chrome Cookies API Complete Guide for Extensions
- Chrome Bookmarks API Extension Development Tutorial: Build a Bookmark Manager Extension
- Chrome Extension Alarms API: Schedule Tasks in Your Extension