您的位置:首页 > 编程语言

如何使用代码清除IE的自动完成表单

2006-04-14 16:13 676 查看
http://community.csdn.net/Expert/topic/4057/4057856.xml?temp=.2689783

我现在只找到开/关自动完成的方法,就是将:
HKEY_CURRENT_USER/Software/Microsoft/Windows/CurrentVersion/Explorer/AutoComplete
下面的AutoSuggest的值修改为Yes或者No

这里有一个Clear Form Fields in AutoComplete的代码你参考一下:

http://www.kellys-korner-xp.com/regs_edits/autowhat.zip

下载页面
http://www.kellys-korner-xp.com/xp_tweaks.htm

我查了一下google,有个文章是这么说的:

AutoComplete Keys and Storage

The specific subkeys for different applications (appear to be) is as follows:

IE: HKEY_CURRENT_USER/Software/Microsoft/Protected Storage System Provider/S-1-5-21-839522115-1708537768-1343024091-1003/Data/e161255a-37c3-11d2-bcaa-00c04fd929db

OE: HKEY_CURRENT_USER/Software/Microsoft/Protected Storage System Provider/S-1-5-21-839522115-1708537768-1343024091-1003/Data/220d5cc1-853a-11 d0-84bc-00c04fd43f8f

FTP, Front Page and password protected web sites:
HKEY_CURRENT_USER/Software/Microsoft/Protected Storage System Provider/S-1-5-21-839522115-1708537768-1343024091-1003/Data/5e7e8100-9138-11d1-945a-00c04fc308ff

Outlook XP: HKEY_CURRENT_USER/Software/Microsoft/Protected Storage System Provider/S-1-5-21-839522115-1708537768-1343024091-1003/Data/220d5cd0-853a-11d0-84bc-00c04fd43f8f

Note: the S-1-5-21-839522........ part of the Registry key above may be different on your machine.

InfoDelivery, MSN and Identities have their own sub branches off of the Data branch. These number (other than the User number) appear to be the same from machine to machine.

在我的机器上面,这些项保存在HKEY_CURRENT_USER/Software/Microsoft/Protected Storage System Provider/S-1-5-21-1801674530-813497703-1343024091-1000而不是HKEY_CURRENT_USER/Software/Microsoft/Protected Storage System Provider/S-1-5-21-839522115-1708537768-1343024091-1003
下面,你的机器可能保存的项跟我也不一样,但是HKEY_CURRENT_USER/Software/Microsoft/Protected Storage System Provider下面只有1项。

有一个问题,默认的这个项的读写权限只开放给System,如果你要读取这个项下面的子项,需要通过RedEdt32.exe将这个项的权限开放给管理员或者当前用户。

在HKEY_CURRENT_USER/Software/Microsoft/Protected Storage System Provider/S-1-5-21-1801674530-813497703-1343024091-1000/Data/e161255a-37c3-11d2-bcaa-00c04fd929db/e161255a-37c3-11d2-bcaa-00c04fd929db下面的每一个项应该就是保存相应的网页的自动完成内容,例如HKEY_CURRENT_USER/Software/Microsoft/Protected Storage System Provider/S-1-5-21-1801674530-813497703-1343024091-1000/Data/e161255a-37c3-11d2-bcaa-00c04fd929db/e161255a-37c3-11d2-bcaa-00c04fd929db/http://www.china-pub.com:StringData
但是这些数据好像是加密的,你可能需要自己分析一下。

原文连接: http://www.kellys-korner-xp.com/xp_a.htm

Trackback: http://tb.blog.csdn.net/TrackBack.aspx?PostId=405473
[点击此处收藏本文] 发表于 2005年06月28日 10:23 AM

function hide(){showComment();}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐