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.
This is pretty awful that chrome needs it, but you can use this addon to copy the host by clicking a button: http://chrisiona.com/post/122938597943/hostcopy-google-chrome-extension
Bit of a hack as well, however I simply click in the toolbar, press the Home key, press Space, then press Shift+End and Ctrl+C.
So basically, just add a space to the start. Most commands don't even care if you keep the space in the parameters.
You can create a bookmark int the Bookmarks Bar, name it
Warning: Total hack response…
If you highlight the left-most character of the domain name, Chrome automatically adds on the
http:// because its implicit in the address. If you highlight and copy all but the first character, you don't get that issue (and need to re-add it in the command).
However as hacks go, I find it easier to do the above (highlight, Ctrl+C, terminal, type first char, Ctrl+V) than to remove the
Others may have better solutions.