Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Clear the console in Firefox

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");
like image 463
Michael Schwartz Avatar asked Sep 18 '14 23:09

Michael Schwartz


1 Answers

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

like image 82
Todd Mark Avatar answered Sep 22 '22 22:09

Todd Mark