Files
webextensions-examples/annotate-page
rebloor 82217a05bc Replace var with let in examples (#484)
* Replace var with let in examples

store-collected-images/webextension-plain/deps/uuidv4.js

* Reverted third–party code
2022-08-11 04:27:28 +12:00
..
2017-03-03 21:15:15 -08:00

annotate-page

What it does

This example adds a sidebar that lets you take notes on the current web page. The notes are saved to local storage, and the notes for each page are shown again when you open that page again.

The example also uses the commands manifest key to add a keyboard shortcut that opens the sidebar.

What it shows

How to create a sidebar for an add-on. How to associate the sidebar with the currently active tab in that sidebar's window. How to store and restore sidebar content.