How to remove all recent console command

前端 未结 10 1095
青春惊慌失措
青春惊慌失措 2020-11-27 13:00

to using commands that were previously submitted by bringing focus to the console and pressing up/down key on it. I want to remove all of the recent command. I\'ve tried thi

相关标签:
10条回答
  • 2020-11-27 13:43

    this is very simple, just right click the console window and select clear cosole history, then refresh the page. please note, refreshing/reloading that tab is required.

    0 讨论(0)
  • 2020-11-27 13:44

    It can also be fixed by going to the developer tool settings and resetting to defaults.. (this will not reset 'Chrome', only developer tools options)

    • Open Chrome devtools
    • Go to settings (or press Windows ->F1 / OS X -> FN + F1)
    • Reset to the defaults

    This way you will lose your developer settings, but for me the only thing that mattered was turning cache off again..

    0 讨论(0)
  • 2020-11-27 13:46

    I ended up here looking for how to do the same thing in Firefox.

    In case anyone else does the same, there is a clearHistory command in the Firefox console which will do just that.

    https://developer.mozilla.org/en-US/docs/Tools/Web_Console/The_command_line_interpreter#Helper_commands

    0 讨论(0)
  • 2020-11-27 13:46

    These shortcuts Clear Console.

    ⌘ K or Ctrl L

    0 讨论(0)
提交回复
热议问题