CanisLupus / swift-selection-search

Swift Selection Search (SSS) is a simple Firefox add-on that lets you quickly search for some text in a page using your favorite search engines.
https://addons.mozilla.org/firefox/addon/swift-selection-search/
MIT License
213 stars 27 forks source link

I would like to have a blank Swift Selection Search pop up in the context menu on right click #252

Open beehiveharvest opened 1 year ago

beehiveharvest commented 1 year ago

Hello.

I find Swift Selection Search very useful Adoo-ons. I especially use it often to select text and search in popups.

As you know, the default search bar in Firefox is far away from the mouse and does not pop up. So I think it would be useful if Swift Selection Search could pop up and search from there even if no text is selected.

Ideally, it would pop up with a mouse gesture, but this is probably not possible with the current Firefox. So, when you simply right-click on a web page without selecting anything, an icon appears in the context menu with the phrase Swift Selection Search, such as Open Swift Selection Search, and from that context menu you can select the text I think it would be very nice to open a Swift Selection Search with a blank text box.

Of course, this kind of usage is also a matter of preference. So I would be happy if you could make this an option. Request

CanisLupus commented 1 year ago

Hey @beehiveharvest sorry for the very late reply! I'm keeping all of these suggestions open but please note that development of new SSS features has stopped indefinitely and I'm only doing the occasional bug fix and maintenance due to browser changes.

I agree this would be useful and there is a keyboard shortcut to show the popup that would be the most "SSS way" to solve this (make the popup appear without selecting text). Saaaaadly there were complications when this was first suggested in issue #175. There's details in that thread but essentially what seemed like a simple change at first turned out to be weirdly complicated. I didn't like any of the possible solutions, code-wise, so sadly it didn't end up being added. :|