网站清理控制台上的脚本,我该如何停止它?
所以我正在开发一个 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在 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.