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

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

<figure><img src="/files/Zo5LYmihGq4J15Kz0mkZ" 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>'
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://kb.pvhostvm.ru/hostvm-vdi/troubleshooting-guide/faq/cookies-alert.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
