Firefox Browser Add-ons
  • Extensions
  • Themes
    • for Firefox
    • Dictionaries & Language Packs
    • Other Browser Sites
    • Add-ons for Android
Log in
Preview of Selection Context Menu from Bookmarks

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.

0 (0 reviews)0 (0 reviews)
5 Users5 Users
You'll need Firefox to use this extension
Download Firefox and get the extension
Download file

Extension Metadata

Screenshots
Automatically convert bookmarks into context menu items.Bookmark any searchable webpage, including search engines, news sites, and dictionaries.Use the context menu to search for the selected text in any bookmarked webpage.Configure the add-on.
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
Rated 0 by 0 reviewers
Log in to rate this extension
There are no ratings yet

Star rating saved

5
0
4
0
3
0
2
0
1
0
No reviews yet
Permissions and dataLearn more

Required permissions:

  • Read and modify bookmarks
  • Display notifications to you
More information
Add-on Links
  • Support site
Version
1.0.1
Size
51.68 kB
Last updated
5 years ago (5 Feb 2021)
Related Categories
  • Search Tools
  • Bookmarks
Licence
GNU General Public Licence v3.0 only
Version History
  • See all versions
Add to collection
Report this add-on
Release notes for 1.0.1
- Fixed configuration storage on older Firefox versions
- 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

Go to Mozilla's homepage

Add-ons

  • About
  • Firefox Add-ons Blog
  • Extension Workshop
  • Developer Hub
  • Developer Policies
  • Community Blog
  • Forum
  • Report a bug
  • Review Guide

Browsers

  • Desktop
  • Mobile
  • Enterprise

Products

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Privacy
  • Cookies
  • Legal

Except where otherwise noted, content on this site is licensed under the Creative Commons Attribution Share-Alike Licence v3.0 or any later version.