Selection Context Menu from Bookmarks by szmejap
Creates selection menu items from bookmarks. Selected content is passed to the bookmarks URLs to enable search in any bookmarked webpage. Useful for custom search addresses, e.g. in search engines, dictionaries and any webpage with a search function.
You'll need Firefox to use this extension
Extension Metadata
Screenshots
About this extension
The extension will recreate the structure of a single bookmark folder (selected in configuration options) in a selection context menu. As a result, all bookmarks in the folder will become available under the right-click menu (i.e. context menu). Selected text can be passed to bookmarks to enable searching for the selected string under a given bookmarks address.
The extension essentially substitutes a (configurable) string of characters (a regular expression) in any bookmark under the configured folder. For example "http://www.example.org/?search=%s" becomes "http://www.example.org/?search=[selected text]", where "[selected text]" is whatever is currently selected ('%s' is the default substituted text).
With it you can define custom search addresses in multilingual dictionaries, news sites, stock information sites, or simply any search engine, without the need to configure Firefox search. Simply drop a bookmark in the folder, change the part of the URL that contains the search string, and you're all set.
Folder structure is reflected, so any sub-folders will show up, as sub-menus.
To start, simply create a bookmark folder called "Context Bookmarks" anywhere, and put a bookmark pointing to "https://duckduckgo.com/?q=%s" and named "DuckDuckGo" in that folder. Next, select any text, right-click, and use the new "DuckDuckGo" context item under the "Search ..." context menu folder.
See add-on options for more details.
Source code available here: https://github.com/szmejap/bookmarks-context-menu
The extension essentially substitutes a (configurable) string of characters (a regular expression) in any bookmark under the configured folder. For example "http://www.example.org/?search=%s" becomes "http://www.example.org/?search=[selected text]", where "[selected text]" is whatever is currently selected ('%s' is the default substituted text).
With it you can define custom search addresses in multilingual dictionaries, news sites, stock information sites, or simply any search engine, without the need to configure Firefox search. Simply drop a bookmark in the folder, change the part of the URL that contains the search string, and you're all set.
Folder structure is reflected, so any sub-folders will show up, as sub-menus.
To start, simply create a bookmark folder called "Context Bookmarks" anywhere, and put a bookmark pointing to "https://duckduckgo.com/?q=%s" and named "DuckDuckGo" in that folder. Next, select any text, right-click, and use the new "DuckDuckGo" context item under the "Search ..." context menu folder.
See add-on options for more details.
Source code available here: https://github.com/szmejap/bookmarks-context-menu
Rate your experience
PermissionsLearn more
This add-on needs to:
- Read and modify bookmarks
- Display notifications to you
More information
- Add-on Links
- Version
- 1.0.1
- Size
- 51.68 KB
- Last updated
- 4 years ago (Feb 5, 2021)
- Related Categories
- License
- GNU General Public License v3.0 only
- Version History
Add to collection
Release notes for 1.0.1
- Fixed configuration storage on older Firefox versions
- Simplified management of default setting values
- Simplified management of default setting values
More extensions by szmejap
- There are no ratings yet
- There are no ratings yet
- There are no ratings yet
- There are no ratings yet
- There are no ratings yet
- There are no ratings yet