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.

    Try the built-in AI preview in Chrome.

      Try the Gemini Models.

        Adds a custom cursor on developer.chrome.com.

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

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

              Provides definitions in the side panel.

                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.