Jump to content
Sign in to follow this  
kforsey

Delete Cookies?

Recommended Posts

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 :)

Share this post


Link to post
Share on other sites

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 by MarkMarkMark

Share this post


Link to post
Share on other sites

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.

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...