mirror of
https://github.com/GoogleChrome/chrome-extensions-samples.git
synced 2026-03-26 13:19:49 +07:00
* security: restrict content script matches to specific domain instead of <all_urls> * docs: update README to reflect domain restriction
Fetching a favicon in a content script
This example fetches the favicon from www.google.com and inserts it at the top left of Google search pages.
Note: This extension does not work on chrome://extensions.
See Fetching favicons to learn more.
Testing the extension
- Follow the instructions to load an unpacked extension.
- Navigate to www.google.com.
It should look like this: