Skip to content

Headless Mode

Headless mode allows you to start iClick without displaying the control panel, fully controlled through API.

Launch Method

Add the --headless parameter when starting iClick:

Windows

bash
# Method 1: Direct execution
iClick.exe --headless

# Method 2: Via command line
start "" "C:\Program Files\iClick\iClick.exe" --headless

Display Console

If you need to display the console interface in Headless mode, you can call the openDashboard API:

Interface Description

Interface Type: openDashboard

Parameters: None

Return Value:

javascript
true  // Returns true after successfully displaying the console

Usage Example

javascript
// Display console
await apiInvoke('openDashboard');

Cooperation: try.catch@foxmail.com