# 为什么我的网站不能复写 window 对象？

可视化圈选事件功能使用 HTML5 的 postMessage 技术完成跨域通信。如果window\.top、window\.parent、window\.name被复写，将使通信中断，无法圈选。

如果出于某些原因你不能改变这一设置，建议下载圈选插件进行圈选。 [Web端数据定义（Web圈选）](/docs/product-manual/datacenter/circle/web.md#cha-jian-quan-xuan)


---

# 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://growingio.gitbook.io/docs/developer-manual/sdkintegrated/web-js-sdk/faq/faq-2.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.
