> ## Documentation Index
> Fetch the complete documentation index at: https://docs.theanimecommunity.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Time Stamps

When a time stamp is clicked in a comment, the comment section iframe will post a message to the parent window.

The message will have the type "TAC-TIMESTAMP-CLICK" and a "time" attribute with an integer value representing the total number of seconds.

A listener such as the one below can be used to handle the received message.

```javascript theme={null}
window.addEventListener('message', function(event) {
    console.log(event.data);
});
```

The following is what is printed.

```javascript theme={null}
{
  "type": "TAC-TIMESTAMP-CLICK",
  "time": 600
}
```
