
How to delete WebConsole history?
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 👍 1All Replies (3)
Chosen Solution
You can use this command in the Web Console:
- clearHistory()
See also:
(added 'en' locale)
Modified
@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
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.