-
Notifications
You must be signed in to change notification settings - Fork 14
/
pages.js
215 lines (214 loc) · 8.16 KB
/
pages.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
const pages = [
{
id: "welcome",
title: "Welcome Page",
subtitle: "Welcome to the Example Chrome Extension!",
description: "",
showInDropdown: true,
},
{
id: "manifest-explainer",
title: "Manifest Explainer",
subtitle: "Understand key/value pairs in the manifest.json",
description:
"The manifest.json file defines how an extension appears and behaves.",
showInDropdown: true,
},
{
id: "environment-info",
title: "Environment Details",
subtitle: "View information about the extension and its environment",
description:
"The Web Extensions API offers a handful of methods that expose information about the current page, manifest content, and system platform.",
showInDropdown: true,
},
{
id: "url-analyzer",
title: "Inspect Extension URL",
subtitle: "Understand how extension URLs are constructed",
description: "Browser extensions use a special URL format to serve files.",
showInDropdown: true,
},
{
id: "popup",
title: "Popup Page",
subtitle: "Experiment with the default popup page",
description:
"The manifest specifies this page as the default popup page. By default, it opens when the toolbar icon is clicked.",
showInDropdown: true,
},
{
id: "options",
title: "Options Page",
subtitle: "Experiment with the default options page",
description:
"The manifest specifies this page as the default options page. By default, it will open as a modal window in the browser extension page.",
showInDropdown: true,
},
{
id: "content-script-manager",
title: "Content Script Manager",
subtitle: "Control the content script widget",
description:
"Enable or disable the Example Chrome Extension widget to show over any webpage.",
showInDropdown: true,
},
{
id: "chrome-tutorial",
title: "Chrome Extension Tutorial",
subtitle:
"Use the WebExtension Storage API and content scripts to modify webpages",
description:
'This example is based off <a class="btn-link" href="https://developer.chrome.com/docs/extensions/mv3/getstarted/">Google\'s browser extension tutorial</a>',
showInDropdown: true,
},
{
id: "modify-toolbar-icon",
title: "Modify Toolbar Icon",
subtitle: "Programmatically change the extension's toolbar icon",
description:
"The extension's toolbar icon can be programmatically modified in a wide variety of ways. You can control the image, hover text, badge text, and badge color.",
showInDropdown: true,
},
{
id: "static-dnr",
title: "Static Declarative Net Request",
subtitle: "Experiment with static DNR rulesets",
description:
"Static rulesets can block or modify outgoing network requests from browser tabs. The Declarative Net Request API allows rulesets to be enabled or disabled on demand.",
showInDropdown: true,
},
{
id: "dynamic-dnr",
title: "Dynamic Declarative Net Request",
subtitle: "Experiment with dynamic DNR rules",
description:
"Dynamic rulesets can block or modify outgoing network requests from browser tabs. The Declarative Net Request API allows rules to be created, modified, or destroyed on demand.",
showInDropdown: true,
},
{
id: "tabs-viewer",
title: "Tab/Window Dashboard",
subtitle: "View and control your browser's tabs and windows in real-time",
description:
"This dashboard shows all of your browser's windows and tabs in real-time. You can manipulate the windows and tabs directly from the control buttons available in each card.",
showInDropdown: true,
},
{
id: "navigation-events",
title: "Navigation Events",
subtitle: "View browser navigation events in real time",
description:
"Browser navigation events in other tabs and frames will display here in real time. This page must be left open to collect navigation events.",
showInDropdown: true,
},
{
id: "messaging",
title: "Extension Messaging",
subtitle: "Send and recieve messages across the extension",
description:
"The Web Extensions API allows for two ways of sending cross-context messages: one-off messages, or connecting message ports to send streams of messages.",
showInDropdown: true,
},
{
id: "context-menus",
title: "Context Menu Clicks",
subtitle: "Track click information for custom context menu items",
description:
"The ContextMenus API allows you to add custom items to right click context menus throughout the browser. Right click on the page, links, selected text, or the toolbar icon to access it.",
showInDropdown: true,
},
{
id: "omnibox",
title: "Omnibox Events",
subtitle: "Track omnibox events sent from the URL bar",
description:
"The Omnibox API allows you to define a custom search interface from the URL bar. In the browser's URL bar, type 'bex' and then a space to open the omnibox interface. Events fired will appear below.",
showInDropdown: true,
},
{
id: "oauth2",
title: "Native Browser Google OAuth",
subtitle: "Authenticate with Google OAuth",
description:
"If using OAuth in Google Chrome and with a Google Login, the flow can be greatly simplified using the identity API. Click the button below to securely authenticate with your Google account.",
showInDropdown: true,
},
{
id: "openid",
title: "Google OpenID Connect Authentication",
subtitle: "Authentiate with Google OpenID",
description:
"Google supports OpenID authentication, and this can be easily used with the identity API. Click the button below to securely authenticate with your Google account.",
showInDropdown: true,
},
{
id: "github-oauth",
title: "Manual Github OAuth",
subtitle: "Authenticate with Github OAuth",
description:
"The identity API is compatible with any OAuth provider, but it requires passing the client secret. Click the button below to securely authenticate with your Github account.",
showInDropdown: true,
},
{
id: "api-test",
title: "Web Extension API",
subtitle: "View the full list of API methods and properties.",
description:
"The Web Extensions API lives inside the `chrome` or `browser` namespace. This page recursively unpacks that namespace.",
showInDropdown: true,
},
{
id: "devtools-network-panel",
title: "Devtools Traffic Monitor",
subtitle: "Monitor real-time page network traffic.",
description:
"Monitor the real-time network requests coming from the active tab. Click an entry to view its HAR log object.",
showInDropdown: true,
},
{
id: "devtools-inspected-window-panel",
title: "Devtools Inspected Window Panel",
subtitle: "",
description: "",
showInDropdown: false,
},
{
id: "devtools-sources-sidebar",
title: "Devtools Sources Sidebar",
subtitle: "",
description: "",
showInDropdown: false,
},
{
id: "devtools-elements-sidebar",
title: "Devtools Elements Sidebar",
subtitle: "",
description: "",
showInDropdown: false,
},
{
id: "auth0",
title: "OAuth2 with Auth0/PKCE",
subtitle: "Authenticate with Auth0 and the PKCE protocol.",
description:
"PKCE can be used to avoid disclosing client secrets in the source code, but it requires the OAuth server to support PKCE - and not all do. Click the button below to securely authenticate with Auth0 via PKCE.",
showInDropdown: true,
},
{
id: "screenshot",
title: "Page Capture",
subtitle: "Capture images, page source, and streams.",
description:
"Extensions can capture screenshots of tabs, MTHML dumps of tabs, tab streams, and desktop streams using the Web Extensions API.",
showInDropdown: true,
},
{
id: "sidepanel",
title: "Side Panel",
subtitle: "Open, close, and manage the side panel",
description: "Use the chrome.sidePanel API to host content in the browser's side panel alongside the main content of a webpage.",
showInDropdown: true,
},
];
export default pages;