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代码
Jan 01 Javascript
jQuery学习笔记之DOM对象和jQuery对象
Dec 22 Javascript
利用jquery.qrcode在页面上生成二维码且支持中文
Feb 12 Javascript
js键盘事件的keyCode
Jul 29 Javascript
Vue.js计算属性computed与watch(5)
Dec 09 Javascript
Three.js利用orbit controls插件(轨道控制)控制模型交互动作详解
Sep 25 Javascript
Vue-cli 使用json server在本地模拟请求数据的示例代码
Nov 02 Javascript
Webpack打包字体font-awesome的方法示例
Apr 26 Javascript
mpvue性能优化实战技巧(小结)
Apr 17 Javascript
浅入深出Vue之组件使用
Jul 11 Javascript
Layui动态生成select下拉选择框不显示的解决方法
Sep 24 Javascript
toString.call()通用的判断数据类型方法示例
Aug 28 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
制作美丽的拉花
2021/03/03 冲泡冲煮
php你的验证码安全码?
2007/01/02 PHP
Discuz 模板引擎的封装类代码
2008/07/18 PHP
php smarty模版引擎中的缓存应用
2009/12/11 PHP
浅析PHP微信支付通知的处理方式
2014/05/25 PHP
php基于curl主动推送最新内容给百度收录的方法
2016/10/14 PHP
List Installed Software Features
2007/06/11 Javascript
YUI Compressor压缩JavaScript原理及微优化
2013/01/07 Javascript
对table和ul实现js分页示例分享
2014/02/24 Javascript
JS长整型精度问题实例分析
2015/01/13 Javascript
BootStrap modal模态弹窗使用小结
2016/10/26 Javascript
原生JS实现图片翻书效果
2017/02/16 Javascript
浅谈JS如何实现真正的对象常量
2017/06/25 Javascript
彻底解决 webpack 打包文件体积过大问题
2017/07/07 Javascript
全面介绍vue 全家桶和项目实例
2017/12/27 Javascript
vuejs项目打包之后的首屏加载优化及打包之后出现的问题
2018/04/01 Javascript
详解关于Vue版本不匹配问题(Vue packages version mismatch)
2018/09/17 Javascript
Vuepress 搭建带评论功能的静态博客的实现
2019/02/17 Javascript
vue视图不更新情况详解
2019/05/16 Javascript
《javascript设计模式》学习笔记四:Javascript面向对象程序设计链式调用实例分析
2020/04/07 Javascript
vue搜索页开发实例代码详解(热门搜索,历史搜索,淘宝接口演示)
2020/04/11 Javascript
浅谈vue权限管理实现及流程
2020/04/23 Javascript
深入解析Python编程中super关键字的用法
2016/06/24 Python
Python当中的array数组对象实例详解
2019/06/12 Python
python分布式计算dispy的使用详解
2019/12/22 Python
python中return如何写
2020/06/18 Python
Python random模块的使用示例
2020/10/10 Python
Html5 canvas实现粒子时钟的示例代码
2018/09/06 HTML / CSS
荷兰皇家航空公司官方网站:KLM Royal Dutch Airlines
2017/12/07 全球购物
潘多拉意大利官方网上商城:网上选购PANDORA珠宝
2018/10/07 全球购物
最美乡村医生事迹材料
2014/06/02 职场文书
2014县政府领导班子三严三实对照检查材料思想汇报
2014/09/26 职场文书
思想作风整顿个人剖析材料
2014/10/06 职场文书
2016年小学推普宣传周活动总结
2016/04/06 职场文书
Python中for后接else的语法使用
2021/05/18 Python
浅谈自定义校验注解ConstraintValidator
2021/06/30 Java/Android