ClearMyTracksByProcess - 所有选项?

Jon*_*aze 2 windows internet-explorer rundll32.exe

我已经看到 ClearMyTracksByProcess 的值列表在互联网上浮动

Delete Temporary Internet Files:
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 8

Delete Cookies:
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 2

Delete History:
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 1

Delete Form Data:
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 16

Delete Passwords:
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 32

Delete All:
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 255

Delete All + files and settings stored by Add-ons:
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 4351
Run Code Online (Sandbox Code Playgroud)

但这不是所有选项的完整列表,我似乎无法找到完整列表(无论是没有发布,还是已重新发布过多次并占用所有搜索结果,我'我不确定)。

我想要做的是删除 Cookies + Temp + 附加组件,但保留历史记录、表单数据和密码。有没有人找到所有可用选项的完整列表?或者只是附加组件的选项,所以我可以自己做数学?(例如附加组件值 + 8 + 2 = 我正在寻找的答案)

谢谢你看我的问题!

小智 5

Selenium IEDriver 来源

// This magic value is the combination of the following bitflags:
// #define CLEAR_HISTORY         0x0001 // Clears history
// #define CLEAR_COOKIES         0x0002 // Clears cookies
// #define CLEAR_CACHE           0x0004 // Clears Temporary Internet Files folder
// #define CLEAR_CACHE_ALL       0x0008 // Clears offline favorites and download history
// #define CLEAR_FORM_DATA       0x0010 // Clears saved form data for form auto-fill-in
// #define CLEAR_PASSWORDS       0x0020 // Clears passwords saved for websites
// #define CLEAR_PHISHING_FILTER 0x0040 // Clears phishing filter data
// #define CLEAR_RECOVERY_DATA   0x0080 // Clears webpage recovery data
// #define CLEAR_PRIVACY_ADVISOR 0x0800 // Clears tracking data
// #define CLEAR_SHOW_NO_GUI     0x0100 // Do not show a GUI when running the cache clearing
//
// Bitflags available but not used in this magic value are as follows:
// #define CLEAR_USE_NO_THREAD      0x0200 // Do not use multithreading for deletion
// #define CLEAR_PRIVATE_CACHE      0x0400 // Valid only when browser is in private browsing mode
// #define CLEAR_DELETE_ALL         0x1000 // Deletes data stored by add-ons
// #define CLEAR_PRESERVE_FAVORITES 0x2000 // Preserves cached data for "favorite" websites
#define CLEAR_CACHE_OPTIONS 0x09FF
Run Code Online (Sandbox Code Playgroud)

来自winaero.com/blog

// Delete only download history    
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 16384
Run Code Online (Sandbox Code Playgroud)