Files
Xuezhou Dai a3966b4d92 Add readme files to existing samples & fix typos (#981)
* Add `Running this extension` section

* Change title

* Fix title typo

* Fix wrong operation

* Update `Running this extension` section

* Add `Running this extension` section
2023-07-17 10:05:43 -06:00

649 B

chrome.alarms

This sample demonstrates the chrome.alarms API by allowing the user to set alarms using an extension page.

Overview

The extension calls chrome.alarms.create() to set an initial alarm that is displayed on the extension page. More alarms can be set with user input.

Running this extension

  1. Clone this repository.
  2. Load this directory in Chrome as an unpacked extension.
  3. Pin the extension to the taskbar to access the action button.
  4. Open the extension popup by clicking the action button and interact with the UI.