// SPDX-License-Identifier: CC-BY-SA-4.0 // SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell = Holy f$£%ing s$£%, get the f$£% out of the way :toc: :toc-placement: preamble

image:https://img.shields.io/badge/status-pre–alpha-orange[Status: pre-alpha] image:https://img.shields.io/badge/Code-MPL–2.0-blue.svg?logo=mozilla[Code licence: MPL-2.0,link=“https://opensource.org/licenses/MPL-2.0”] image:https://img.shields.io/badge/Docs-CC–BY–SA–4.0-blue.svg?logo=creativecommons[Docs licence: CC-BY-SA-4.0,link=“https://creativecommons.org/licenses/by-sa/4.0/”] image:https://img.shields.io/badge/RSR-Rhodium_Standard-9C27B0[Rhodium Standard Repository,link=“https://github.com/hyperpolymath/rhodium-standard-repositories”] image:https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/hyperpolymath/hfsgtfoomw/governance-badges/badges/k9.json[K9 conformance,link=“https://github.com/hyperpolymath/hfsgtfoomw/actions/workflows/dogfood-gate.yml”] image:https://api.scorecard.dev/projects/github.com/hyperpolymath/hfsgtfoomw/badge[OpenSSF Scorecard,link=“https://scorecard.dev/viewer/?uri=github.com/hyperpolymath/hfsgtfoomw”] // The OpenSSF Best Practices badge is deliberately absent: it needs a numeric // project id from bestpractices.dev, which this repository has not registered.

The thing you are keeping an eye on should get out of the way – by itself.

Picture-in-picture solved one problem and created another. You pinned the call, the build log, the dashboard, the video – and now it sits exactly where the button is. So you drag it. Then it is over the thing you need to read. So you drag it again. Then the page scrolls, the layout changes, and it is in front of the next button.

This project is about that second problem: a floating window that knows it is in the way, and moves itself, dissolves, or disappears for you – and comes back when you want it, without you hunting for it.

== The three ways it gets in the way

These are the cases the design is built around. If a feature does not serve one of them, it is not in scope.

[cols=“1,3”,options=“header”] |=== | Case | What happens today

A. On and off, and settings
The control is buried in a menu, or it is a browser button you have to find before you can make it stop. Turning it on or off has to be one action, available from the toolbar, a keystroke, or the window itself.
B. It covers the thing you need
You are typing into a field, or copying text, and the floating window is over it. You move the window, then lose where the field was. Or the window is semi-transparent over text you cannot read anyway.
C. It chases you down the page
The GitHub review flow, in full: pin something, scroll to approve, move it off the approve button, get to the review comment box and it is over the text, move it and the CI status is hidden, move it and it is back over commit. Every move is a decision you did not want to make.

|===

Case C is the one nobody else solves – every picture-in-picture implementation makes you the collision-avoidance system. That is the whole product.

== What it does

Behaviour is described in full in link:docs/proposals/INTERACTION-MODEL.adoc[the interaction model]; the short version:

[cols=“1,3”,options=“header”] |=== | Behaviour | What you get

Nudge
When the pointer, the caret or the focused field approaches, the window slides clear of it – toward the nearest free edge, not to a fixed corner.
Chip
Hover it and it shrinks to a small tab for a settable moment, then restores on its own, or on click. Useful when you need the space for a second.
Fling
Throw it to another part of the screen (or another monitor). It settles, stays out of the way, and comes back when clicked or when a timer expires.
Banish
Throw it off-screen entirely for a set period. A thin sliver remains at the edge so it can be brought back before the timer.
Ghost
Ultra-transparent, either always or only while the pointer is near, so you can read what is underneath. Down to invisible, with the audio still running.
Click-through
While ghosted, clicks pass through to the page underneath. Hold a modifier (or tap a key) to grab the window itself again. This is what makes “read through it, then click the thing behind it” work.
One action, always
On, off and every setting are reachable from the toolbar, a single keystroke, and the window’s own handle. No menu archaeology.
Keyboard-first
Every behaviour above has a keyboard equivalent. Hover is a convenience, never the only way in – otherwise it is unusable without a mouse, and unreachable for anyone with a tremor.

|===

== Two things, one idea

The behaviours split across two delivery vehicles because browsers and operating systems allow different amounts of control. Details, and the honest limits of each, are in link:docs/proposals/INTERACTION-MODEL.adoc#mechanisms[the mechanisms section].

Both are written in AffineScript, and the app is built on link:https://github.com/metadatastician/gossamer[gossamer], the estate’s resource-safe desktop shell. Why that is the right split, what gossamer still needs, and what AffineScript’s userscript target must add are recorded in link:docs/decisions/0004-implementation-language.adoc[ADR-0004].

A browser cannot move, fade or click-through its own picture-in-picture window: that window belongs to the browser and the OS. So the choreography has to live in one of the two vehicles above. Saying that plainly is more useful than pretending a toggle can do it.

== Status

[IMPORTANT]

Pre-alpha. Nothing is usable yet. No userscript has been published, no app has been built, and this repository is still mostly scaffolding: it was minted from the RSR template on 2026-10-31 and the identity fields are partly unassigned. The one thing that is real is the specification work below, because that is where the design risk is. ====

What exists today:

== Getting involved

The most useful contribution right now is a collision report: which site, which page, which control the floating window covered, and what you had to do about it. That is the raw material the avoidance rules are built from. Open an issue with the URL pattern and the element you were reaching for.

== Licence

Code, configuration and scripts are link:LICENSE.adoc[Mozilla Public License 2.0] (MPL-2.0); prose documentation is CC-BY-SA-4.0. Both texts live in LICENSES/, and per-file SPDX-License-Identifier headers are authoritative.