浏览 Chrome 扩展程序示例 代码库中的示例。您可以使用这些教程了解扩展程序的工作原理,也可以将其作为构建自己的扩展程序的起点。

过滤条件

API
权限

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 Gemini Models.

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

          Adds a custom cursor on developer.chrome.com.

            Try the built-in AI preview in Chrome.

              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.