IE autocomplete internet explorer's autocomplete


Posted in Javascript onJune 30, 2007

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使用过程中需要注意的地方和一些基本语法
Aug 26 Javascript
location对象的属性和方法应用(解析URL)
Apr 12 Javascript
鼠标移动到图片名上,显示图片的简单实例
Jul 14 Javascript
3种不同方式的焦点图轮播特效分享
Oct 30 Javascript
一个简单的实现下拉框多选的插件可移植性比较好
May 05 Javascript
JQuery实现鼠标滚轮滑动到页面节点
Jul 28 Javascript
JavaScript解八皇后问题的方法总结
Jun 12 Javascript
js记录点击某个按钮的次数-刷新次数为初始状态的实例
Feb 15 Javascript
vue源码学习之Object.defineProperty 对数组监听
May 30 Javascript
vue实现打印功能的两种方法
Sep 07 Javascript
jquery实现上传图片功能
Jun 29 jQuery
JavaScript严格模式不支持八进制的问题讲解
Nov 07 Javascript
用javascript实现的激活输入框后隐藏初始内容
Jun 29 #Javascript
javascritp实现input输入框相关限制用法
Jun 29 #Javascript
优化网页之快速的呈现我们的网页
Jun 29 #Javascript
javascript实现动态CSS换肤技术的脚本
Jun 29 #Javascript
javascript之锁定表格栏位
Jun 29 #Javascript
javascript之解决IE下不渲染的bug
Jun 29 #Javascript
JavaScript与C# Windows应用程序交互方法
Jun 29 #Javascript
You might like
php实现执行某一操作时弹出确认、取消对话框
2013/12/30 PHP
php程序内部post数据的方法
2015/03/31 PHP
PHP 将数组打乱 shuffle函数的用法及简单实例
2016/06/17 PHP
详解如何实现Laravel的服务容器的方法示例
2019/04/15 PHP
Javascript实例教程(19) 使用HoTMetal(3)
2006/12/23 Javascript
用javascript实现改变TEXTAREA滚动条和按钮的颜色,以及怎样让滚动条变得扁平
2007/04/20 Javascript
js 发个判断字符串是否为符合标准的函数
2009/04/27 Javascript
基于jquery实现的可以编辑选择的下拉框的代码
2010/11/19 Javascript
基于jquery的图片幻灯展示源码
2012/07/15 Javascript
json原理分析及实例介绍
2012/11/29 Javascript
用js获取电脑信息(是使用与IE浏览器)
2013/01/15 Javascript
jQuery链式调用与show知识浅析
2016/05/11 Javascript
AngularJS实现分页显示数据库信息
2016/07/01 Javascript
JS如何设置cookie有效期为当天24点并弹出欢迎登陆界面
2016/08/04 Javascript
jquery.Jcrop结合JAVA后台实现图片裁剪上传实例
2016/11/05 Javascript
VUE饿了么树形控件添加增删改功能的示例代码
2017/10/17 Javascript
详解bootstrap导航栏.nav与.navbar区别
2017/11/23 Javascript
使用angularjs.foreach时return的问题解决
2018/09/30 Javascript
angularJs select绑定的model取不到值的解决方法
2018/10/08 Javascript
Vue学习之常用指令实例详解
2020/01/06 Javascript
浅谈vue-props的default写不写有什么区别
2020/08/09 Javascript
JavaScript实现网页跨年倒计时
2020/12/02 Javascript
vue.js实现输入框输入值内容实时响应变化示例
2018/07/07 Python
Django web自定义通用权限控制实现方法
2020/11/24 Python
python日志通过不同的等级打印不同的颜色(示例代码)
2021/01/13 Python
PyQt实现计数器的方法示例
2021/01/18 Python
matplotlib绘制正余弦曲线图的实现
2021/02/22 Python
Urban Outfitters美国官网:美国生活方式品牌
2016/08/26 全球购物
英国领先的在线高尔夫设备零售商:Golfgeardirect
2020/12/11 全球购物
求职推荐信
2013/10/28 职场文书
主题班会演讲稿
2014/05/22 职场文书
电子工程求职信
2014/07/17 职场文书
学雷锋献爱心倡议书
2015/04/27 职场文书
创建文明城市倡议书
2015/04/28 职场文书
中学教师读书笔记
2015/07/01 职场文书
Echarts如何重新渲染实例详解
2022/05/30 Javascript