Skip to content

Feature request: label a profile visibly in the browser UI #17

Description

@ingepanch13011

A way to mark a running profile so users can tell which one they are looking at, from inside
the browser window itself. Either of these would do it, and both together would be better:

  • Custom text somewhere in the browser chrome — the toolbar strip, next to the profile pill, or
    anywhere persistently visible that is not page content.
  • A per-profile window and taskbar icon, settable at launch.

Why

Several profiles run at once on one desktop. They are identical browsers, with identical icons,
often on identical-looking pages. Telling them apart currently means clicking into a window and
inferring which account it is from what happens to be on screen, which is slow and easy to get
wrong — and getting it wrong means acting in the wrong account.

--window-name is the closest thing available and it does help, but only outside the browser: it
sets the window title, so profiles can be distinguished in the taskbar and in alt-tab. Once a window
is focused there is nothing on screen that says which profile it is. Windows also groups windows by
application, and every profile shares one icon, so even the taskbar view is weaker than it sounds.

A per-profile icon would fix the grouping problem, and a line of text in the chrome would fix the
focused-window problem. They solve different halves.

Shape

await launchPersistentContext(dir, {
  label: "profile 42 — some account",   // shown in the browser UI
  icon: "./icons/profile-42.png",       // window + taskbar icon
});

label is the more valuable of the two if only one is possible.

Notes

  • Colour would be a useful addition to label — a background tint on the strip makes profiles
    distinguishable at a glance without reading, which matters more than the text itself when a dozen
    windows are open.
  • The label only needs to be static for the lifetime of the window. Nothing here requires updating it
    at runtime, though that would be convenient.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions