Search…
runOnTab
runOnTab supports opening new windows, automating existing tabs, and sending input parameters. The 4th parameter is a json which is available in the "options" variable in the new tab.
runOnTab("WEBSITE","SCRIPT NAME",TIMEOUT ,{id:-1, newWindow:false, data: "test"})
Parameters:
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 "options" variable in the new tab.
To access the passed in variable(s) use window.options e.g: alert(window.options)
Copy link