Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How to delete WebConsole history?

  • 3 replies
  • 0 have this problem
  • 302 views
  • Last reply by cor-el

more options

I have some input history in the WebConsole (DevTools) that I want to be deleted. The usual Ctrl-Shift-Delete "deletion" form does not help here, as the history of the WebConsole input is still there. What could I do?

I have some input history in the WebConsole (DevTools) that I want to be deleted. The usual Ctrl-Shift-Delete "deletion" form does not help here, as the history of the WebConsole input is still there. What could I do?

Chosen solution

You can use this command in the Web Console:

  • clearHistory()

See also:

(added 'en' locale)

Read this answer in context 👍 1

All Replies (3)

more options

Chosen Solution

You can use this command in the Web Console:

  • clearHistory()

See also:

(added 'en' locale)

Modified by cor-el

more options

@cor-el Thank you! Your search kungfu is better then mine.

The link in "see also" is broken for me, this works: https://developer.mozilla.org/en/docs/Tools/Web_Console#Helper_commands

Modified by PK

more options

The automatic redirect on MDN doesn't always work properly if the article isn't supported in your detected locale (I've added /en/ to the my above post to force a locale).

I remembered that had this info in my docs, so I merely needed to do a search.