Project Fugu API Showcase là tập hợp các ứng dụng sử dụng những API được hình thành trong bối cảnh Project Fugu. Bạn có thể tìm hiểu thêm về Project Fugu trên trang đích về Khả năng.

Lọc theo

API đã sử dụng

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.

Override system power-saving settings.

Send a message to a native application.

Uses the chrome.readingList API to display, update and remove reading list entries.

Uses the chrome.userScripts API to inject JavaScript into web pages.

Demonstrates the chrome.i18n API by localizing text in the extension popup.

Uses the chrome.tabs API to take a screenshot of the active tab.

Uses the chrome.bookmarks API to search through, add, and delete bookmarks from the user's bookmark tree.

Uses the chrome.tabs API to toggle the pinned state of the current tab.

Uses the chrome.topSites API to suggest which sites a user should visit.

Replace every image by a cat's image in a website you visit

Demonstrates the "omnibox" manifest key and most members of the omnibox API.

Uses the chrome.cookies API by letting a user delete their cookies via a popup.

Shows how to get geolocation access within a popup.

Uses the devtools API to add a sidebar that displays the jQuery data associated with the selected DOM element.

Uses the chrome.history API to display in a popup the user's most visited pages.

How to use Google Analytics 4 in your extension.

Shows the Chromium release milestone a given code review was merged into.

Demonstrates how to use the chrome.storage API.

Demonstrates optional permissions in extensions

Quick API can speed up the building of Chrome extensions.

Uses the chrome.declarativeNetRequest API to remove the "Cookie" header from requests.

Demonstrates the chrome.tabs API and the chrome.windows API by providing a user interface to manage tabs and windows.

Uses the chrome.alarms API to allow the user to set alarms using an extension page.

Uses the chrome.browsingData API to clear the user's history without requiring the user to visit the history page.

A browser action with a popup dump of all bookmarks, including search, add, edit and delete.

Uses the chrome.commands API by creating a new keyboard macro for switching tabs in the browser window.

Shows how to call sidePanel.open() to open a global side panel.

Demonstrates how to override the default history page.

Demonstrates creation of a tab with a sandboxed iframe to which the main page passes a counter variable.

Uses the Action API to change the badge text, icon, hover text, or popup page.

Base Level Extension

Uses the web_accessible_resources key in the manifest.json file to control access to assets within an extension.

Uses the chrome.declarativeNetRequest API to block requests.

Demonstrates creating a tab for a sandboxed iframe. The sandbox calls eval() to write HTML to its own document.

Uses the chrome.topSites API to get the user's most visited sites.

Demonstrates the creation of, and interaction with, each of the notification template types.

Shows how to get geolocation access within a service worker.

Demonstrates using WebHID to connect to a CO2 meter.

Demonstrates the chrome.fontSettings API by allowing users to modify the size of fonts on webpages.

Uses the chrome.declarativeNetRequest API to redirect requests.

Uses the chrome.scripting API to inject JavaScript into web pages.

Uses the context menu to search a different country's Google

Demonstrates how to use the chrome.tabCapture API.

Example extension from DevTools Tips video.

Shows how to display the side panel only on google.com using the Side Panel API.

Uses devtools.inspectedWindow to collect and use data on the resouces used in a web page.

Demonstrates all four methods of the chrome.printing namespace.

Demonstrates the favicon manifest permission by displaying the favicon of a url in the extension popup.

Uses the chrome.debugger API to capture network events on web pages.

Uses chrome.contentSettings to display the settings of a given page in the extension's popup.

Uses the tabs.zoom API to manipulate the zoom level of the current tab.

Uses the webNavigation API to send notifications.

How to use WebSockets in your Chrome Extension.

Shows how to write a string to the system clipboard using the offscreen document.

Shows how to use WebAssembly (WASM) in Manifest V3.

Uses the "chrome_url_overrides" manifest key by replacing the user's default new tab page with a new html file.

Records the current tab in an offscreen document.

Uses the chrome.contextMenus API to customize the context menu.

Uses the chrome.windows and chrome.tabs APIs to manage tabs across different windows.

Demonstrates the Idle API

Shows how to get geolocation access within a content script.

Enable focus mode on Chrome's official Extensions and Chrome Web Store documentation.

Shows how to use DOMParser in an extension service worker using the offscreen document.

Demonstrates the "omnibox" manifest key and API by creating a keyword that opens a browser search in a new tab.

Demonstrates the chrome.declarativeNetRequest API by providing a UI to manipulate declarativeNetRequest rules dynamically.

Demonstrates fetching the favicon from www.google.com and inserting it at the top left of every page.

Shows how to use the file_handlers manifest key with the web platform's Launch Handler API.

Demonstrates the chrome.fontSettings API by allowing users to modify the style of displayed fonts on web pages.

Fix an Extension!

Build an Extension!

Shows how to use WebAssembly (WASM) as a module in Manifest V3.

Demonstrates the webRequest.onAuthRequired listener to detect an authentication request and log the user into the designated site.

Turns the page red when you click the icon

Demonstrates usage and features of the event page by reminding user to drink water

Add the reading time to Chrome Extension documentation articles