
Selection Context Menu from Bookmarks 作者: 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.
4 个用户4 个用户
扩展元数据
屏幕截图




关于此扩展
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
评分 0(1 位用户)
权限与数据详细了解
必要权限:
- 读取和修改书签
- 向您显示通知
更多信息