IE autocomplete internet explorer's autocomplete

 更新时间:2007年06月30日 00:00:00   作者:  

IE autocomplete

internet explorer's autocomplete

Frequently people are confused by the various dropdown quick-complete boxes in IE.  Most people lump them all under the term "AutoComplete."  There are actually several features in play, and today I will describe them all.

Typed Urls
Typed Urls appear when you click the down arrow at the right (or left, depending on locale) end of the address bar's edit box.  The keyboard shortcut is F4.  These items all have an icon to the left.  This is a list of the last 25 (or so) urls you have actually typed into the address bar.  Only items that you physically type into the address bar are listed here.  The list is stored in a registry key.  The key is HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\TypedURLs.  Each value in the Key is an URL.  If you click the Clear History button in the Internet Control Panel (Tools->Options) this entire key is deleted.

AutoComplete
When you start typing in the address bar's edit box and a dropdown appears with suggestions that match what you type, you have discovered AutoComplete.  AutoComplete is actually a shell feature.  Any application can enable AutoComplete for any edit box by simply calling SHAutoComplete().  AutoComplete in IE will aggregate all the urls in your history, as well as various items in the shell namespace, such as "desktop", "my documents", etc.  AutoComplete also aggregates the items in the current user's favorites folder (CSIDL_Favorites).  When you add a favorite, a .url file is created in the Favorites folder.  The filename is the title of the Web site (with non-NTFS friendly characters removed) or the url if the page has no title.  The user is also given an opportunity to specify their own title, though I suspect people rarely do this.  If you do specifiy your own title, it makes it very easy to visit frequently visited sites.  For example, my test manager adds Amazon.com as a favorite and sets the Name: field to amzn.  Then, when he wants to go there, he just types amzn into the address bar and AutoComplete does the work for him.  It is important to note that subfolders of the favorites folder are not included in the enumeration.  This is for performance reasons, I suspect.

A side note about Favorites:  There is another shortcut you can use to quickly access Web sites that are Favorites.  Right-Click on a favorite (either in the Menu or the Explorer Bar) and chose properties.  You will see just below the URL: field is the Shortcut Key: field.  Click in the box and press any key.  If you type 1 then Ctrl+Alt+1 will appear in the box.  Click OK.  Now whenever you press CTRL+ALT+1 Internet Explorer will navigate to that site.

相关文章

  • 一篇文章带你学会JavaScript计时事件

    一篇文章带你学会JavaScript计时事件

    JS可以实现很多java代码不易完成的功能,下面这篇文章主要给大家介绍了关于如何通过一篇文章带你学会JavaScript计时事件的相关资料,文中通过实例代码介绍的非常详细,需要的朋友可以参考下
    2022-11-11
  • js注册时输入合法性验证方法

    js注册时输入合法性验证方法

    这篇文章主要为大家详细介绍了js注册时输入合法性验证方法,具有一定的参考价值,感兴趣的小伙伴们可以参考一下
    2017-10-10
  • Ajax基础知识详解

    Ajax基础知识详解

    本文主要介绍了Ajax基础知识。具有很好的参考价值,下面跟着小编一起来看下吧
    2017-02-02
  • 小程序获取手机验证码倒计时的方法

    小程序获取手机验证码倒计时的方法

    这篇文章主要为大家详细介绍了小程序获取手机验证码倒计时的方法,文中示例代码介绍的非常详细,具有一定的参考价值,感兴趣的小伙伴们可以参考一下<BR>
    2022-08-08
  • JavaScript判断数组是否存在key的简单实例

    JavaScript判断数组是否存在key的简单实例

    下面小编就为大家带来一篇JavaScript判断数组是否存在key的简单实例。小编觉得挺不错的,现在就分享给大家,也给大家做个参考。一起跟随小编过来看看吧
    2016-08-08
  • 通过javascript把图片转化为字符画

    通过javascript把图片转化为字符画

    平时我们都是使用软件把图片转化为字符画,今天我就用JAVASCRIPT把图片转化成字符画,在娱乐中学习一些JS、HTML5、canvas的使用方法。
    2013-10-10
  • 微信APP生命周期及页面生命周期示例详解

    微信APP生命周期及页面生命周期示例详解

    这篇文章主要为大家介绍了微信APP生命周期及页面生命周期当然示例详解,有需要的朋友可以借鉴参考下,希望能够有所帮助,祝大家多多进步早日升职加薪
    2022-04-04
  • JavaScript实现为指定对象添加多个事件处理程序的方法

    JavaScript实现为指定对象添加多个事件处理程序的方法

    这篇文章主要介绍了JavaScript实现为指定对象添加多个事件处理程序的方法,可实现让指定对象处理多个事件的功能,具有一定参考借鉴价值,需要的朋友可以参考下
    2015-04-04
  • 微信小程序系列之自定义顶部导航功能

    微信小程序系列之自定义顶部导航功能

    这篇文章主要介绍了微信小程序系列之自定义顶部导航功能,本文通过实例代码给大家介绍的非常详细,具有一定的参考借鉴价值,需要的朋友可以参考下
    2019-05-05
  • webpack多入口文件页面打包配置详解

    webpack多入口文件页面打包配置详解

    本篇文章主要介绍了webpack多入口文件页面打包配置详解,小编觉得挺不错的,现在分享给大家,也给大家做个参考。一起跟随小编过来看看吧
    2018-01-01

最新评论