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.
See optional permissions to learn more.
Follow the instructions to load an unpacked extension, then open a new tab.
It should look like this:
Then, click on Allow Extension to Access to Top Sites. You will see the following message:
Selecting Allow will display a list of the websites you visit most.


