• Earn real money by being active: Hello Guest, earn real money by simply being active on the forum — post quality content, get reactions, and help the community. Once you reach the minimum credit amount, you’ll be able to withdraw your balance directly. Learn how it works.

AutoIT Delete Cookis Firfox & Chrome All Windows

Status
Not open for further replies.

rayane888

LvL-23
User
Joined
Dec 5, 2011
Messages
131
Reputation
0
Reaction score
735
Points
93
Credits
0
‎13 Years of Service‎
44%
[HIDE-THANKS]

;~ //////////////////////////

;~ ////

;~ ////
This link is hidden for visitors. Please Log in or register now.


;~ ////

;~ //// Mr.888

;~ ////

;~ //// Delete Cookis Firfox & Chrome

;~ ////

;~ //////////////////////////

Func _Chrome()

ProcessClose("chrome.exe")

Sleep(1000)

If @OSVersion = "WIN_XP" Then

$dPath=(@UserProfileDir & "\Local Settings\Application Data\Google\Chrome\User Data\Default")

$dPath_Cache=(@UserProfileDir & "\Local Settings\Application Data\Google\Chrome\User Data\Default\Cache")

Else

$dPath = (@UserProfileDir & "\AppData\Local\Google\Chrome\User Data\Default")

$dPath_Cache = (@UserProfileDir & "\AppData\Local\Google\Chrome\User Data\Default\Cache")

EndIf

FileDelete($dPath & "" & "Cookies")

FileDelete($dPath & "" & "Cookies-journal")

FileDelete($dPath & "" & "Current Session")

FileDelete($dPath & "" & "History")

FileDelete($dPath & "" & "History-journal")

DirRemove($dPath_Cache, 1)

EndFunc

Func _FireFox()

ProcessClose("firefox.exe")

Sleep(1000)

If @OSVersion = "WIN_XP" Then

DirRemove(@UserProfileDir & "\Application Data\Mozilla\Firefox\Profiles")

FileDelete(@UserProfileDir & "\Application Data\Mozilla\Firefox\profiles.ini")

Else

DirRemove(@AppDataDir & "\Mozilla\Firefox\Profiles")

FileDelete(@AppDataDir & "\Mozilla\Firefox\profiles.ini")

EndIf

EndFunc

[/HIDE-THANKS]

 
Status
Not open for further replies.
Back
Top