This example demonstrates how to display the side panel only on google.com using the Side Panel API. It also allows users to open the side panel by clicking on the action icon or a keyboard shortcut.
- Clone this repository.
- Load this directory in Chrome as an unpacked extension.
- Pin the extension.
- Go to https://www.google.com.
- Click on the action icon to open the side panel.
💡 You can also open the side panel by pressing Ctrl+B
(Windows) or Cmd+B
(macOS).