View Full Version : cookies -> firefox help
Icehawk
May 7th, 2006, 01:19 AM
hi i have a question well i have firefox and i have it set so it clears cookies and every temp file and all that junk once i close it but is there a way i can keep ceratin cookies. like the login cookie for kirupa but not others?
is there a way to have like a safe list not to delete?
JoshuaJonah
May 7th, 2006, 01:25 AM
nope, i beleive you can get a thrid party program to do this for you though, at the end of the day, cookies are a text file in a folder on your comp. so you just have to have it delete all of them except certain files:)
Icehawk
May 7th, 2006, 01:30 AM
nope, i beleive you can get a thrid party program to do this for you though, at the end of the day, cookies are a text file in a folder on your comp. so you just have to have it delete all of them except certain files:)
whats the name of it?
yeh i know they are text files its just soo many i dont wann go tru thousands of them looking for kirupa.com and snowboard.com lol
like finding a needle in a hay stack
Jeff Wheeler
May 7th, 2006, 01:35 AM
You could write a simple php script to do it…
Icehawk
May 7th, 2006, 01:37 AM
unfortunally i dont have this knowledge can u help me out by explaining it or giving me an example of what to do
Jeff Wheeler
May 7th, 2006, 01:47 AM
Something like…
<?php
if ($handle = opendir('.')) {
while (false !== ($file = readdir($handle))) {
if ($file != "." && $file != "..") {
if (strpos($file,'kirupa.com')===false &&
strpos($file,'snowboard.com')===false) {
// If not kirupa.com and not snowboard.com, delete
unlink($file);
}
}
}
closedir($handle);
}
?>
Icehawk
May 7th, 2006, 01:48 AM
ty
and where would i put this file?
Jeff Wheeler
May 7th, 2006, 01:57 AM
In your cookies directory. Change the '.' in the argument of the opendir method to 'C:/Documents and Folders/… ' to the cookies directory, and then you can place it anywhere.
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.