Skip to main content

Blankscreen configuration

FieldTypeDefault ValueDescription
enabledbooleantrueMaster 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.minnumber (milliseconds)3000The lower limit of the scheduling protection period in auto mode, during which Observer triggers are invalid.
wait.maxnumber (milliseconds)6000Maximum waiting time for secondary detection (fixed waiting duration in fixed mode)
rootSelectorstringNone (whole viewport)CSS selector for the detection area
containerElementsstring[]['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
minPointsnumber1The 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.