mirror of
https://github.com/mdn/webextensions-examples.git
synced 2026-04-17 14:59:12 +02:00
add in a runtime example (#304)
* add in a runtime example * updated based on feedback
This commit is contained in:
14
runtime-examples/README.md
Normal file
14
runtime-examples/README.md
Normal file
@@ -0,0 +1,14 @@
|
||||
## What it does
|
||||
|
||||
Trigger an install notification when you install it. On the browser action text is
|
||||
shown showing when the background page was last loaded in minutes and seconds.
|
||||
|
||||
Clicking the browser action triggers a reload and updates the background page load time.
|
||||
|
||||
The notifications show the version of the extension by fetching the manifest.
|
||||
|
||||
## What it shows
|
||||
|
||||
Demonstration of some runtime and notification APIs.
|
||||
|
||||
Icon is from: https://www.iconfinder.com/icons/172151/run_icon#size=128
|
||||
Reference in New Issue
Block a user