Javascript User Scripts
1 min read
last updated: 07/25/2023

API v.1
Variables
row | read/write | the current row or each row |
links | read | the links of the current row |
hasChildren | read | true/false if the row has children or not |
globals | read/write | global context can hold variables that can be used for each row |
Functions
log(variable) | display the contents of the variable to the output |
Globals example
The following code will increment “i” on each row but first it needs to be initialized
if(!globals.i)
globals.i = 1;
else
globals.i++;
log(globals.i)
will output
1
2
3
4
5