Skip to content

Preferences

Scope: the settings that belong to one browser, not to the instance — what they are, where they actually live (cookies; the lab read them back), and how they interact with the admin's settings file.

No accounts, so: cookies

SearXNG has no users. When you open the preferences page, change something, and save, the server hands the choices back to your browser as cookies and keeps no copy. The lab changed exactly one thing — search language, to German — and transcript t08 shows the result: 22 cookies, one per preference, named after the preference itself: language, locale, safesearch, theme, autocomplete, enabled_engines, disabled_engines, enabled_plugins, disabled_plugins, image_proxy, doi_resolver, favicon_resolver, and friends. The language cookie's value was, in plain sight, de.

Persistence was checked the only honest way: fetch the preferences page again with the cookies and the language menu renders de already selected; fetch it fresh and it doesn't. The server remembered nothing. Your browser carried the choice back.

Consequences worth understanding:

  • Per browser, not per person. Two people sharing one browser profile share one set of preferences. Two browsers on one machine are two strangers.
  • Clearing cookies resets everything. There is nothing to recover and nothing to back up — the flip side of there being nothing to leak.
  • A preference travels badly. The preferences page also offers the choices encoded in a URL you can bookmark or carry to another browser — the grown-up way to move a tuned setup between your own machines.

What can be preferred

The page is long; the groups that matter:

  • Search: language, safe search level, autocomplete source, whether searches open in the same tab, whether the query shows in the page title.
  • Engines and plugins: the engines table — every engine, its shortcut, and an Allow column. This writes the enabled_engines / disabled_engines cookies and is the per-browser version of the admin's engine switches in chapter 7. Plugins (calculator, unit converter, and the like) have the same treatment.
  • Interface: theme, interface language, hotkeys, result formatting.
  • Resolvers and proxies: which DOI resolver links use, which favicon service, and image proxy — whether result images load through the instance instead of straight from the result sites (a real privacy knob; chapter 9).

Two layers, one rule

Chapter 7's settings file is the instance layer: the admin's defaults for everyone. This chapter's cookies are the browser layer: your overrides for you. Where both speak — language is the clean example, de in the file (t09) and de in the cookie (t08) — the browser's word wins for that browser, and everyone else still hears the file. Neither layer needs the other's permission, and neither can lock the other out: a household admin cannot use settings.yml to force safe search on a determined teenager's browser, only to default it. SearXNG is a tool for cooperating adults, and its preferences say so.