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 相关文章推荐
jQuery EasyUI API 中文文档 - ComboBox组合框
Oct 07 Javascript
js实现数组去重、判断数组以及对象中的内容是否相同
Nov 29 Javascript
浅析JavaScript中的delete运算符
Nov 30 Javascript
给事件响应函数传参数的四种方式小结
Dec 05 Javascript
javascript定义变量时加var与不加var的区别
Dec 22 Javascript
JavaScript常见的五种数组去重的方式
Dec 15 Javascript
详解前后端分离之VueJS前端
May 24 Javascript
webpack学习笔记之代码分割和按需加载的实例详解
Jul 20 Javascript
微信小程序实现点击空白隐藏的方法示例
Aug 13 Javascript
node.js Promise对象的使用方法实例分析
Dec 26 Javascript
基于JS正则表达式实现模板数据动态渲染(实现思路详解)
Mar 07 Javascript
SpringBoot+Vue开发之Login校验规则、实现登录和重置事件
Oct 19 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
如何分别全角和半角以避免乱码
2006/10/09 PHP
php文件上传你必须知道的几点
2015/10/20 PHP
PHP实现冒泡排序的简单实例
2016/05/26 PHP
php UNIX时间戳用法详解
2017/02/16 PHP
php使用flock阻塞写入文件和非阻塞写入文件的实例讲解
2017/07/10 PHP
对jQuery的事件绑定的一些思考(补充)
2013/04/20 Javascript
使用js判断当前时区TimeZone是否是夏令时
2014/02/23 Javascript
浅谈angularJS 作用域
2015/07/05 Javascript
JavaScript对象参数的引用传递
2016/01/14 Javascript
深入理解JavaScript 函数
2016/06/06 Javascript
JS实现获取来自百度,Google,soso,sogou关键词的方法
2016/12/21 Javascript
移动端基础事件总结与应用
2017/01/12 Javascript
JS查找数组中重复元素的方法详解
2017/06/14 Javascript
详解bootstrap用dropdown-menu实现上下文菜单
2017/09/22 Javascript
分享vue.js devtools遇到一系列问题
2017/10/24 Javascript
bootstrap轮播模板使用方法详解
2017/11/17 Javascript
微信小程序实现滴滴导航tab切换效果
2018/07/24 Javascript
JS+CSS3实现的简易钟表效果示例
2019/04/13 Javascript
浅谈v-for 和 v-if 并用时筛选条件方法
2019/11/07 Javascript
JavaScript实现简易聊天对话框(加滚动条)
2020/02/10 Javascript
python连接远程ftp服务器并列出目录下文件的方法
2015/04/01 Python
python使用socket创建tcp服务器和客户端
2018/04/12 Python
Python基础之条件控制操作示例【if语句】
2019/03/23 Python
python:目标检测模型预测准确度计算方式(基于IoU)
2020/01/18 Python
python GUI库图形界面开发之PyQt5树形结构控件QTreeWidget详细使用方法与实例
2020/03/02 Python
django 解决扩展自带User表遇到的问题
2020/05/14 Python
使用css3绘制出各种几何图形
2016/08/17 HTML / CSS
升职自荐书范文
2013/11/28 职场文书
大学生通用个人自我评价
2014/04/27 职场文书
机械工程师岗位职责
2014/06/16 职场文书
推普周国旗下讲话稿
2014/09/21 职场文书
小学母亲节活动总结
2015/02/10 职场文书
2016年度员工工作表现评语
2015/12/02 职场文书
小学三年级语文教学反思
2016/03/03 职场文书
毕业生的自我鉴定表范文
2019/05/16 职场文书
利用 Python 的 Pandas和 NumPy 库来清理数据
2022/04/13 Python