# Code injection

![Fig. 1: Code injection for the publication website.](https://304400748-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS3qj4cW170AMeE1ckj-1703796690%2Fuploads%2FafusuahWjH2b65AOI7xi%2Finjektion-main.png?alt=media\&token=da91320d-5861-48f5-8155-58bedacc9111)

![Fig. 2: Code injection with code examples.](https://304400748-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS3qj4cW170AMeE1ckj-1703796690%2Fuploads%2FBUUgUbZYbQkf1UvqL6x7%2Finjektion-code-ex.png?alt=media\&token=c02f9590-48d9-4502-9bd1-8ec7bc69c475)

### 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="../../user-guides" %}
[user-guides](https://docs.datarhei.com/restreamer/knowledge-base/user-guides)
{% endcontent-ref %}
