Where does Internet Explorer stores its form data history that is uses for auto completion?

♀尐吖头ヾ 提交于 2019-12-08 05:22:40

问题


Where does Internet Explorer stores its form data history that is uses for auto completion?

I need to make a tool the cleans IE form data.

Is there an API for this?
Or what are the registry keys?


回答1:


Autocomplete data is stored in the registry in two places:

HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\IntelliForms\Storage1 HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\IntelliForms\Storage2

Direct manipulation is not supported.

Technically, the IE7+ API to do this is:

rundll32.exe inetcpl.cpl,ClearMyTracksByProcess 48

But I'm not sure this is formally supported for public callers.




回答2:


I'm not sure what the registry keys are, but you could work it out by taking a snapshot of your registry, then deleting your form data history, and comparing it and seeing what's different.

I doubt there's an API for it, but that's just a guess.




回答3:


Have a look at "Clear All History" Its a tool to do what you exactly need.

You will find similar open source tools. Try googling for them.

In Hindsight you would also want to check out CCleaner. Its freeware and equally a fantastic tool to keep, amongst others, your internet history clean.



来源:https://stackoverflow.com/questions/1276700/where-does-internet-explorer-stores-its-form-data-history-that-is-uses-for-auto

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!