Linking Automations

runOnTab("WEBSITE","SCRIPT NAME",TIMEOUT ,{id:-1, newWindow:false, data: "test"})


WEBSITE: The target website

SCRIPT NAME: The name of a script that must exist in your Cheat Layer script list.

TIMEOUT: How long to allow the new tab to stay open. Default is 30 seconds

Options Json: Includes the ID, whether to open a new window, and any extra input parameters.

runOnTab supports opening new windows, automating existing tabs, and sending input parameters. The 4th parameter is a json which is available in the "window.options" variable in the new tab.

Last updated