X
Tap here to go to the mobile version of the site.

Support Forum

How to delete WebConsole history?

PK
Posted

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
Quote

Additional System Details

Application

  • User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:69.0) Gecko/20100101 Firefox/69.0

More Information

cor-el
  • Top 10 Contributor
  • Moderator
17571 solutions 158915 answers

Chosen Solution

You can use this command in the Web Console:

  • clearHistory()

See also:

(added 'en' locale)

You can use this command in the Web Console: * clearHistory() See also: *https://developer.mozilla.org/en/Tools/Web_Console/The_command_line_interpreter#Helper_commands ''(added 'en' locale)''

Modified by cor-el

Was this helpful to you? 1
Quote

Question owner

@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

@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

Was this helpful to you?
Quote
cor-el
  • Top 10 Contributor
  • Moderator
17571 solutions 158915 answers

Helpful Reply

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.

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.
Was this helpful to you? 1
Quote
Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.