Hi 🙂
the script detailed there is fairly limited, intended to clean up what a full Safari reset leaves behind, ... even then it seems limited, but presumably it does the trick.
anyway, you surely don;t need a script to do that, since all the files removed are in the user's home library folder.
#!/bin/bash
echo "Deleting evercookie locations Safari missed (see samy.pl/evercookie)"
rm -r ~/Library/Safari/Databases/*
rm -r ~/Library/Safari/LocalStorage/*
rm -r ~/Library/Preferences/Macromedia/Flash Player/#SharedObjects/*
echo - just writes to the screen
rm - removes (deletes) files or folders
so there's just three useful lines which remove all the files in these folders
~/Library/Safari/Databases/
~/Library/Safari/LocalStorage/
~/Library/Preferences/Macromedia/Flash Player/#SharedObjects/
You can use Finder to see those yourself & trash them, paste the lines into Safari's address bar if you've any trouble locating them. Trash the whole folder, Safari will create new ones next time it runs.
Like they say, quit Safari before trashing them ( & consider dumping the entire Macromedia folder )