search-bookmarks-history-and-tabs: idea: trigger search engine by prefix

Hi,

One of the best extension so far I use in Firefox.

There is a feature in the command palette from Vivaldi that would be nice to add in your extension.

It would need to add a property for search engine such as

  - name: Google
    urlPrefix: https://www.google.com/search?q=
    alias: g

When you want to run a search for a term in google you would type g this my search in google and press enter. The search is run in a new tab. Prefix should be detected as soon as you follow them by a space. Then the first result in the list would the name of the search engine stating that the following term will be searched with it. The next items in the list would still be the usual search results from the whole input.

An alias can be one letter to a much long word.

I’ve used this workflow for years and I assure this fast and effective.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 16 (11 by maintainers)

Commits related to this issue

Most upvoted comments

Maybe an assumption to clarify: When using a custom search engine alias, the extension will execute such a search basically instead of doing regular bookmark search etc. That means when your search term starts with the alias, then it will only offer that custom search engine. It’s like tag search, folder search in that regard.

Not entirely sure if that’s what you would expect. Maybe it’s better to display it as the upper most result, but still do regular search entries below.

I’ve changed the behavior so custom search engines are now not exclusive, just very highly scored.

image

Ok, I see. I’ve tried vimium as well and this is an extension on a quite different level 😃

Some of what you propose goes against some principles of this extension: I made it as a extension popup on purpose, because that means it will only load if you actively triggers it. It doesn’t inject itself into every website you visit. Although the feature and the user experience of it is really nice.

But that is independent from the feature of adding custom prefixes. This could work, but needs some thought how it does not clash with the already built in functionality