Too true. I hope I won't be too annoying if I mention sandboxing again but it is an effective way of doing just that. I've had a couple of occasions when I've clicked on an innocent looking link and then the browser started behaving peculiarly. It once just shut down to a small grey advertisng box in the right-hand corner of the monitor. Shows the power of a malicious script if unlucky enough to come across one.Best thing to do is not get the crap on your pc in the first place.
I don't know if Avast (running that at the time) or any other program I have in place would have sorted that out, or if it would have even lead to HighjackThis logs being necessary. The case was that the sandbox had contained the problem and emptying it made everything work properly again. Nothing else needed.
I can't praise sandboxing enough, although I realise not everyone shares the enthusiasm. My only worry is that Sandboxie won't work with 64 bit operating systems because of certain Microsoft restrictions. I may eventually have to stop using it because of that (when 'new computer' time comes).