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 UI 应用不同Theme的办法
Sep 12 Javascript
jquery中的mouseleave和mouseout的区别 模仿下拉框效果
Feb 07 Javascript
seaJs的模块定义和模块加载浅析
Jun 06 Javascript
js闭包实例汇总
Nov 09 Javascript
js实现的早期滑动门菜单效果代码
Aug 27 Javascript
JavaScript小技巧整理
Dec 30 Javascript
js实现仿qq消息的弹出窗效果
Jan 06 Javascript
微信小程序中子页面向父页面传值实例详解
Mar 20 Javascript
ECMAScript6 新特性范例大全
Mar 24 Javascript
Vue+jquery实现表格指定列的文字收缩的示例代码
Jan 09 jQuery
vue.js的computed,filter,get,set的用法及区别详解
Mar 08 Javascript
详解ES6 系列之异步处理实战
Oct 26 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 文件类型判断代码
2009/03/13 PHP
php Notice: Undefined index 错误提示解决方法
2010/08/29 PHP
PHP数组操作汇总 php数组的使用技巧
2011/07/17 PHP
PHP base64编码后解码乱码的解决办法
2014/06/19 PHP
ThinkPHP框架实现session跨域问题的解决方法
2014/07/01 PHP
from表单多个按钮提交用onclick跳转不同action
2014/04/24 Javascript
jquery操作angularjs对象
2015/06/26 Javascript
JavaScript实现同一页面内两个表单互相传值的方法
2015/08/12 Javascript
JQuery+EasyUI轻松实现步骤条效果
2016/02/22 Javascript
JS选取DOM元素的简单方法
2016/07/08 Javascript
JS简单获取客户端IP地址的方法【调用搜狐接口】
2016/09/05 Javascript
node.js+captchapng+jsonwebtoken实现登录验证示例
2017/08/17 Javascript
js实现数组内数据的上移和下移的实例
2017/11/14 Javascript
vue富文本框(插入文本、图片、视频)的使用及问题小结
2018/08/17 Javascript
Node.js 进程平滑离场剖析小结
2019/01/24 Javascript
Vue通过配置WebSocket并实现群聊功能
2019/12/31 Javascript
微信小程序用canvas画图并分享
2020/03/09 Javascript
python写的ARP攻击代码实例
2014/06/04 Python
python通过正则查找微博@(at)用户的方法
2015/03/13 Python
Python实现给文件添加内容及得到文件信息的方法
2015/05/28 Python
Python cookbook(数据结构与算法)让字典保持有序的方法
2018/02/18 Python
python实现批量注册网站用户的示例
2019/02/22 Python
基于Python实现拆分和合并GIF动态图
2019/10/22 Python
解决python3输入的坑——input()
2020/12/05 Python
CSS3混合模式mix-blend-mode/background-blend-mode简介
2018/03/15 HTML / CSS
巴西香水和化妆品购物网站:The Beauty Box
2019/09/03 全球购物
GafasWorld西班牙:购买太阳镜、眼镜和隐形眼镜
2019/09/08 全球购物
商业房地产广告语
2014/03/13 职场文书
公司授权委托书范文
2014/09/21 职场文书
乡村教师党员四风问题对照检查材料思想汇报
2014/10/08 职场文书
酒店保洁员岗位职责
2015/02/26 职场文书
党支部培养考察意见
2015/06/02 职场文书
同学会感言
2015/07/30 职场文书
MySQL主从搭建(多主一从)的实现思路与步骤
2021/05/13 MySQL
Android开发实现极为简单的QQ登录页面
2022/04/24 Java/Android
Python+Pillow+Pytesseract实现验证码识别
2022/05/11 Python