> For the complete documentation index, see [llms.txt](https://docs.datarhei.com/restreamer/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.datarhei.com/restreamer/knowledge-base/manual/publication-website/code-injection.md).

# Code injection

![Fig. 1: Code injection for the publication website.](/files/FY0V5O0NHMirQzlkbbzI)

![Fig. 2: Code injection with code examples.](/files/tkjAuIg05pzVKagasxKi)

### 2 Extend header

Insert code in the header style. Code at the end of the body, for example, to use external scripts.

```
<link rel="stylesheet" src="something"/>
```

### 3 Extend channel list

Insert code in the channel list.

```
<link rel="stylesheet" src="something"/>
```

### 4 Extend content

Insert code between the description of the live stream and the author's name. An example, for a comment widget or social media widget.

```
<link rel="stylesheet" src="something"/>
```

### 5 Extend footer

Insert code into the header style.

```
<link rel="stylesheet" src="something"/>
```

### 6 Open player site

Opens the publication website in a browser tab.

### 7 Save

Save to save the settings.

## Learn more

{% content-ref url="/pages/-MYd\_eWFK56LZQkA-iAN" %}
[User Guides](/restreamer/knowledge-base/user-guides.md)
{% endcontent-ref %}
