Google-chrome – How to remove http:// adding in addressbar of google-chrome/firefox

firefoxgoogle-chromeuser interface

Chrome add the http:// when I copy address from addressbar, i often paste the address to console, to ping or ssh, it is possible to copy only hostname from addressbar ? How to switch off that feature in chrome and also in firefox ? I also like solution that will allow to unhide http:// in addressbar, so i can select domain without it.

Best Answer

Where is the answer? The suggestion with Home button doesn't work anymore.

While reading all not working answers (I don't need host? for what? if people copy url, they need full url..:), I made my own solution. Just click to address bar, then hold "Ctrl+Shift", then click "Right" and "Left", Voila. Then you can "Ctrl"+"C"...