在Firefox中清除控制台 [英] Clear the console in Firefox
问题描述
是否可以在Firefox中清除控制台?
Is there a way to clear the console in Firefox?
在Chrome浏览器中,我可以使用...
In Chrome I can use...
console.clear()
(虽然不确定它是否适用于Safari或Opera)
(Not sure if it works for Safari or Opera though)
但是我找不到Firefox的解决方案.这种类型的API尚不可用吗?有不需要的解决方法吗?
However I haven't been able to find a solution for Firefox. Is this type of API not yet available? Is there a workaround that doesn't require?
console.log("\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n");
推荐答案
在Firefox中,您只需输入clear()
.做得好.
In firefox you can just input clear()
. It well be done.
以下是指向Javascript控制台命令的开发人员网站的链接: http://msdn.microsoft.com/zh-CN/library/windows/apps/hh696634.aspx
Here's a link to the Developer's website for Javascript console commands: http://msdn.microsoft.com/en-us/library/windows/apps/hh696634.aspx
这篇关于在Firefox中清除控制台的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!