Load your current search engines into a context menu for easily searching selected text. FF 57+ compatible. Written as a simple replacement for Ben Basson's Context Search.
Big thanks to CanisLupus for his mozlz4 decompression script
ContextSearch web-ext comes preloaded with some of the most popular search engines. No setup required.
- Select some text and right-click to bring up the context menu
- Expand the menu item
Search for ...
and click the desired search engine from the list that appears.
The search results can be displayed in a number of ways depending on the key held while clicking the search engine.
Defaults:
- Click -> Open In New Tab
- Click + Shift -> Open In New Window
- Click + Ctrl -> Open In Background Tab
These settings can be customized from ContextSearch web-ext Options -> Context Menu -> Search Actions
The Quick Menu is a robust popup menu that can be used to perform search actiosn not available to the context menu
- Select text and hold down the right mouse button until the menu appears
- Click the icon for the desired search engine
The search results can be displayed in a number of ways depending on the button used or key held while clicking the search engine.
Defaults:
- Left Click -> Open In New Tab
- Middle Click -> Open In Background Tab
- Right Click -> Open In Current Tab
- Click + Shift -> Open In New Window
- Click + Ctrl -> Open In Background Tab
- Click + Alt -> Keep Menu Open
These settings can be customized from ContextSearch web-ext Options -> Quick Menu -> Search Actions
Most websites that have an embeded search bar can be added to the list of search engines in ContextSearch web-ext using the Add Custom Search option from the context menu.
- Open the website you want to add a search engine for
- Right-click on the search bar in the page to open the context menu
- Select the menu item
Add Custom Search
to open the Add Custom Search dialog box - Click Add