76
edits
Line 140: | Line 140: | ||
| None | | None | ||
| None | | None | ||
|} | |||
'''Communication with Idle API''' | |||
{| class="wikitable" | |||
|- | |||
! Direction | |||
! Message | |||
! Data | |||
! Notes | |||
|- | |||
| ''In:'' | |||
| Register with the Idle API for user 'idle' and user 'active' status. | |||
| Time in seconds after which to recieve an idle notification. Callback function when the user is idle for the requested time. Callback function when the user is active. | |||
| Web pages can use the idle state knowledge for malicious purposes. A fuzz time has been added to both the idle and active nofications to prevent this so this. | |||
|- | |||
| ''Out:'' | |||
| Idle callback function. Active callback function. | |||
| Data, knowledge that the user is currently idle or active. | |||
| A fuzz time has been added to each notification to prevent web pages from using the user state knowledge in a malicious manner. | |||
|} | |} | ||
edits