网站清理控制台上的脚本,我该如何停止它?

发布于 2025-01-15 01:40:28 字数 85 浏览 2 评论 0原文

所以我正在开发一个 chrome 扩展,我需要查看我的脚本在网站中记录了什么,但网站脚本之一正在清除控制台?是否有选项可以关闭脚本或删除其清除控制台的权限。

So I'm working on a chrome extension and I need to see what my script is logging in the site but one of the websites script is clearing the console? Is There an option to turn off the script or remove its permissions to clear console.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

友谊不毕业 2025-01-22 01:40:28

在 Google Chrome 中,如果单击控制台设置图标,则会出现一个名为“保留日志”的选项,尽管脚本调用了清除方法,但日志仍然存在。

In Google Chrome, if you click on Console settings icon there is an option called "Preserve log", and although the script calls the clear method, the log remains.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文