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 传统事件模型构造的事件监听器实现代码
May 31 Javascript
jquery实现图片渐变切换兼容ie6/Chrome/Firefox
Aug 02 Javascript
CheckBoxList多选样式jquery、C#获取选择项
Sep 06 Javascript
jquery遍历checkbox介绍
Feb 21 Javascript
Webpack 实现 Node.js 代码热替换
Oct 22 Javascript
jQuery获取checkbox选中的值
Jan 28 Javascript
Bootstrap的Refresh Icon也spin起来
Jul 13 Javascript
微信小程序实现移动端滑动分页效果(ajax)
Jun 13 Javascript
Vue工程模板文件 webpack打包配置方法
Dec 26 Javascript
详解Angular2学习笔记之Html属性绑定
Jan 03 Javascript
VUE+Element环境搭建与安装的方法步骤
Jan 24 Javascript
使用layer.msg 时间设置不起作用的解决方法
Sep 12 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
jquery获取tr中控件值并操作tr实现思路
2013/03/27 Javascript
js实现仿爱微网两级导航菜单效果代码
2015/08/31 Javascript
js实现左侧网页tab滑动门效果代码
2015/09/06 Javascript
JSON 对象未定义错误的解决方法
2016/09/29 Javascript
微信小程序 页面传参实例详解
2016/11/16 Javascript
详解javascript中对数据格式化的思考
2017/01/23 Javascript
捕获未处理的Promise错误方法
2017/10/13 Javascript
vue学习之Vue-Router用法实例分析
2020/01/06 Javascript
jQuery实现王者荣耀手风琴效果
2020/01/17 jQuery
完美解决vue 中多个echarts图表自适应的问题
2020/07/19 Javascript
Bootstrap告警框(alert)实现弹出效果和短暂显示后上浮消失的示例代码
2020/08/27 Javascript
[01:11:32]VG vs FNATIC 2019国际邀请赛小组赛 BO2 第二场 8.15
2019/08/17 DOTA
python新手经常遇到的17个错误分析
2014/07/30 Python
python实现简单socket程序在两台电脑之间传输消息的方法
2015/03/13 Python
Python实现对特定列表进行从小到大排序操作示例
2019/02/11 Python
Pandas之Dropna滤除缺失数据的实现方法
2019/06/25 Python
python实现递归查找某个路径下所有文件中的中文字符
2019/08/31 Python
Python如何批量获取文件夹的大小并保存
2020/03/31 Python
Django {{ MEDIA_URL }}无法显示图片的解决方式
2020/04/07 Python
Python3如何使用tabulate打印数据
2020/09/25 Python
浅谈利用缓存来优化HTML5 Canvas程序的性能
2015/05/12 HTML / CSS
美国知名的女性服饰品牌:LOFT(洛芙特)
2016/08/05 全球购物
REISS英国官网:伦敦High Street最受欢迎品牌
2016/12/21 全球购物
意大利和国际最佳时尚品牌:Drestige
2019/12/28 全球购物
北承题目(C++)
2012/05/16 面试题
英文自荐信
2013/12/15 职场文书
护理学应聘自荐书范文
2014/02/05 职场文书
三字经教学反思
2014/04/26 职场文书
励志演讲稿300字
2014/08/21 职场文书
财务审计整改报告
2014/11/06 职场文书
廉洁自律证明
2015/06/24 职场文书
新郎父亲婚礼致辞
2015/07/27 职场文书
百年校庆感言
2015/08/01 职场文书
2016廉政教育学习心得体会
2016/01/25 职场文书
vue-cli4.5.x快速搭建项目
2021/05/30 Vue.js
mysql创建存储过程及函数详解
2021/12/04 MySQL