다음을 통해 공유


How do I change what CTRL+ENTER does in IE?

When using IE, CTRL+ENTER is a very useful shortcut.  It puts 'https://www' before the text in the address bar and '.com' at the end.  So if I want to visit 'https://www.microsoft.com' all I have to do is type ALT+D, microsoft, CTRL+ENTER.  But what if I want to change what CTRL+ENTER does?  Is that possible?  Of course it is!  To change it:

1.  Create the following registry key:  HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Toolbar\QuickComplete.
2.  Create the following registry value in the key above:    QuickComplete REG_SZ https://www.%s.whatever
3.  Whatever is in the address bar will be inserted where the '%s' is. This example would complete 'microsoft' to 'https://www.microsoft.whatever'. 
4.  Please note that the QuickComplete string is currently limited to 64 characters. 

I have heard rumor that we got the extension wrong in Sweden (.sv instead of .se).   This should let you change it.

Comments

  • Anonymous
    September 09, 2004
    Snazzy. I'm using the Whidbey beta, so I visit the msdn website for help more than I press 'F1' nowadays (here's to hoping the help links get cleared up next beta). By making the msdn help search URL be my quick complete, I will save myself a whole three keypresses!

    http://search.microsoft.com/search/results.aspx?qu=%s&View=msdn&st=b&c=0&s=1&swc=0

  • Anonymous
    September 09, 2004
    Wow. Cool.

  • Anonymous
    September 09, 2004
    The rumour is true! Thanks for this tip!

    Btw, why is the TLD hardcoded? Why isn't the TLD picked based on my language setting in IE..?

  • Anonymous
    September 09, 2004
    The comment has been removed

  • Anonymous
    September 09, 2004
    The comment has been removed

  • Anonymous
    September 09, 2004
    Very cool...

  • Anonymous
    September 09, 2004
    Please fix the .sv to .se in a patch. We was waiting for a fix with Xp sp1, and sp2...

    Regards /Niclas

  • Anonymous
    September 09, 2004
    Excellent tip Jeff.

    You might want to discuss the cool feature in IE when working with this reg key
    HKEY_CURRENT_USERSoftwareMicrosoftInternet ExplorerSearchUrl

    I personally use this quite a bit.

  • Anonymous
    September 09, 2004
    Excellent tip!

    Now what if I want to keep CTRL + ENTER = "http://www.<domain>.com"

    PLUS have another shortcut for "http://www.<domain>.com.au"

    Can this be done with another Registry edit?

  • Anonymous
    September 09, 2004
    John-

    This only works with CTRL+ENTER. Like I said, this code is pretty old. :)

  • Anonymous
    September 10, 2004
    John, you can use SearchUrl and create a keyword.

    au domain -> http://www.domain.com.au

    for example.

  • Anonymous
    September 12, 2004
    >>John, you can use SearchUrl and create a keyword.

    Thanks for the tip, Raymond.

  • Anonymous
    September 14, 2004
    The comment has been removed

  • Anonymous
    September 14, 2004
    In IE4 there was a registry key (I forget where) near where the AutoScan keys are whose name and template suggested it was for this. But changing it seemed to do nothing. When was this key introduced.

  • Anonymous
    September 14, 2004
    David-

    I remember seeing those too... I'll try to remember to track them down and see what's up. I am not sure when it was introduced. I can only go so far back in the source logs. It's been there since at least IE5.5.

    -j

  • Anonymous
    October 08, 2004
    Here is a fix.. IE will not connect to a web page without manually typing http://


    Using Regedit, have a look at this key:

    HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionURL


    The correct settings should be as follows:


    [HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionURLDefaultPrefix]
    Default ="http://"

    Sub-key:

    [HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionURLPrefixes]

    "ftp"="ftp://"
    "gopher"="gopher://"
    "home"="http://"
    "mosaic"="http://"
    "www"="http://"

    Hope it helps,

    Mike

  • Anonymous
    January 15, 2007
    PingBack from http://kuidong.com/?p=6

  • Anonymous
    March 24, 2008
    PingBack from http://www.kuidong.net/docs/47

  • Anonymous
    January 21, 2009
    PingBack from http://www.hilpers.it/1859817-comportamento-di-alcuni-browser

  • Anonymous
    January 21, 2009
    PingBack from http://www.keyongtech.com/1247515-change-sv-to-com-when

  • Anonymous
    January 22, 2009
    PingBack from http://www.hilpers.nl/152685-automatisch-naar-pagina-zonder-nl