In bash I use
HISTCONTROL=ignoredups:ignorespace
to omit duplicate entries be written to bash history. Is it possible to do it in Google Chrome Javascript Console? I often invoke the last command repeatedly to check my latest change effect on my site but then if I want to go back a little I have to press the up key so many times...