librewolf/settings
10
29
Fork
You've already forked settings
31

Added/fixed search engine icons and added support for search suggestions #101

Merged
alyx161 merged 2 commits from :search-engines-qol into master 2026年01月03日 01:51:37 +01:00
Contributor
Copy link

Until LW ships its own search-config-v2.json, this is a QoL change for search engines:

  • DuckDuckGo Lite used a slightly different (and blurry) icon compared to the one used by ddg@search.mozilla.org in tippytop, which had caused inconsistency in UI. I fetched browser/components/topsites/content/tippytop/favicons/duckduckgo-com.ico and encoded it as the icon for DuckDuckGo Lite.
  • DuckDuckGo Lite, SearXNG, and MetaGer did not show search suggestions even when browser.search.suggest.enabled is set to true. This should fix that. Closes librewolf/issues#2424.
  • The p in Startpage should not be capitalized.
  • The Startpage icon was slightly bent (and I was slightly bothered). Now it is no longer.
  • Use a transparent icon for Mojeek.
  • Use the official icon for MetaGer.
  • Added icon for SearXNG.

Note:

  • I have ensured that each engine is shipped with a single .ico file containing two resolutions, as suggested here.
  • Command for converting icons into the correct format (with two sizes): magick input.png -define icon:auto-resize=16,32 -compress zip output.ico. I used GIMP to compress them further.
  • SuggestURLTemplate for MetaGer was extracted from the firefoxextension@metager.de extension.
  • Description for search engines were derived from the first sentence of <meta name="description"> (aside from DuckDuckGo Lite, which does not have the tag).
  • Mojeek does not provide search suggestions.
Until LW ships its own search-config-v2.json, this is a QoL change for search engines: - DuckDuckGo Lite used a slightly different (and blurry) icon compared to the one used by ddg@search.mozilla.org in tippytop, which had caused inconsistency in UI. I fetched browser/components/topsites/content/tippytop/favicons/duckduckgo-com.ico and encoded it as the icon for DuckDuckGo Lite. - DuckDuckGo Lite, SearXNG, and MetaGer did not show search suggestions even when browser.search.suggest.enabled is set to true. This should fix that. Closes librewolf/issues#2424. - The `p` in Startpage should not be capitalized. - The Startpage icon was slightly bent (and I was slightly bothered). Now it is no longer. - Use a transparent icon for Mojeek. - Use the official icon for MetaGer. - Added icon for SearXNG. **Note:** - I have ensured that each engine is shipped with a single .ico file containing two resolutions, as suggested [here](https://github.com/mozilla-firefox/firefox/blob/6a0626aaa09a87200258dbf6161fde44722c763e/browser/components/search/docs/application-search-engines.rst#icon-requirements). - Command for converting icons into the correct format (with two sizes): `magick input.png -define icon:auto-resize=16,32 -compress zip output.ico`. I used GIMP to compress them further. - SuggestURLTemplate for MetaGer was extracted from the firefoxextension@metager.de extension. - Description for search engines were derived from the first sentence of `<meta name="description">` (aside from DuckDuckGo Lite, which does not have the tag). - Mojeek does not provide search suggestions.
Until LW ships its own search-config-v2.json, this is a QoL change for search engines:
- DuckDuckGo Lite used a slightly different (and blurry) icon compared to the one used by ddg@search.mozilla.org in tippytop, which had caused inconsistency in UI. I fetched browser/components/topsites/content/tippytop/favicons/duckduckgo-com.ico and encoded it as the icon for DuckDuckGo Lite.
- Migrate to another SearXNG instance. I picked the fastest instance with the highest up-time last year that supports search suggestions from the list of recommendations by unixfox, the maintainer of searx.be. Closes librewolf/issues#2508.
- DuckDuckGo Lite, SearXNG, and MetaGer did not show search suggestions even when browser.search.suggest.enabled is set to true. This should fix that. Closes librewolf/issues#2424.
- The `p` in Startpage should not be capitalized.
- The Startpage icon was slightly bent (and I was slightly bothered). Now it is no longer.
- Use a transparent icon for Mojeek.
- Use the official icon for MetaGer.
- Added icon for SearXNG.
Note:
- I have ensured that each engine is shipped with a single .ico file containing two resolutions, as suggested [here](6a0626aaa0/browser/components/search/docs/application-search-engines.rst (icon-requirements)).
- Command for converting icons into the correct format (with two sizes): `magick input.png -define icon:auto-resize=16,32 -compress zip output.ico`. I used GIMP to compress them further.
- SuggestURLTemplate for MetaGer was extracted from the firefoxextension@metager.de extension.
- Description for search engines were derived from the first sentence of <meta name="description"> (aside from DuckDuckGo Lite, which does not have the tag).
- Mojeek does not provide search suggestions.

I don't think its a good idea to pick just any random SearXNG instance.
That is kinda the reason why the issue was still open. If we want to include one in LW it should be an instance that is reliable, trustworthy and functional.
searx.be was matching this pretty easily since it was run by one of the core maintainers.

Public Sear instances currently struggle a lot. Many of the important search backends are either complete dysfunctional (Google, Bing) or so hard rate limited that they are extremely unreliable (Brave, Startpage) since many SearXNG instances facing a lot of (SEO?) bots, triggering those rate limits.

The paulgo.io for example is using Google and Bing by default, both broken backends, and therefore its returning just garbage.

image

Because of this, I would recommend postponing changes to the included Sear instance, until they pushed the necessary updates, and we can make a decision which instance to include.

I don't think its a good idea to pick just any random SearXNG instance. That is kinda the reason why the issue was still open. If we want to include one in LW it should be an instance that is reliable, trustworthy and functional. searx.be was matching this pretty easily since it was run by one of the core maintainers. Public Sear instances currently struggle a lot. Many of the important search backends are either complete dysfunctional (Google, Bing) or so hard rate limited that they are extremely unreliable (Brave, Startpage) since many SearXNG instances facing a lot of (SEO?) bots, triggering those rate limits. The paulgo.io for example is using Google and Bing by default, both broken backends, and therefore its returning just garbage. ![image](/attachments/94dce114-7846-4d85-a794-5862586a4690) Because of this, I would recommend postponing changes to the included Sear instance, until they pushed the necessary updates, and we can make a decision which instance to include.
167 KiB
ekhh changed title from (削除) Added/fixed search engine icons, switched SearXNG instance, added support for search suggestions (削除ここまで) to Added/fixed search engine icons and added support for search suggestions 2026年01月03日 00:35:02 +01:00
Author
Contributor
Copy link

@alyx161 wrote in #101 (comment):

I don't think its a good idea to pick just any random SearXNG instance. That is kinda the reason why the issue was still open. If we want to include one in LW it should be an instance that is reliable, trustworthy and functional. searx.be was matching this pretty easily since it was run by one of the core maintainers.

Noted. I have changed it back for now. Hopefully someone more knowledgeable on the matter will be able to pick a better instance.

@alyx161 wrote in https://codeberg.org/librewolf/settings/pulls/101#issuecomment-9468728: > I don't think its a good idea to pick just any random SearXNG instance. That is kinda the reason why the issue was still open. If we want to include one in LW it should be an instance that is reliable, trustworthy and functional. searx.be was matching this pretty easily since it was run by one of the core maintainers. Noted. I have changed it back for now. Hopefully someone more knowledgeable on the matter will be able to pick a better instance.
Sign in to join this conversation.
No reviewers
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
librewolf/settings!101
Reference in a new issue
librewolf/settings
No description provided.
Delete branch ":search-engines-qol"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?