mirror of
https://github.com/GoogleChrome/chrome-extensions-samples.git
synced 2026-03-27 13:29:34 +07:00
* Add storage sample `stylizr` * Update description * Update api-samples/storage/stylizr/README.md Co-authored-by: Joe Medley <jmedley@google.com> * Clear previous timer if message called twice * Remove innerHTML * Update tips * Remove IIFE --------- Co-authored-by: Joe Medley <jmedley@google.com>
chrome.storage - Stylizr
A sample that demonstrates how to use the chrome.storage API.
Overview
In this sample, the chrome.storage API stores a custom style string that will be applied to the active page when the extension's action icon is clicked.
Running this extension
- Clone this repository.
- Load this directory in Chrome as an unpacked extension.
- Click the extension's action icon to see the effect.