JSI Tip 4172. How can I add additional domain types to Internet Explorer Autoscan?


I described the Autoscan functionality in tip 3054.

The default domain types are:

.com

.org

.edu
NOTE: IE 6.0 adds .net.

To add additional domain types:

1. Use Regedt32 to navigate to:

        HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Internet Explorer/Main/Url Template

2. Add a string (REG_SZ) value name of n and set the data value to www.%s.<domain type>.

NOTE: IE searches based upon the string value name. The domain type in value name 1 is searched before the domain type in value name 2.

Using the following .reg file, I replaced the existing values and added a .gov:

REGEDIT4

\[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Main\UrlTemplate\]

\[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Main\UrlTemplate\]
"1"="www.%s.com"
"2"="www.%s.org"
"3"="www.%s.net"
"4"="www.%s.edu"
"5"="www.%s.gov"

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish