Sign in to follow this  
Followers 0
cypher175

How Can I Clear IE's Cookies..?

7 posts in this topic

Is there any function/Code/Script to clear all of Internet Explorer's cookies at all..??

Share this post


Link to post
Share on other sites



Here is an old one, I have not tested for a long time

Run('control inetcpl.cpl',"", @SW_HIDE) ; ******* make it hide after checking
WinWait('Internet Properties')
WinSetState('Internet Properties', '', @SW_HIDE); ****** hide????


ControlClick('Internet Properties', '', 'Button5')

WinSetState('Temporary Internet Files and History Settings', '', @SW_HIDE);

WinWait('Temporary Internet Files and History Settings')
WinSetState('Temporary Internet Files and History Settings', '', @SW_HIDE); ****** hide????

ControlClick('Temporary Internet Files and History Settings', '', 'Edit1')
ControlSetText('Temporary Internet Files and History Settings', '', 'Edit1', "128") ; number 8 ????

ControlClick('Temporary Internet Files and History Settings', '', 'Button9') ; click OK

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

would there be anyway to just delete all the files in "C:\Documents and Settings\@UserName\Cookies" except for the file "index.dat"..??

Share this post


Link to post
Share on other sites

how come this wont work..??

FileDelete(@UserProfileDir&"\Cookies")

Share this post


Link to post
Share on other sites

how come this wont work..??

FileDelete(@UserProfileDir&"\Cookies")
Because they are not "really" there as files like you would think.

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0