> For the complete documentation index, see [llms.txt](https://growingio.gitbook.io/v3/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://growingio.gitbook.io/v3/developer-manual/sdkintegrated/web-js-sdk/faq/faq-2.md).

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

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

如果出于某些原因必须要复写 window 对象，建议下载圈选插件进行圈选。 [Web端数据定义（Web圈选）](broken://pages/-M34BrZnUnIL4lKMNQG-#cha-jian-quan-xuan)
