# 已发布站点和站点预览中的工具栏

在查看您的实时文档网站时，您可能会看到浏览器窗口底部出现一个工具栏。它可让您一键快速访问有用的选项：

* 打开编辑器以查看和编辑您网站的内容
* 在 GitBook 中打开您网站的设置
* 打开您网站的自定义设置
* 打开网站分析

{% hint style="warning" %}
该工具栏 **仅对已登录的 GitBook 组织成员可见**。不是您 GitBook 组织成员的网站访客 **将不会看到该工具栏**.
{% endhint %}

当您 [从 GitBook 应用打开您网站的预览 URL](/docs/documentation/zh/collaboration/change-requests.md#preview-a-change-request) 时，您还会看到一个略有不同版本的工具栏，这样您可以跳回应用中添加反馈或继续编辑。

#### 工具栏何时出现？

在以下情况下，您会看到该工具栏：

* 在登录 GitBook 的情况下查看您的实时网站
* 通过您的以下方式预览您网站的早期版本 [版本历史](/docs/documentation/zh/creating-content/version-control.md)
* 预览针对拟议更改的链接，例如在一个 [更改请求](/docs/documentation/zh/collaboration/change-requests.md) 在 GitBook 中创建的，或通过以下方式创建的拉取请求 [Git 同步](/docs/documentation/zh/getting-started/git-sync/github-pull-request-preview.md)

#### 为什么没有显示工具栏？

如果您已登录 GitBook 但仍然看不到工具栏，您的浏览器可能正在阻止第三方 Cookie。

该工具栏使用第三方 Cookie 来识别您在已发布文档网站或预览 URL 上的 GitBook 会话。如果您的浏览器阻止这些 Cookie，工具栏可能不会出现。

要显示工具栏，请在浏览器设置中为您的文档域名启用第三方 Cookie，然后重新加载页面。

{% hint style="info" %}
在隐私设置更严格的浏览器或扩展中，此问题更为常见。
{% endhint %}

#### 我可以隐藏工具栏吗？

可以。点击工具栏上的最后一个按钮后，您可以在不同选项之间进行选择，以更改工具栏的显示方式：

1. **最小化：** 这会将工具栏缩小为一个小圆点。要再次展开它，您只需点击它。
2. **关闭一个会话期间：** 在当前标签页中完全移除工具栏，直到您关闭该标签页。
3. **不再显示：** 隐藏工具栏并记住您的选择。您可以通过清除浏览器的本地存储来恢复工具栏。

<figure><img src="/files/f62ea4ee5ef4afad3eeaf1d4f057702dc6b1f7b1" alt=""><figcaption></figcaption></figure>


---

# 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://gitbook.com/docs/documentation/zh/zi-yuan/gitbook-ui/toolbar-on-published-sites-and-site-previews.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.
