Примечания к выпускам
Узнайте об изменениях в Chrome Stable, которые затрагивают разработчиков.
Open extension API reference
Updated 1 января 1970 г.
Simple Theme
Updated 1 января 1970 г.
Multiple side panels
Updated 1 января 1970 г.
This recipe shows how to use sidePanel.getOptions() to retrieve the current side panel and switch between side panels.
Global side panel
Updated 1 января 1970 г.
Shows how to display the same side panel on every site using the Side Panel API.
Privacy API sample
Updated 1 января 1970 г.
Uses the chrome.privacy.services property to get and set privacy settings.
WebGPU Extension
Updated 1 января 1970 г.
Generate a red triangle with WebGPU in an extension service worker.
Reading List API Demo
Updated 1 января 1970 г.
Uses the chrome.readingList API to display, update and remove reading list entries.
User Scripts API Demo
Updated 1 января 1970 г.
Uses the chrome.userScripts API to inject JavaScript into web pages.
Service worker with push notification
Updated 1 января 1970 г.
il8n API Example
Updated 1 января 1970 г.
Demonstrates the chrome.i18n API by localizing text in the extension popup.
Test Screenshot Extension
Updated 1 января 1970 г.
Uses the chrome.tabs API to take a screenshot of the active tab.
Bookmark Viewer
Updated 1 января 1970 г.
Uses the chrome.bookmarks API to search through, add, and delete bookmarks from the user's bookmark tree.
Keyboard Pin
Updated 1 января 1970 г.
Uses the chrome.tabs API to toggle the pinned state of the current tab.
topSites API sample
Updated 1 января 1970 г.
Uses the chrome.topSites API to suggest which sites a user should visit.
Omnibox Simple Example
Updated 1 января 1970 г.
Demonstrates the "omnibox" manifest key and most members of the omnibox API.
Cookie Clearer
Updated 1 января 1970 г.
Uses the chrome.cookies API by letting a user delete their cookies via a popup.
Devtools - Chrome Query
Updated 1 января 1970 г.
Uses the devtools API to add a sidebar that displays the jQuery data associated with the selected DOM element.
Typed URL History
Updated 1 января 1970 г.
Uses the chrome.history API to display in a popup the user's most visited pages.
MV3 Migration - content script example
Updated 1 января 1970 г.
Chromium Milestones
Updated 1 января 1970 г.
Shows the Chromium release milestone a given code review was merged into.
Quick API Reference
Updated 1 января 1970 г.
Quick API can speed up the building of Chrome extensions.
No Cookies
Updated 1 января 1970 г.
Uses the chrome.declarativeNetRequest API to remove the "Cookie" header from requests.
Tab Inspector
Updated 1 января 1970 г.
Demonstrates the chrome.tabs API and the chrome.windows API by providing a user interface to manage tabs and windows.
Alarms API Demo
Updated 1 января 1970 г.
Uses the chrome.alarms API to allow the user to set alarms using an extension page.
BrowsingData API: Basics
Updated 1 января 1970 г.
Uses the chrome.browsingData API to clear the user's history without requiring the user to visit the history page.
My Bookmarks
Updated 1 января 1970 г.
A browser action with a popup dump of all bookmarks, including search, add, edit and delete.
chrome.commands
Updated 1 января 1970 г.
Uses the chrome.commands API by creating a new keyboard macro for switching tabs in the browser window.
Open side panel
Updated 1 января 1970 г.
Shows how to call sidePanel.open() to open a global side panel.
Sandboxed Frame Sample
Updated 1 января 1970 г.
Demonstrates creation of a tab with a sandboxed iframe to which the main page passes a counter variable.
Action API Demo
Updated 1 января 1970 г.
Uses the Action API to change the badge text, icon, hover text, or popup page.
Web Accessible Resources Demo
Updated 1 января 1970 г.
Uses the web_accessible_resources key in the manifest.json file to control access to assets within an extension.
Sandboxed Content Sample
Updated 1 января 1970 г.
Demonstrates creating a tab for a sandboxed iframe. The sandbox calls eval() to write HTML to its own document.
Notifications API sample
Updated 1 января 1970 г.
Demonstrates the creation of, and interaction with, each of the notification template types.
Geolocation - offscreen
Updated 1 января 1970 г.
Shows how to get geolocation access within a service worker.
Font Settings API Sample
Updated 1 января 1970 г.
Demonstrates the chrome.fontSettings API by allowing users to modify the size of fonts on webpages.
Scripting API Demo
Updated 1 января 1970 г.
Uses the chrome.scripting API to inject JavaScript into web pages.
Global Google Search
Updated 1 января 1970 г.
Uses the context menu to search a different country's Google
Site-specific side panel
Updated 1 января 1970 г.
Shows how to display the side panel only on google.com using the Side Panel API.
Devtools - inspectedWindow API sample
Updated 1 января 1970 г.
Uses devtools.inspectedWindow to collect and use data on the resouces used in a web page.
Print Extension
Updated 1 января 1970 г.
Demonstrates all four methods of the chrome.printing namespace.
Favicon API in a popup
Updated 1 января 1970 г.
Demonstrates the favicon manifest permission by displaying the favicon of a url in the extension popup.
Debugger Extension
Updated 1 января 1970 г.
Uses the chrome.debugger API to capture network events on web pages.
Content settings
Updated 1 января 1970 г.
Uses chrome.contentSettings to display the settings of a given page in the extension's popup.
Tabs zoom API Demo
Updated 1 января 1970 г.
Uses the tabs.zoom API to manipulate the zoom level of the current tab.
Offscreen API - Clipboard
Updated 1 января 1970 г.
Shows how to write a string to the system clipboard using the offscreen document.
WASM Load Example - Helloworld (no-modules)
Updated 1 января 1970 г.
Shows how to use WebAssembly (WASM) in Manifest V3.
Blank new tab page
Updated 1 января 1970 г.
Uses the "chrome_url_overrides" manifest key by replacing the user's default new tab page with a new html file.
Context Menus Sample
Updated 1 января 1970 г.
Uses the chrome.contextMenus API to customize the context menu.
Merge Windows
Updated 1 января 1970 г.
Uses the chrome.windows and chrome.tabs APIs to manage tabs across different windows.
Tab Manager for Chrome Dev Docs
Updated 1 января 1970 г.
Geolocation - content script
Updated 1 января 1970 г.
Shows how to get geolocation access within a content script.
Focus Mode
Updated 1 января 1970 г.
Enable focus mode on Chrome's official Extensions and Chrome Web Store documentation.
Offscreen API - DOM Parsing
Updated 1 января 1970 г.
Shows how to use DOMParser in an extension service worker using the offscreen document.
Omnibox - New Tab Search
Updated 1 января 1970 г.
Demonstrates the "omnibox" manifest key and API by creating a keyword that opens a browser search in a new tab.
no-cookies Rule Manager
Updated 1 января 1970 г.
Demonstrates the chrome.declarativeNetRequest API by providing a UI to manipulate declarativeNetRequest rules dynamically.
Favicon API in content scripts
Updated 1 января 1970 г.
Demonstrates fetching the favicon from www.google.com and inserting it at the top left of every page.
File Handling Demo
Updated 1 января 1970 г.
Shows how to use the file_handlers manifest key with the web platform's Launch Handler API.
Advanced Font Settings
Updated 1 января 1970 г.
Demonstrates the chrome.fontSettings API by allowing users to modify the style of displayed fonts on web pages.
WASM Load Example - Helloworld
Updated 1 января 1970 г.
Shows how to use WebAssembly (WASM) as a module in Manifest V3.
webRequest.onAuthRequired Demo
Updated 1 января 1970 г.
Demonstrates the webRequest.onAuthRequired listener to detect an authentication request and log the user into the designated site.
Drink Water Event Popup
Updated 1 января 1970 г.
Demonstrates usage and features of the event page by reminding user to drink water
Всегда обновление
Open extension API reference
Updated 1 января 1970 г.
Simple Theme
Updated 1 января 1970 г.
Multiple side panels
Updated 1 января 1970 г.
This recipe shows how to use sidePanel.getOptions() to retrieve the current side panel and switch between side panels.
Global side panel
Updated 1 января 1970 г.
Shows how to display the same side panel on every site using the Side Panel API.
Privacy API sample
Updated 1 января 1970 г.
Uses the chrome.privacy.services property to get and set privacy settings.
WebGPU Extension
Updated 1 января 1970 г.
Generate a red triangle with WebGPU in an extension service worker.
Reading List API Demo
Updated 1 января 1970 г.
Uses the chrome.readingList API to display, update and remove reading list entries.
User Scripts API Demo
Updated 1 января 1970 г.
Uses the chrome.userScripts API to inject JavaScript into web pages.
Service worker with push notification
Updated 1 января 1970 г.
il8n API Example
Updated 1 января 1970 г.
Demonstrates the chrome.i18n API by localizing text in the extension popup.
Test Screenshot Extension
Updated 1 января 1970 г.
Uses the chrome.tabs API to take a screenshot of the active tab.
Bookmark Viewer
Updated 1 января 1970 г.
Uses the chrome.bookmarks API to search through, add, and delete bookmarks from the user's bookmark tree.
Keyboard Pin
Updated 1 января 1970 г.
Uses the chrome.tabs API to toggle the pinned state of the current tab.
topSites API sample
Updated 1 января 1970 г.
Uses the chrome.topSites API to suggest which sites a user should visit.
Omnibox Simple Example
Updated 1 января 1970 г.
Demonstrates the "omnibox" manifest key and most members of the omnibox API.
Cookie Clearer
Updated 1 января 1970 г.
Uses the chrome.cookies API by letting a user delete their cookies via a popup.
Devtools - Chrome Query
Updated 1 января 1970 г.
Uses the devtools API to add a sidebar that displays the jQuery data associated with the selected DOM element.
Typed URL History
Updated 1 января 1970 г.
Uses the chrome.history API to display in a popup the user's most visited pages.
MV3 Migration - content script example
Updated 1 января 1970 г.
Chromium Milestones
Updated 1 января 1970 г.
Shows the Chromium release milestone a given code review was merged into.
Quick API Reference
Updated 1 января 1970 г.
Quick API can speed up the building of Chrome extensions.
No Cookies
Updated 1 января 1970 г.
Uses the chrome.declarativeNetRequest API to remove the "Cookie" header from requests.
Tab Inspector
Updated 1 января 1970 г.
Demonstrates the chrome.tabs API and the chrome.windows API by providing a user interface to manage tabs and windows.
Alarms API Demo
Updated 1 января 1970 г.
Uses the chrome.alarms API to allow the user to set alarms using an extension page.
BrowsingData API: Basics
Updated 1 января 1970 г.
Uses the chrome.browsingData API to clear the user's history without requiring the user to visit the history page.
My Bookmarks
Updated 1 января 1970 г.
A browser action with a popup dump of all bookmarks, including search, add, edit and delete.
chrome.commands
Updated 1 января 1970 г.
Uses the chrome.commands API by creating a new keyboard macro for switching tabs in the browser window.
Open side panel
Updated 1 января 1970 г.
Shows how to call sidePanel.open() to open a global side panel.
Sandboxed Frame Sample
Updated 1 января 1970 г.
Demonstrates creation of a tab with a sandboxed iframe to which the main page passes a counter variable.
Action API Demo
Updated 1 января 1970 г.
Uses the Action API to change the badge text, icon, hover text, or popup page.
Web Accessible Resources Demo
Updated 1 января 1970 г.
Uses the web_accessible_resources key in the manifest.json file to control access to assets within an extension.
Sandboxed Content Sample
Updated 1 января 1970 г.
Demonstrates creating a tab for a sandboxed iframe. The sandbox calls eval() to write HTML to its own document.
Notifications API sample
Updated 1 января 1970 г.
Demonstrates the creation of, and interaction with, each of the notification template types.
Geolocation - offscreen
Updated 1 января 1970 г.
Shows how to get geolocation access within a service worker.
Font Settings API Sample
Updated 1 января 1970 г.
Demonstrates the chrome.fontSettings API by allowing users to modify the size of fonts on webpages.
Scripting API Demo
Updated 1 января 1970 г.
Uses the chrome.scripting API to inject JavaScript into web pages.
Global Google Search
Updated 1 января 1970 г.
Uses the context menu to search a different country's Google
Site-specific side panel
Updated 1 января 1970 г.
Shows how to display the side panel only on google.com using the Side Panel API.
Devtools - inspectedWindow API sample
Updated 1 января 1970 г.
Uses devtools.inspectedWindow to collect and use data on the resouces used in a web page.
Print Extension
Updated 1 января 1970 г.
Demonstrates all four methods of the chrome.printing namespace.
Favicon API in a popup
Updated 1 января 1970 г.
Demonstrates the favicon manifest permission by displaying the favicon of a url in the extension popup.
Debugger Extension
Updated 1 января 1970 г.
Uses the chrome.debugger API to capture network events on web pages.
Content settings
Updated 1 января 1970 г.
Uses chrome.contentSettings to display the settings of a given page in the extension's popup.
Tabs zoom API Demo
Updated 1 января 1970 г.
Uses the tabs.zoom API to manipulate the zoom level of the current tab.
Offscreen API - Clipboard
Updated 1 января 1970 г.
Shows how to write a string to the system clipboard using the offscreen document.
WASM Load Example - Helloworld (no-modules)
Updated 1 января 1970 г.
Shows how to use WebAssembly (WASM) in Manifest V3.
Blank new tab page
Updated 1 января 1970 г.
Uses the "chrome_url_overrides" manifest key by replacing the user's default new tab page with a new html file.
Context Menus Sample
Updated 1 января 1970 г.
Uses the chrome.contextMenus API to customize the context menu.
Merge Windows
Updated 1 января 1970 г.
Uses the chrome.windows and chrome.tabs APIs to manage tabs across different windows.
Tab Manager for Chrome Dev Docs
Updated 1 января 1970 г.
Geolocation - content script
Updated 1 января 1970 г.
Shows how to get geolocation access within a content script.
Focus Mode
Updated 1 января 1970 г.
Enable focus mode on Chrome's official Extensions and Chrome Web Store documentation.
Offscreen API - DOM Parsing
Updated 1 января 1970 г.
Shows how to use DOMParser in an extension service worker using the offscreen document.
Omnibox - New Tab Search
Updated 1 января 1970 г.
Demonstrates the "omnibox" manifest key and API by creating a keyword that opens a browser search in a new tab.
no-cookies Rule Manager
Updated 1 января 1970 г.
Demonstrates the chrome.declarativeNetRequest API by providing a UI to manipulate declarativeNetRequest rules dynamically.
Favicon API in content scripts
Updated 1 января 1970 г.
Demonstrates fetching the favicon from www.google.com and inserting it at the top left of every page.
File Handling Demo
Updated 1 января 1970 г.
Shows how to use the file_handlers manifest key with the web platform's Launch Handler API.
Advanced Font Settings
Updated 1 января 1970 г.
Demonstrates the chrome.fontSettings API by allowing users to modify the style of displayed fonts on web pages.
WASM Load Example - Helloworld
Updated 1 января 1970 г.
Shows how to use WebAssembly (WASM) as a module in Manifest V3.
webRequest.onAuthRequired Demo
Updated 1 января 1970 г.
Demonstrates the webRequest.onAuthRequired listener to detect an authentication request and log the user into the designated site.
Drink Water Event Popup
Updated 1 января 1970 г.
Demonstrates usage and features of the event page by reminding user to drink water