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高级程序设计 错误处理与调试学习笔记
Sep 10 Javascript
javascript中的遍历for in 以及with的用法
Dec 22 Javascript
详谈javascript中DOM的基本属性
Feb 26 Javascript
jQuery实现的点赞随机数字显示动画效果(附在线演示与demo源码下载)
Dec 31 Javascript
微信小程序 image组件binderror使用例子与js中的onerror区别
Feb 15 Javascript
javascript ES6中箭头函数注意细节小结
Feb 17 Javascript
详解webpack分包及异步加载套路
Jun 29 Javascript
基于JavaScript实现评论框展开和隐藏功能
Aug 25 Javascript
react native 文字轮播的实现示例
Jul 27 Javascript
解决vue 中 echart 在子组件中只显示一次的问题
Aug 07 Javascript
详解如何构建Promise队列实现异步函数顺序执行
Oct 23 Javascript
使用Three.js实现太阳系八大行星的自转公转示例代码
Apr 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
人尽可用的Windows技巧小贴士之下篇
2007/03/22 PHP
php实现图片缩略图的方法
2016/03/29 PHP
PHP实现数组向任意位置插入,删除,替换数据操作示例
2019/04/05 PHP
thinkphp5.1框架中容器(Container)和门面(Facade)的实现方法分析
2019/08/05 PHP
Yii框架的布局文件实例分析
2019/09/04 PHP
YUI 读码日记之 YAHOO.lang.is*
2008/03/22 Javascript
JavaScript高级程序设计 阅读笔记(二十) js错误处理
2012/08/14 Javascript
鼠标移到导航当前位置的LI变色处于选中状态
2013/08/23 Javascript
javascript函数重载解决方案分享
2014/02/19 Javascript
用jQuery toggleClass 实现鼠标移上变色
2014/05/14 Javascript
跟我学习javascript的prototype使用注意事项
2015/11/17 Javascript
JavaScript 七大技巧(一)
2015/12/13 Javascript
javascript入门之window对象【新手必看】
2016/11/22 Javascript
js实现页面刷新滚动条位置不变
2016/11/27 Javascript
解决React Native端口号修改的方法
2017/07/28 Javascript
微信小程序左右滑动的实现代码
2017/12/15 Javascript
vue中的$emit 与$on父子组件与兄弟组件的之间通信方式
2018/05/13 Javascript
element上传组件循环引用及简单时间倒计时的实现
2018/10/01 Javascript
Vue使用.sync 实现父子组件的双向绑定数据问题
2019/04/04 Javascript
关于IDEA中的.VUE文件报错 Export declarations are not supported by current JavaScript version
2020/10/17 Javascript
Python统计列表中的重复项出现的次数的方法
2014/08/18 Python
python返回昨天日期的方法
2015/05/13 Python
python使用json序列化datetime类型实例解析
2018/02/11 Python
利用django+wechat-python-sdk 创建微信服务器接入的方法
2019/02/20 Python
Python从list类型、range()序列简单认识类(class)【可迭代】
2019/05/31 Python
Python对wav文件的重采样实例
2020/02/25 Python
Python 抓取数据存储到Redis中的操作
2020/07/16 Python
Boda Skins皮衣官网:奢侈皮夹克,全球配送
2016/12/15 全球购物
毕业生教师求职信
2013/10/20 职场文书
人力资源管理专业毕业生推荐信
2013/11/07 职场文书
药剂专业个人求职信范文
2014/04/29 职场文书
医药公司采购员岗位职责
2014/09/12 职场文书
2015年度保密工作总结
2015/04/24 职场文书
2016个人先进事迹材料范文
2016/03/01 职场文书
浅谈Python实现opencv之图片色素的数值运算和逻辑运算
2021/06/23 Python
MySQL非空约束(not null)案例讲解
2021/08/23 MySQL