evaluate
Run a JavaScript expression or arrow function in the current page and return the result as JSON for in-page data extraction or checks; output is treated as untrusted page content.
Instructions
Run a JS expression or arrow function in the page; result returned as JSON (wrapped as untrusted page content). Disabled when CLOAK_ALLOW_EVAL=0.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |