This sample demonstrates how to handle events with service workers.
The extension built allows users to quickly navigate to Chrome API reference pages using the omnibox.
The events from the following APIs have been handled: chrome.runtime
, chrome.omnibox
and chrome.alarms
.
The complete tutorial is available here.
- Clone this repository.
- Load this directory in Chrome as an unpacked extension.
- Type "api" in the omnibox followed by tab or space and select a suggestion.
- Click on "Tip" button in the navigation bar.