Explore samples from the Chrome Extension samples repository. Use these to learn how extensions work or as starting points for building your own extensions.

Filter By

APIs
Permissions

Get a short summary of every webpage.

    This recipe shows how to use sidePanel.getOptions() to retrieve the current side panel and switch between side panels.

      Try the built-in AI preview in Chrome.

        Adds a custom cursor on developer.chrome.com.

          Try the Gemini Models.

            Shows how to display the same side panel on every site using the Side Panel API.

              Uses the chrome.privacy.services property to get and set privacy settings.

                Basic Hello World Extension

                  Generate a red triangle with WebGPU in an extension service worker.

                    Provides definitions in the side panel.