Interaction
JavaScript Code
Execute custom JavaScript code in a webpage
Block type: javascript-code

Inputs
| Name | Type | Default | Description |
|---|---|---|---|
disableBlock | boolean | false | Disable this block |
description | string | — | Node description |
coderequired | code | console.log("Hello world!");
automaNextBlock() | JavaScript code to execute |
context | select | website | Execution context Example: websitebackground |
timeout | number | 20000 | Script timeout (ms) |
runBeforeLoad | boolean | false | Run before page load |
everyNewTab | boolean | false | Execute on every new tab |
preloadScripts | array | [] | Scripts to preload |
Outputs
resultanyCode execution result