Blankscreen configuration
| Field | Type | Default Value | Description |
|---|---|---|---|
enabled | boolean | true | Master switch |
detectionMode | 'normal' | 'skeleton' | 'normal' | Detection mode. normal indicates normal detection; skeleton indicates skeleton-screen fingerprint comparison mode |
wait.mode | 'auto' | 'fixed' | 'auto' | Scheduling mode. auto uses Observer for dynamic scheduling; fixed uses a fixed delay |
wait.min | number (milliseconds) | 3000 | The lower limit of the scheduling protection period in auto mode, during which Observer triggers are invalid. |
wait.max | number (milliseconds) | 6000 | Maximum waiting time for secondary detection (fixed waiting duration in fixed mode) |
rootSelector | string | None (whole viewport) | CSS selector for the detection area |
containerElements | string[] | ['html', 'body', '#app', '#root'] | Considered as a list of selectors for container elements. Falls back to default values when an empty array or non-array is passed in |
minPoints | number | 1 | The minimum number of sampling points required to be considered non-blank |
Configuration Note: The configuration template supports nested parsing. wait.mode is validated using enumeration, and wait.min / wait.max are validated using positive numbers. Users only need to pass in the fields they want to overwrite, and the default values will be retained for the unpassed fields.