Small piece of advice you should be debouncing your primary input at the very least, especially because you insert an entry into the browser history for every character typed (consider only doing that on submit). Plus if any calls are made to the network in response to a key press you’d add unnecessary pressure.
Presently trying to navigate back to the comments from your site after typing out a domain required far more effort than navigating backward a couple times.