Files
Xuezhou Dai 3f07ceec66 Add storage sample (#947)
* 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>
2023-08-21 11:34:27 +01:00
..
2023-08-21 11:34:27 +01:00
2023-08-21 11:34:27 +01:00
2023-08-21 11:34:27 +01:00
2023-08-21 11:34:27 +01:00
2023-08-21 11:34:27 +01:00
2023-08-21 11:34:27 +01:00
2023-08-21 11:34:27 +01:00

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

  1. Clone this repository.
  2. Load this directory in Chrome as an unpacked extension.
  3. Click the extension's action icon to see the effect.