mirror of
https://github.com/mdn/webextensions-examples.git
synced 2026-04-16 06:18:35 +02:00
menu-search
A demo of the search API.
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.