Skip to content

Commit 45bbd8d

Browse files
daidrjpmedleyoliverdunk
authored
Update description fields for all samples (GoogleChrome#994)
* Update `action` sample * Update `alarms` sample * Update `bookmarks` sample * Update `browsingData` sample * Update `contentSettings` sample * Update `cookies/cookie-clearer` sample * Update `debugger` sample * Update wasm functional sample * Update `functional/cookbook.geolocation-contentscript` sample * Update `cookbook.geolocation-offscreen` sample * Update `cookbook.geolocation-popup` sample * Update `cookbook.offscreen-clipboard-write` sample * Update `cookbook.offscreen-dom` sample * Fix browsingData description * Fix bookmarks description * Update offscreen document descriptions * Update descriptions * Update browsingData description * Update descriptions for all api samples * Update descriptions for cookbook samples * Update api-samples/browsingData/manifest.json Co-authored-by: Joe Medley <[email protected]> * Update api-samples/action/manifest.json Co-authored-by: Joe Medley <[email protected]> * Update api-samples/contextMenus/basic/manifest.json Co-authored-by: Joe Medley <[email protected]> * Update api-samples/cookies/cookie-clearer/manifest.json Co-authored-by: Joe Medley <[email protected]> * Update api-samples/debugger/manifest.json Co-authored-by: Joe Medley <[email protected]> * Update functional-samples/sample.favicon-cs/manifest.json Co-authored-by: Joe Medley <[email protected]> * Update functional-samples/cookbook.sidepanel-site-specific/manifest.json Co-authored-by: Joe Medley <[email protected]> * Update api-samples/omnibox/new-tab-search/manifest.json Co-authored-by: Joe Medley <[email protected]> * Update api-samples/devtools/inspectedWindow/manifest.json Co-authored-by: Joe Medley <[email protected]> * Update api-samples/override/blank_ntp/manifest.json Co-authored-by: Joe Medley <[email protected]> * Apply suggestions from code review Co-authored-by: Joe Medley <[email protected]> * Update wasm samples description * Update description * Update functional-samples/sample.co2meter/manifest.json Co-authored-by: Joe Medley <[email protected]> * Apply suggestions from code review --------- Co-authored-by: Joe Medley <[email protected]> Co-authored-by: Oliver Dunk <[email protected]>
1 parent b6a3ac5 commit 45bbd8d

File tree

51 files changed

+57
-46
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+57
-46
lines changed

api-samples/action/manifest.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "Action API Demo",
33
"version": "1.0",
4+
"description": "Uses the Action API to change the badge text, icon, hover text, or popup page.",
45
"manifest_version": 3,
56
"background": {
67
"service_worker": "background.js"

api-samples/alarms/manifest.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "Alarms API Demo",
33
"version": "1.0",
4+
"description": "Uses the chrome.alarms API to allow the user to set alarms using an extension page.",
45
"manifest_version": 3,
56
"background": {
67
"service_worker": "bg-wrapper.js"

api-samples/bookmarks/manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"manifest_version": 3,
33
"name": "Bookmark Viewer",
44
"version": "1.0",
5-
"description": "A simple Chrome extension to display bookmarks",
5+
"description": "Uses the chrome.bookmarks API to search through, add, and delete bookmarks from the user's bookmark tree.",
66
"action": {
77
"default_popup": "popup.html",
88
"default_icon": "icon.png"

api-samples/browsingData/manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "BrowsingData API: Basics",
33
"version": "1.2",
4-
"description": "An example implementation of the chrome.browsingData API",
4+
"description": "Uses the chrome.browsingData API to clear the user's history without requiring the user to visit the history page.",
55
"permissions": ["browsingData"],
66
"action": {
77
"default_icon": "icon.png",

api-samples/contentSettings/manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "Content settings",
33
"version": "0.3",
4-
"description": "Shows the content settings for the current site.",
4+
"description": "Uses chrome.contentSettings to display the settings of a given page in the extension's popup.",
55
"permissions": ["contentSettings", "activeTab"],
66
"action": {
77
"default_icon": "contentSettings.png",

api-samples/contextMenus/basic/manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Context Menus Sample",
3-
"description": "Shows some of the features of the Context Menus API",
3+
"description": "Uses the chrome.contextMenus API to customize the context menu.",
44
"version": "0.7",
55
"permissions": ["contextMenus"],
66
"background": {

api-samples/contextMenus/global_context_search/manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Global Google Search",
3-
"description": "Use the context menu to search a different country's Google",
3+
"description": "Uses the context menu to search a different country's Google",
44
"version": "1.1",
55
"manifest_version": 3,
66
"permissions": ["contextMenus", "storage"],

api-samples/cookies/cookie-clearer/manifest.json

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"name": "Cookie Clearer",
33
"manifest_version": 3,
44
"version": "1.0",
5+
"description": "Uses the chrome.cookies API by letting a user delete their cookies via a popup.",
56
"permissions": ["cookies"],
67
"host_permissions": ["<all_urls>"],
78
"action": {

api-samples/debugger/manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"manifest_version": 3,
33
"name": "Debugger Extension",
4-
"description": "Demonstrates the API by attaching a debugger to a webpage and capturing network data.",
4+
"description": "Uses the chrome.debugger API to capture network events on web pages.",
55
"version": "1.0",
66
"permissions": ["debugger", "tabs"],
77
"host_permissions": ["https://www.google.com/*"],

api-samples/declarativeNetRequest/no-cookies/manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "No Cookies",
3-
"description": "Removes 'Cookie' headers.",
3+
"description": "Uses the chrome.declarativeNetRequest API to remove the \"Cookie\" header from requests.",
44
"version": "1.0",
55
"manifest_version": 3,
66
"permissions": ["declarativeNetRequest", "declarativeNetRequestFeedback"],

api-samples/declarativeNetRequest/url-blocker/manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "URL Blocker",
33
"version": "0.1",
44
"manifest_version": 3,
5-
"description": "Blocks all main frame requests to example.com.",
5+
"description": "Uses the chrome.declarativeNetRequest API to block requests.",
66
"background": {
77
"service_worker": "service_worker.js"
88
},

api-samples/declarativeNetRequest/url-redirect/manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "URL Redirect",
33
"version": "0.1",
44
"manifest_version": 3,
5-
"description": "Redirects MV2 documents to equivalent MV3 documents on developer.chrome.com.",
5+
"description": "Uses the chrome.declarativeNetRequest API to redirect requests.",
66
"background": {
77
"service_worker": "service_worker.js"
88
},

api-samples/default_command_override/manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Tab Flipper",
3-
"description": "Press Ctrl+Shift+Right or Ctrl+Shift+Left (Command+Shift+Right or Command+Shift+Left on a Mac) to flip through window tabs",
3+
"description": "Uses the chrome.commands API by creating a new keyboard macro for switching tabs in the browser window.",
44
"version": "1.0",
55
"manifest_version": 3,
66
"background": {

api-samples/devtools/inspectedWindow/manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Devtools - inspectedWindow API sample",
3-
"description": "Makes use of the devtools.inspectedWindow API to collect data and display it inside of a devtools panel.",
3+
"description": "Uses devtools.inspectedWindow to collect and use data on the resouces used in a web page.",
44
"version": "1.0",
55
"manifest_version": 3,
66
"devtools_page": "devtools.html"
+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"name": "Chrome Query",
2+
"name": "Devtools - Chrome Query",
33
"version": "1.2",
4-
"description": "Extends the Developer Tools, adding a sidebar that displays the jQuery data associated with the selected DOM element.",
4+
"description": "Uses the devtools API to add a sidebar that displays the jQuery data associated with the selected DOM element.",
55
"devtools_page": "devtools.html",
66
"manifest_version": 3
77
}

api-samples/favicon/manifest.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "Favicon API in a popup",
33
"version": "1.1",
4+
"description": "Demonstrates the favicon manifest permission by displaying the favicon of a url in the extension popup.",
45
"manifest_version": 3,
56
"permissions": ["favicon"],
67
"action": {

api-samples/fontSettings/fontSettings Advanced/manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "Advanced Font Settings",
33
"version": "0.7",
44
"manifest_version": 3,
5-
"description": "Customize per-script font settings.",
5+
"description": "Demonstrates the chrome.fontSettings API by allowing users to modify the style of displayed fonts on web pages.",
66
"options_page": "options.html",
77
"icons": {
88
"16": "fonts16.png",

api-samples/fontSettings/fontSettings Basic/manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "Font Settings API Sample",
33
"version": "1",
44
"manifest_version": 3,
5-
"description": "Customize font settings.",
5+
"description": "Demonstrates the chrome.fontSettings API by allowing users to modify the size of fonts on webpages.",
66
"action": {
77
"default_popup": "popup.html"
88
},

api-samples/history/historyOverride/manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"manifest_version": 3,
33
"name": "History Override",
4-
"description": "Overrides the History Page",
4+
"description": "Demonstrates how to override the default history page.",
55
"version": "1.0",
66
"chrome_url_overrides": {
77
"history": "history.html"

api-samples/history/showHistory/manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "Typed URL History",
33
"version": "1.3",
4-
"description": "Reads your history and uses the transition type of each history item to filter out a list of the top ten pages you go to specifically by typing the URL.",
4+
"description": "Uses the chrome.history API to display in a popup the user's most visited pages.",
55
"permissions": ["history"],
66
"action": {
77
"default_popup": "typed-urls.html",

api-samples/il8n/manifest.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"manifest_version": 3,
33
"name": "il8n API Example",
4+
"description": "Demonstrates the chrome.i18n API by localizing text in the extension popup.",
45
"version": "3",
56
"action": {
67
"default_popup": "popup.html"

api-samples/omnibox/new-tab-search/manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Omnibox - New Tab Search",
3-
"description": "Type 'newTab' plus a search term into the Omnibox to open search in new tab.",
3+
"description": "Demonstrates the \"omnibox\" manifest key and API by creating a keyword that opens a browser search in a new tab.",
44
"version": "1.0",
55
"manifest_version": 3,
66
"background": {

api-samples/override/blank_ntp/manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Blank new tab page",
3-
"description": "Override the new tab page with a blank one",
3+
"description": "Uses the \"chrome_url_overrides\" manifest key by replacing the user's default new tab page with a new html file.",
44
"version": "0.3",
55
"incognito": "split",
66
"chrome_url_overrides": {

api-samples/printing/manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "Print Extension",
33
"version": "1.0",
4-
"description": "Sends print job directly to the printers installed on the Chromebook",
4+
"description": "Demonstrates all four methods of the chrome.printing namespace.",
55
"permissions": ["printing"],
66
"action": {
77
"default_popup": "printers.html",

api-samples/privacy/manifest.json

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"name": "Privacy API sample",
33
"version": "1.0",
44
"manifest_version": 3,
5+
"description": "Uses the chrome.privacy.services property to get and set privacy settings.",
56
"background": {
67
"service_worker": "service-worker.js"
78
},

api-samples/richNotification/manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Notifications API sample",
3-
"description": "An extension that cycles through template types of notifications whenever the user interacts with one.",
3+
"description": "Demonstrates the creation of, and interaction with, each of the notification template types.",
44
"version": "1.0",
55
"manifest_version": 3,
66
"action": {

api-samples/sandbox/sandbox/manifest.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "Sandboxed Frame Sample",
33
"version": "1.0.3",
4+
"description": "Demonstrates creation of a tab with a sandboxed iframe to which the main page passes a counter variable.",
45
"manifest_version": 3,
56
"background": {
67
"service_worker": "service-worker.js"

api-samples/sandbox/sandboxed-content/manifest.json

+4-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22
"name": "Sandboxed Content Sample",
33
"version": "1.0.3",
44
"manifest_version": 3,
5-
"background": {
6-
"service_worker": "service-worker.js"
7-
},
5+
"background": {
6+
"service_worker": "service-worker.js"
7+
},
8+
"description": "Demonstrates creating a tab for a sandboxed iframe. The sandbox calls eval() to write HTML to its own document.",
89
"icons": {
910
"128": "icon_128.png"
1011
},

api-samples/scripting/manifest.json

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"name": "Scripting API Demo",
33
"version": "1.0",
44
"manifest_version": 3,
5+
"description": "Uses the chrome.scripting API to inject JavaScript into web pages.",
56
"background": {
67
"service_worker": "sw.js"
78
},

api-samples/tabCapture/manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Tab Capture Example",
3-
"description": "Capture a tab and play in a <video> element in a separate window.",
3+
"description": "Demonstrates how to use the chrome.tabCapture API.",
44
"version": "1",
55
"manifest_version": 3,
66
"action": {

api-samples/topSites/basic/manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "Top Sites",
33
"version": "1.2",
4-
"description": "Shows the top sites in the popup.",
4+
"description": "Uses the chrome.topSites API to get the user's most visited sites.",
55
"permissions": ["topSites"],
66
"action": {
77
"default_icon": "icon.png",

api-samples/topSites/magic8ball/manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "topSites API sample",
33
"version": "2",
4-
"description": "An extension that demonstrates the chrome.topSites API by registering a custom new tab page.",
4+
"description": "Uses the chrome.topSites API to suggest which sites a user should visit.",
55
"chrome_url_overrides": {
66
"newtab": "newTab.html"
77
},

api-samples/web-accessible-resources/manifest.json

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"background": {
66
"service_worker": "service-worker.js"
77
},
8+
"description": "Uses the web_accessible_resources key in the manifest.json file to control access to assets within an extension.",
89
"action": {},
910
"content_scripts": [
1011
{

api-samples/webNavigation/basic/manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "webNavigation API Sample",
33
"version": "2",
4-
"description": "A demonstration of the webNavigation API",
4+
"description": "Uses the webNavigation API to send notifications.",
55
"background": {
66
"service_worker": "service-worker.js"
77
},

api-samples/webRequest/http-auth/manifest.json

+3-7
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,10 @@
22
"name": "webRequest.onAuthRequired Demo",
33
"version": "1.0",
44
"manifest_version": 3,
5+
"description": "Demonstrates the webRequest.onAuthRequired listener to detect an authentication request and log the user into the designated site.",
56
"background": {
67
"service_worker": "service-worker.js"
78
},
8-
"permissions": [
9-
"webRequest",
10-
"webRequestAuthProvider"
11-
],
12-
"host_permissions": [
13-
"https://httpbin.org/*"
14-
]
9+
"permissions": ["webRequest", "webRequestAuthProvider"],
10+
"host_permissions": ["https://httpbin.org/*"]
1511
}

api-samples/windows/manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "Merge Windows",
33
"version": "1.0.3",
4-
"description": "Merges all of the browser's windows into the current window",
4+
"description": "Uses the chrome.windows and chrome.tabs APIs to manage tabs across different windows.",
55
"icons": {
66
"48": "merge_windows_48.png",
77
"128": "merge_windows_128.png"

functional-samples/cookbook.geolocation-contentscript/manifest.json

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"name": "Geolocation - content script",
33
"version": "1.0",
44
"manifest_version": 3,
5+
"description": "Shows how to get geolocation access within a content script.",
56
"content_scripts": [
67
{
78
"matches": ["https://example.com/*"],

functional-samples/cookbook.geolocation-offscreen/manifest.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "Geolocation - offscreen",
33
"version": "1.0",
4+
"description": "Shows how to get geolocation access within a service worker.",
45
"manifest_version": 3,
56
"background": {
67
"service_worker": "service_worker.js"

functional-samples/cookbook.geolocation-popup/manifest.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "Geolocation - popup",
33
"version": "1.0",
4+
"description": "Shows how to get geolocation access within a popup.",
45
"manifest_version": 3,
56
"action": {
67
"default_popup": "popup.html"

functional-samples/cookbook.offscreen-clipboard-write/README.md

+1-1

functional-samples/cookbook.offscreen-clipboard-write/manifest.json

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"name": "Offscreen API - Clipboard",
33
"version": "1.0",
44
"manifest_version": 3,
5+
"description": "Shows how to write a string to the system clipboard using the offscreen document.",
56
"background": {
67
"service_worker": "background.js"
78
},

functional-samples/cookbook.offscreen-dom/README.md

+1-1

functional-samples/cookbook.offscreen-dom/manifest.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "Offscreen API - DOM Parsing",
33
"version": "1.0",
4+
"description": "Shows how to use DOMParser in an extension service worker using the offscreen document.",
45
"manifest_version": 3,
56
"background": {
67
"service_worker": "background.js"

functional-samples/cookbook.sidepanel-global/manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"manifest_version": 3,
33
"name": "Global side panel",
44
"version": "1.0",
5-
"description": "Sidepanel declared only in the manifest visible to all sites",
5+
"description": "Shows how to display the same side panel on every site using the Side Panel API.",
66
"icons": {
77
"16": "images/icon-16.png",
88
"48": "images/icon-48.png",

functional-samples/cookbook.sidepanel-multiple/manifest.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"manifest_version": 3,
33
"name": "Multiple side panels",
44
"version": "1.0",
5-
"description": "Displays welcome side panel on installation, then shows the main panel",
5+
"description": "This recipe shows how to use sidePanel.getOptions() to retrieve the current side panel and switch between side panels.",
66
"background": {
77
"service_worker": "service-worker.js"
88
},
@@ -13,4 +13,3 @@
1313
},
1414
"permissions": ["sidePanel"]
1515
}
16-

0 commit comments

Comments
 (0)