# uMatrix 和 NoScript 访问规则

{% hint style="success" %}
对应的[官方文档地址](https://bitwarden.com/help/article/blocker-access-rule/)
{% endhint %}

默认情况下，[uMatrix 扩展](https://github.com/gorhill/uMatrix)和 [NoScript 扩展](https://noscript.net/)可能会阻止 Bitwarden Firefox 扩展访问 Bitwarden API 服务器。如果不添加适当的规则将 Bitwarden API 服务器列入白名单，登录以及其他 API 操作将会失败。

## uMatrix

需要以下 [uMatrix 规则](https://github.com/gorhill/uMatrix/wiki/Rules-syntax)：

```
dc8ef5f6-eb0d-4c87-9e9f-0cf803f619e8.moz-extension-scheme bitwarden.com xhr allow
```

{% hint style="info" %}
上述规则中包含的 UUID（`dc8ef5f6-eb0d-4c87-9e9f-0cf803f619e8`）对于您的安装是不一样的。

访问 `about:debugging#/runtime/this-firefox` 页面（从 Firefox 的地址栏导航）以找到属于您的 Bitwarden 扩展的 UUID。
{% endhint %}

## NoScript

需要在 NoScript 中将以下域名列入白名单： `bitwarden.com`


---

# 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://help.ppgg.in/docs/password-manager/more/troubleshooting/umatrix-and-noscript-access-rules.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.
