Files
wbamberg 04ab5ab0e4 Added an example of the search API (#372)
* Added an example of the search API

* Fix manifest.json
2018-10-12 11:22:27 -07:00

21 lines
618 B
Markdown

# menu-search
A demo of the [search API](https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/search/).
## What it does
This add-on retrieves the list of installed search engines, and adds a context menu item for each one, displayed in the "selection" context.
Each context menu item searches for the selected text using the corresponding search engine.
This enables a user to:
* select some text to search for
* activate the context menu
* choose which search engine to use for the search.
## What it shows
* How to retrieve the set of search engines.
* How to search using a specific search engine.