Choose the colours a Sailfish browser uses for web pages — and how insistently. Gecko can override the colours a page asks for. That is the only way to get a dark page on a site that offers no dark mode, and this package makes the setting reachable: a page under **Settings → Look and feel → Browser colours**, plus a `browser-darkmode` command. Works with the stock browser and with the ESR 140 and ESR 153 community builds. Whichever of them have been started at least once are listed, each with its own mode and its own colours. **Three modes** - **Never** — pages decide, as they normally would - **Where the page sets none** — your colours fill in the gaps - **Always** — page colours are ignored everywhere *Always* is the setting that gives you a dark page on any site. It is also the one that makes some sites look wrong, which is why it is a choice rather than a default. **Colours** Five are configurable: page background, text, links, visited links and focus background. Tap one to type a hex value or pick from the Silica palette — the palette has no black, white or greys, so those go in the text field. Defaults are white text on black with yellow links. **What it touches** Only the browser's own `user.js`, between two marker comments. That file is read at every start and never rewritten by the browser, so nothing installed by another package is modified, and removing this one leaves nothing behind beyond that block. Restart the browser for a change to take effect. **Command line** browser-darkmode [profile] [never|missing|always|status|apply] browser-darkmode detect `profile` is `browser`, `browser-next` or `browser-next153`, and defaults to the newest one installed. Sources: https://github.com/smatkovi/sailfish-browser-darkmode
| Attachment | Size | Date |
|---|---|---|
| 15.08 KB | 24/08/2026 - 23:07 |
- "detect" died with a syntax error: /bin/bash on the device can be busybox ash, which has no arrays. Rewritten in plain sh
Recent comments