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 操作日期、星期、元素的追加的实现代码
Feb 07 Javascript
$.getJSON在IE下失效的原因分析及解决方法
Jun 16 Javascript
Microsfot .NET Framework4.0框架 安装失败的解决方法
Aug 14 Javascript
ie9 提示'console' 未定义问题的解决方法
Mar 20 Javascript
纯JS实现本地图片预览的方法
Jul 31 Javascript
JavaScript给input的value赋值引发的关于基本类型值和引用类型值问题
Dec 07 Javascript
jQuery实现图片文字淡入淡出效果
Dec 21 Javascript
浅谈JS中json数据的处理
Jun 30 Javascript
JS基于HTML5的canvas标签实现炫目的色相球动画效果实例
Aug 24 Javascript
JavaScript实现256色转灰度图
Feb 22 Javascript
浅谈angular4 ng-content 中隐藏的内容
Aug 18 Javascript
使用JavaScript实现node.js中的path.join方法
Aug 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
PHP define函数的使用说明
2008/08/27 PHP
PHP删除HTMl标签的实现代码
2013/06/30 PHP
PHP正则替换函数preg_replace和preg_replace_callback使用总结
2014/09/22 PHP
PHP+Mysql实现多关键字与多字段生成SQL语句的函数
2014/11/05 PHP
PHP文件上传判断file是否己选择上传文件的方法
2014/11/10 PHP
PHP中使用匿名函数操作数据库的例子
2014/11/17 PHP
简单谈谈php中的unicode和utf8编码
2015/06/10 PHP
PHP生成制作验证码的简单实例
2016/06/12 PHP
详解如何在云服务器上部署Laravel
2017/06/30 PHP
php实现微信支付之退款功能
2018/05/30 PHP
解决thinkPHP 5 nginx 部署时,只跳转首页的问题
2019/10/16 PHP
用Laravel轻松处理千万级数据的方法实现
2020/12/25 PHP
js时间比较示例分享(日期比较)
2014/03/05 Javascript
jQuery实现自动调用和触发某个事件的方法
2016/11/18 Javascript
Vuex利用state保存新闻数据实例
2017/06/28 Javascript
js实现弹出框的拖拽效果实例代码详解
2019/04/16 Javascript
Python中getpass模块无回显输入源码解析
2018/01/11 Python
浅谈numpy数组中冒号和负号的含义
2018/04/18 Python
TensorFlow实现非线性支持向量机的实现方法
2018/04/28 Python
django加载本地html的方法
2018/05/27 Python
浅谈Pytorch torch.optim优化器个性化的使用
2020/02/20 Python
Python基于stuck实现scoket文件传输
2020/04/02 Python
基于Python爬虫采集天气网实时信息
2020/06/05 Python
python实现将中文日期转换为数字日期
2020/07/14 Python
python的flask框架难学吗
2020/07/31 Python
python3 使用ssh隧道连接mysql的操作
2020/12/05 Python
日本最大的药妆连锁店:Matsukiyo松本清药妆店
2017/11/23 全球购物
俄罗斯首家面向中国消费者的一站式购物网站:Wruru
2020/05/08 全球购物
材料会计岗位职责
2014/03/06 职场文书
政法干警核心价值观心得体会
2014/09/11 职场文书
教师节感想
2015/08/11 职场文书
小学感恩主题班会
2015/08/12 职场文书
中学团支部工作总结
2015/08/13 职场文书
长辈生日祝福语大全(72句)
2019/08/09 职场文书
百善孝为先:关于孝道的经典语录
2019/10/18 职场文书
Redis如何实现分布式锁
2021/08/23 Redis