Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question
add comment

3 Answers

If you want Firefox to permanently show http in the adress bar:

  1. go to about:config
  2. search for the option browser.urlbar.trimURLs
  3. set it to false

I don't use Chrome, but there is this question: Make chrome put http:// in the browser

share|improve this answer
    
I would kill for that feature in google chrome... –  NickSoft Apr 11 '13 at 15:50
add comment

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.

share|improve this answer
add comment

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 http:// myself.

Others may have better solutions

share|improve this answer
1  
I using the same trick, but it ugly, i just found myself today in terrible user environment, so got several questions that i collected last 2-3 years :) –  eicto Nov 9 '12 at 15:42
    
@eicto: Make a list of links to these questions and open a google chrome issue/feature request: support.google.com/chrome/bin/answer.py?hl=en&answer=95315 –  NickSoft Apr 11 '13 at 15:41
    
@NickSoft - FWIW, people have been complaining since this was checked in (well over 3 years ago) to no avail, so I'm not sure 1 more will make a difference. It's an interest read, though: code.google.com/p/chromium/issues/detail?id=41467 –  James Manning Aug 20 '13 at 3:24
    
Yes, I know. However most people do not take actions. One more is not a big deal, but many more is. I guess google measure in %. If most of the people do not complain, then they are ok with it. I guess most people think that they won't make a difference and that's why they don't complain. –  NickSoft Sep 4 '13 at 18:59
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.