Clearing long lived Flash cookies on Mac OS X
Posted by Tariq • Tuesday, March 16. 2010 • Category: Tidbits
Flash apps have cookies and they don't disappear when you clear your browser cookies. In the terminal type the following:
Surprised? You'll probably see a long list of sites you haven't visited anytime recently. To remove these creepy cookies do a:
The paranoid among you might want to create a script with a line like the following in there:
This can be added to your daily cron task and will delete any cookie directories older than 7 days.
ls ~/Library/Preferences/Macromedia/Flash\ Player/#SharedObjects/*/
Surprised? You'll probably see a long list of sites you haven't visited anytime recently. To remove these creepy cookies do a:
rm -r ~/Library/Preferences/Macromedia/Flash\ Player/#SharedObjects/*/
The paranoid among you might want to create a script with a line like the following in there:
find ~/Library/Preferences/Macromedia/Flash\ Player/#SharedObjects/*/ -type d -mtime +7 -exec rm -r {} \;This can be added to your daily cron task and will delete any cookie directories older than 7 days.
Fri, 27.08.2010 16:46
Hey! Thanks. This works great in my browser.