> For the complete documentation index, see [llms.txt](https://kb.pvhostvm.ru/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kb.pvhostvm.ru/hostvm-vdi/troubleshooting-guide/faq/cookies-alert.md).

# Скрытие уведомления об использовании cookies

В случае, когда необходимо скрыть всплывающую панель с уведомлением о использовании cookie

<figure><img src="https://raw.githubusercontent.com/hostco-ru/hostvm/master/.gitbook/assets/cookies-alert.png" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
Начиная с версии брокера `3.6 номер сборки 20250314` настройка отображения уведомления осуществляется через [соответствующие параметры конфигурации системы](/hostvm-vdi/hostvm-vdi-admin-guide/configuration.md#cookies).
{% endhint %}

Для предыдущих версий необходимо выполнить следующие действия.

На каждом брокере, где необходимо внести изменения:

1\. Сделать резервную копию файла ***scripts.js***

```
cp /var/server/static/modern/scripts.js /var/server/static/modern/scripts_bkp.js
```

2\. Отредактировать файл ***scripts.js***, заменив

```
window:'<div role="dialog" aria-live="polite" aria-label="cookieconsent" aria-describedby="cookieconsent:desc" class="cc-window {{classes}}">\x3c!--googleoff: all--\x3e{{children}}\x3c!--googleon: all--\x3e </div> '
```

следующим содержимым

```
window:'<div> </div>'
```
