时间:2021-05-28
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 last25 (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.
声明:本页内容来源网络,仅供用户参考;我单位不保证亦不表示资料全面及准确无误,也不保证亦不表示这些资料为最新信息,如因任何原因,本网内容或者用户因倚赖本网内容造成任何损失或损害,我单位将不会负任何法律责任。如涉及版权问题,请提交至online#300.cn邮箱联系删除。
复制代码代码如下:AutoComplete.asmx复制代码代码如下:AutoComplete.cs复制代码代码如下:usingSystem;usingSyst
autocomplete官网:http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/(
只要有三个文件:一个js插件autocomplete.js和autocomplete.css两个文件,这是jquery官方网站提供的插件;他们的下载地址:htt
什么是HTML5的form自动完成功能?首先,HTML5中有个新属性autocomplete,autocomplete属性规定表单是否应该启用自动完成功能,它自
复制代码代码如下:jQuery.autocomplete=function(input,options){//Createalinktoselfvarme=th