session_preload
Set preload scripts that run before every page's native scripts, intercepting fetch/XHR to bypass early anti-bot signing. Configure per session before navigation.
Instructions
Replace the session's document-start preload group (empty array clears). Sources run before each new document's own scripts — including inline tags — which is the only hook that beats pages whose signing layer captures window.fetch/XHR natives at parse time (xhs's inline jsvmp). Set before the first navigate; applies to every navigation from then on.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scripts | No | Full JS sources, in order. Sources run before each new document's own scripts (including inline ones) — the only hook that beats pages whose signing layer captures window.fetch/XHR natives at parse time. `[]` clears the group. Set before the session's first navigate and it applies to every navigation from then on. | |
| session_id | Yes | Session ID |