No idea if this would work, but off the top of my head, if the file that Safari uses as it's history were removed and then a symlink to /dev/null was put in it's place anything it tried to write to that file would just end up being nuked. Of course, if one were to try this and their computer killed a bunch of people in the process, well if you try this, you're on your own.