kforsey Posted April 26, 2005 Posted April 26, 2005 Hey, I was wondering it it's possible to make a type of a Shortcut to deleting your cookies with auto it. I find it a pain to constantly go into options in IE or Mozilla. Does anyone know how it would be possible to create a shortcut to erasing cookies, or if n e one knows of an allready pre made program please let me know, thanks
MarkMarkMark Posted April 26, 2005 Posted April 26, 2005 (edited) Run('control inetcpl.cpl') WinWait('Internet Properties') ControlClick('Internet Properties', '', 'Button6') WinWait('Delete Cookies') ControlClick('Delete Cookies', '', 'Button1') If Not WinWaitActive('Internet Properties') Then WinActivate('Internet Properties') ControlClick('Internet Properties', '', 'Button7') WinWait('Delete Files') ControlClick('Delete Files', '', 'Button2') If Not WinWaitActive('Internet Properties') Then WinActivate('Internet Properties') ControlClick('Internet Properties', '', 'Button10') WinWait('Internet Options') ControlClick('Internet Options', '', 'Button1') WinWait('Internet Properties') ControlClick('Internet Properties', '', 'Button15') Edited April 26, 2005 by MarkMarkMark
Westi Posted April 26, 2005 Posted April 26, 2005 A shorter script:$reg = RegRead ( "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders", "Cookies" ) ;MsgBox(4096, "Cookies stored in: ", $reg ) FileDelete ( $reg & "\*.txt" ) ;delete immediatly ;FileRecycle( $reg & "\*.txt" ) ;send to recycle bin Mozilla and Opera stored the cookies in the profile dir. Delete cookies.txt for Mozilla and cookies4.dat for Opera. Maxthon, an IE extension, has an option to delete cookies automatically when closing.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now