Support widget

Share one part of a page with a support agent, or with an AI model, instead of your whole screen. Open the widget, click the panel you need help with, and only that element is sent. Private fields are blacked out, and there's no screen-sharing prompt.

Fernhill EnergyAccount 20-4471 · Sam Okafor

Your usage

412 kWh

so far in November, 18% more than October

Payment method

Your last payment of £86.20 was declined on 14 November.

Preferences

Meter reading due by 28 November.

Show the code sharing one panel, not the screen
  1. The app is ordinary markup. data-shareable marks what may be picked, data-private marks fields that must never leave.
  2. Turn the picked element into a surface with one call. el is the panel the user clicked. Input from the other side is refused unless the user ticked the box.
  3. Show the user exactly what leaves the page. surface.mirror is the redacted copy, an ordinary canvas.
  4. For a model: a JPEG of the copy and a list of its elements.
  5. For a person: share the surface in a room and give them the link.
  6. The agent's page.
  7. Inside attachSurface(): the element gets a shadow root with a drawable canvas and a slot, so its children are drawn without being moved.
  8. Inside: the shareable copy, with private fields blacked out.
  9. Inside: replaying approved input on the real elements.
  10. The whole library.

How it works

  1. Pick. Clicking a panel gives that element a shadow root containing a canvas and a slot. Its children stay where they are in the document and are painted through the canvas, which is what makes their pixels available. The panel isn't cloned.
  2. Redact. Each frame is copied to a second canvas, where anything marked data-private (and every password field) is covered. Only that copy leaves the page. The same rule withholds their values from the element list.
  3. Send pixels and a list of controls. A person gets video over WebRTC. A model gets a JPEG. Both also get a list of the region's controls, read from the DOM: role, name, value. With that list either of them can say "the Retry payment button" and the page knows which element is meant.
  4. Act with permission. The agent's pointer is drawn on the canvas for you to see. Clicks and typing from the agent are refused until you allow them. The model can only propose a click or a value; you press the button that makes it happen.

Live checks

ResultExperimentDetail

Findings