Javascript:清除控制台[Firefox] [英] Javascript: Clear Console [Firefox]
问题描述
在Chrome中,我可以使用...
< pre $
console.clear()
适用于Safari或Opera)
然而,我一直无法找到Firefox的解决方案。
这种类型的API还没有可用?
是否有一个解决方法,不需要???
$ b $ $ p $ console.log( \\\
\\\
\\\
\\\
\\\
\\\
\\\
\\\
\\\
\\\
\\\
\\\
\\\
\\\
\\\
\\\
\ n\\\
\\\
\\\
\\\
\\\
\\\
\\\
\\\
);
非常感谢您的帮助。
在firefox中,您可以输入 clear()
。这是很好的做法。
这是一个指向Javascript控制台命令的开发者网站的链接: http://msdn.microsoft.com/en-us/library/windows/apps/hh696634.aspx
Is there a way to clear the console in Firefox?
In Chrome I can use...
console.clear()
(Not sure if it works for Safari or Opera though)
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");
Any help is greatly appreciated.
In firefox you can just input clear()
. It well be done.
Here's a link to the Developer's website for Javascript console commands: http://msdn.microsoft.com/en-us/library/windows/apps/hh696634.aspx
这篇关于Javascript:清除控制台[Firefox]的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!