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

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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值