floccus icon indicating copy to clipboard operation
floccus copied to clipboard

Sync bookmark quick search keywords from Firefox

Open st3iny opened this issue 1 year ago • 3 comments

Describe the feature you'd like to request

In Firefox, a user might create keywords for search fields/engines by right-clicking them. This works on search bars of almost all sites including Google, GitHub, Amazon, Wikipedia etc. Then, a user may type the keyword in the address bar followed by a search term and will automatically be directed to the search result page as if he or she used the search bar directly on the corresponding website.

Let me make an example:

  1. Go to youtube.com
  2. Create a keyword bookmark of the main search at the top and assign the keyword @yt.
  3. Create a new tab and type @yt rickroll and hit enter.
  4. You are navigated to https://www.youtube.com/results?search_query=rickroll skipping the landing page of YouTube entirely.

Internally, this works by creating a bookmark with a special keyword in Firefox. A user may assign or change the keyword at any time by editing said bookmark. So essentially, those quick search actions are just regular bookmarks with a special keyword property.

It would be super awesome if Floccus could sync those keywords across multiple devices. Although, I'm not sure if it is even possible to somehow access those keywords from an extension.

PS: I'm sorry if this is a duplicate. I tried to search for a similar request without luck.

Describe the solution you'd like

Sync keywords of Firefox bookmarks.

Describe alternatives you've considered

Not sync the keywords via Floccus. Instead, set them manually on each device.

st3iny avatar Jul 15 '24 17:07 st3iny

Hello :wave:

Thank you for taking the time to open this issue with floccus. I know it's frustrating when software causes problems. You have made the right choice to come here and open an issue to make sure your problem gets looked at and if possible solved. I'm Marcel and I created floccus and have been maintaining it ever since. I currently work for Nextcloud which leaves me with less time for side projects like this one than I used to have. I still try to answer all issues and if possible fix all bugs here, but it sometimes takes a while until I get to it. Until then, please be patient. Note also that GitHub is a place where people meet to make software better together. Nobody here is under any obligation to help you, solve your problems or deliver on any expectations or demands you may have, but if enough people come together we can collaborate to make this software better. For everyone. Thus, if you can, you could also have a look at other issues to see whether you can help other people with your knowledge and experience. If you have coding experience it would also be awesome if you could step up to dive into the code and try to fix the odd bug yourself. Everyone will be thankful for extra helping hands! One last word: If you feel, at any point, like you need to vent, this is not the place for it; you can go to the forum, to twitter or somewhere else. But this is a technical issue tracker, so please make sure to focus on the tech and keep your opinions to yourself.

I look forward to working with you on this issue Cheers :blue_heart:

github-actions[bot] avatar Jul 15 '24 17:07 github-actions[bot]

Keywords for those searching issues for this:

  • Firefox: Search Shortcuts
  • Chrome: Search Engines, Custom Search Engines, Site Search

huyz avatar Oct 07 '24 05:10 huyz

Good idea! I think this is not possible as firefox does not expose this via their APIs. :(

marcelklehr avatar Oct 07 '24 08:10 marcelklehr