ssborbis / ContextSearch-web-ext

Search engine manager for modern browsers
315 stars 35 forks source link

Add auto-detect web icon support while add a new search engine. #676

Open 0400H opened 5 months ago

0400H commented 5 months ago

It is at least 3 steps currently, while user add a new search engine:

  1. Construct the new search url and add it to the new engine page.
  2. Construct the new web icon url and add it to the new engine page.
  3. click save.

Would u like to reduce step 2 from this workflow?

Usually the website icon will be under a default address: {web_url}/favicon.ico

When the user click save, is it possible to detect whether the web icon exists in the default address and then fill the icon address to the new engine page?

ssborbis commented 5 months ago

Typically, you'd add new engines by visiting the host site and right-clicking the search bar -> Add to ContextSearch, or via mycroftproject.com and using the ContextSearch icons shown. But, in the cases where they are manually added, I can see about autofilling the favicon. It won't always work, but it's doable.

Is there a particular reason you're adding engines manually? I hope users are aware of the other ways to add engines.

0400H commented 5 months ago

Typically, you'd add new engines by visiting the host site and right-clicking the search bar -> Add to ContextSearch, or via mycroftproject.com and using the ContextSearch icons shown. But, in the cases where they are manually added, I can see about autofilling the favicon. It won't always work, but it's doable.

Is there a particular reason you're adding engines manually? I hope users are aware of the other ways to add engines.

search bar -> Add to ContextSearch is not work for me, and adding it via the setting page makes it easy to group and adjust the order.

ssborbis commented 5 months ago

search bar -> Add to ContextSearch is not work for me

Hmm...not at all? Which browser and website? It won't work everywhere, but it should more places than not.

I've made the changes locally. They should be in the next release.