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分析、压缩工具JavaScript Analyser
Dec 31 Javascript
JS简单实现动画弹出层效果
May 05 Javascript
Angular 页面跳转时传参问题
Aug 01 Javascript
jQuery 检查某个元素在页面上是否存在实例代码
Oct 27 Javascript
Vue.js中用v-bind绑定class的注意事项
Dec 13 Javascript
Bootstrap 模态框实例插件案例分析
Dec 28 Javascript
AngularJS实现网站换肤实例
Feb 19 Javascript
jQuery通过改变input的type属性实现密码显示隐藏切换功能
Feb 08 Javascript
react-native使用react-navigation进行页面跳转导航的示例
Sep 07 Javascript
浅谈React深度编程之受控组件与非受控组件
Dec 26 Javascript
Puppet的一些技巧
Sep 17 Javascript
AngularJs1.x自定义指令独立作用域的函数传入参数方法
Oct 09 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修改时间格式的代码
2011/05/29 PHP
Laravel路由设定和子路由设定实例分析
2016/03/30 PHP
js屏蔽鼠标键盘(右键/Ctrl+N/Shift+F10/F11/F5刷新/退格键)
2013/01/24 Javascript
JS字符串拼接在ie中都报错的解决方法
2014/03/27 Javascript
jQuery CSS()方法改变现有的CSS样式表
2014/09/09 Javascript
浅析javascript 定时器
2014/12/23 Javascript
JavaScript中的Math.SQRT1_2属性使用简介
2015/06/14 Javascript
Bootstrap中文本框的宽度变窄并且加入一副验证码图片的实现方法
2016/06/23 Javascript
在Docker快速部署Node.js应用的详细步骤
2016/09/02 Javascript
jquery实现超简单的瀑布流布局【推荐】
2017/03/08 Javascript
微信小程序上滑加载下拉刷新(onscrollLower)分批加载数据(二)
2017/05/11 Javascript
jQuery Validate 校验多个相同name的方法
2017/05/18 jQuery
js推箱子小游戏步骤代码解析
2018/01/10 Javascript
Vue实现6位数密码效果
2018/08/18 Javascript
vue如何安装使用Quill富文本编辑器
2018/09/21 Javascript
vuex页面刷新后数据丢失的方法
2019/01/17 Javascript
深入理解Puppeteer的入门教程和实践
2019/03/05 Javascript
[05:17]DOTA2睡衣妹卖萌求签名 CJ第二天全明星影像
2013/07/28 DOTA
python 远程统计文件代码分享
2015/05/14 Python
python实现给数组按片赋值的方法
2015/07/28 Python
python不换行之end=与逗号的意思及用途
2017/11/21 Python
浅谈Python中range和xrange的区别
2017/12/20 Python
Python通用循环的构造方法实例分析
2018/12/19 Python
Python的条件表达式和lambda表达式实例
2019/01/31 Python
Python创建字典的八种方式
2019/02/27 Python
Python通过正则库爬取淘宝商品信息代码实例
2020/03/02 Python
化学教师教学反思
2014/01/17 职场文书
美德好少年主要事迹
2014/01/29 职场文书
不打扫卫生检讨书
2014/02/12 职场文书
应届毕业生自荐信例文
2014/02/26 职场文书
爱情保证书
2015/01/17 职场文书
2015年语文教学工作总结
2015/05/25 职场文书
先进个人主要事迹怎么写
2015/11/04 职场文书
一年级下册数学教学反思
2016/02/16 职场文书
Python使用Kubernetes API访问集群
2021/05/30 Python
默认网关不可用修复后过一会又不好使了解决方法
2022/04/08 数码科技