swift-selection-search icon indicating copy to clipboard operation
swift-selection-search copied to clipboard

Let SSS provide its search feature to Firefox's URL bar

Open LegitLlama opened this issue 5 years ago • 3 comments

I'm basically bloating your issue tracker by now, but it's the last one!

Use case: Firefox's main URL field is a convenient place to write shit and search in a number of search engines. It can also be used to search almost instantly for URLs themselves in search engines. However, creating and installing OpenSearch engines can be a chore in certain cases, and SSS is much more powerful and flexible at this game. That means users may have more (and more subtle) engines stored in SSS than they do in about:preferences#search.

It would be nice then that SSS can provide its search offer to Firefox's URL bar itself. Do you think it would be within the scope of this add-on ?

Possible implementation: One implementation route could be (assuming Firefox provides an API for it) to inject SSS's right click menu item into the menu that Firefox creates when the user right clicks in Firefox's main URL field... Maybe there are other ways to implement the features, I don't know.

  Feel free to close this issue right away if it's out of scope or whatever. Thanks again for making SSS :)

LegitLlama avatar May 02 '20 19:05 LegitLlama

Hahah no worries, I fear that some of the issues (not yours specifically, just in general) will actually never get completed. My work on SSS is erratic at best, and the number of users tends to increase with time. ;)

Regarding the issue itself, there is an old one (number #64) that, in essence, is about this, although it was phrased differently and required a few questions. Both ideas are to allow SSS engines to be reused as a search bar, instead of only when text is selected.

User goselito mentioned that the recently-added text box in the popup could be used for this (in a less-than-ideal way, of course) if the keyboard shortcut actually worked when there's no selection, but that is another problem (see #175). It's strange that this is an actual problem, but...yeah.

Anyway, whenever I'm able to see how THIS issue could work out, API or not, I'll let you know. ;)

CanisLupus avatar May 02 '20 22:05 CanisLupus

It's only natural that some issues will end up WONTFIX, even if you had infinite manpower implementing everything would likely just bloat the software.

My priorities for an add-on are:

  1. Trusted developer (by Mozilla and by me)
  2. All network requests under my control
  3. No extra bit added to my fingerprint unless absolutely necessary (e.g. ad blocking)
  4. REALLY useful
  5. I can understand in which ways it could collide with add-ons I already use

All 5 points are checked as far as I'm concerned, after a couple tweaks for 2 and 3, so that means I'll be sticking to SSS for the many years to come :D

Cheers

LegitLlama avatar May 03 '20 01:05 LegitLlama

I'm glad you think that way as well. ;)

Those priorities are completely understandable. I have only about 5 or 6 Firefox addons installed, depending on the machine, so I also like to install something only if it's really necessary.

Thanks! I can see where improvements to 2 and 3 could happen, so we're on the same page.

CanisLupus avatar May 04 '20 17:05 CanisLupus