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 相关文章推荐
js获取元素在浏览器中的绝对位置
Jul 24 Javascript
JavaScript中继承的一些示例方法与属性参考
Aug 07 Javascript
减少访问DOM的次数提升javascript性能
Feb 24 Javascript
Jquery实现自定义弹窗示例
Mar 12 Javascript
js使用setTimeout实现定时炸弹的方法
Apr 10 Javascript
jQuery+PHP实现微信转盘抽奖功能的方法
May 25 Javascript
jQuery 调用WebService 实例讲解
Jun 28 Javascript
javascript中的 object 和 function小结
Aug 14 Javascript
JS中动态创建元素的三种方法总结(推荐)
Oct 20 Javascript
jQuery实现导航高亮的方法【附demo源码下载】
Nov 09 Javascript
Vue2.0利用 v-model 实现组件props双向绑定的优美解决方案
Mar 13 Javascript
用vue的双向绑定简单实现一个todo-list的示例代码
Aug 03 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中的日期时间处理利器实例(Carbon)
2017/06/09 PHP
CSS JavaScript 实现菜单功能 改进版
2008/12/09 Javascript
基于jQuery UI CSS Framework开发Widget的经验
2010/08/21 Javascript
jQuery的初始化与对象构建之浅析
2011/04/12 Javascript
jQuery EasyUI API 中文文档 - TimeSpinner时间微调器
2011/10/23 Javascript
JS实现的简洁二级导航菜单雏形效果
2015/10/13 Javascript
浅析jQuery移动开发中内联按钮和分组按钮的编写
2015/12/04 Javascript
JS原型链怎么理解
2016/06/27 Javascript
很棒的js Tab选项卡切换效果
2016/08/30 Javascript
使用jquery给指定的table动态添加一行、删除一行
2016/10/13 Javascript
详解Angular.js的$q.defer()服务异步处理
2016/11/06 Javascript
如何提高Dom访问速度
2017/01/05 Javascript
聊聊JavaScript如何实现继承及特点
2017/04/07 Javascript
vue实现登陆登出的实现示例
2017/09/15 Javascript
JS运动特效之链式运动分析
2018/01/24 Javascript
解决修复npm安装全局模块权限的问题
2018/05/17 Javascript
详解.vue文件中style标签的几个标识符
2018/07/17 Javascript
vuejs+element UI点击编辑表格某一行时获取内容填入表单的示例
2018/10/31 Javascript
如何在VUE中使用vue-awesome-swiper
2021/01/04 Vue.js
[55:56]NB vs Infamous 2019国际邀请赛淘汰赛 败者组 BO3 第二场 8.22
2019/09/05 DOTA
python使用三角迭代计算圆周率PI的方法
2015/03/20 Python
详解Python爬虫的基本写法
2016/01/08 Python
Python requests库用法实例详解
2018/08/14 Python
python内存动态分配过程详解
2019/07/15 Python
django 实现将本地图片存入数据库,并能显示在web上的示例
2019/08/07 Python
Python3 使用selenium插件爬取苏宁商家联系电话
2019/12/23 Python
使用python客户端访问impala的操作方式
2020/03/28 Python
python爬虫使用正则爬取网站的实现
2020/08/03 Python
HQhair美国/加拿大:英国化妆品、美容及美发产品商城
2019/04/15 全球购物
联想智利官方网站:Lenovo Chile
2020/06/03 全球购物
建国大业观后感600字
2015/06/01 职场文书
2016大一新生入学教育心得体会
2016/01/23 职场文书
教师学期述职自我鉴定
2019/08/16 职场文书
python通过函数名调用函数的几种方法总结
2021/06/07 Python
深入理解go缓存库freecache的使用
2022/02/15 Golang
css让页脚保持在底部位置的四种方案
2022/07/23 HTML / CSS