Skip to content

Commit 5dad4a4

Browse files
authored
Update README.md (#1527)
* Update README.md Fixed the 'unpacked extension' link and revised wording for clarity * Update README.md Revised wording [2] * Clarify README Better wording on the first two sentences
1 parent 043d263 commit 5dad4a4

File tree

1 file changed

+7
-7
lines changed
  • functional-samples/sample.optional_permissions

1 file changed

+7
-7
lines changed
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
## Optional permissions in a new tab
22

3-
This new tab extension demonstrates how extensions can provide users the option to enable an additional feature. In this example, they optionally display top sites.
3+
This sample extension changes the **New Tab** page, prompting the user for permission to display their top sites. It demonstrates how extensions can provide users with the option to enable additional features.
44

5-
See [Optional permissions](https://developer.chrome.com/docs/extensions/reference/permissions/) to learn more.
5+
See [optional permissions](https://developer.chrome.com/docs/extensions/reference/permissions/) to learn more.
66

77
## Testing the extension
88

9-
Follow the instructions to load an [unpacked extension](https://developer.chrome.com/docs/extensions/mv3/getstarted/development-basics/#load-unpacked, then open a new tab.
9+
Follow the instructions to load an [unpacked extension](https://developer.chrome.com/docs/extensions/mv3/getstarted/development-basics/#load-unpacked), then open a new tab.
1010

1111
It should look like this:
1212

13-
<img src="../../.repo/images/optional-permissions-new-tab.png" alt="New tab with the focus of the day and optional feature button" width="500"/>
13+
<img src="../../.repo/images/optional-permissions-new-tab.png" alt="New tab with optional permission button" width="500"/>
1414

15-
Then, click on "Allow Extension to Access to top sites". You will see the following message:
15+
Then, click on `Allow Extension to Access to Top Sites`. You will see the following message:
1616

17-
<img src="../../.repo/images/optional-permissions-dialog.png" alt="Allow permissions dialog" width="400"/>
17+
<img src="../../.repo/images/optional-permissions-dialog.png" alt="Permissions dialog with Deny and Allow buttons respectively" width="400"/>
1818

19-
If you accept, it will display a list of your top sites.
19+
Selecting `Allow` will display a list of the websites you visit most.
2020

2121
<img src="../../.repo/images/optional-permissions-top-sites.png" alt="New tab displaying top sites" width="400"/>

0 commit comments

Comments
 (0)