So what led you to one of the infected sites?
Did you open any unusual email attachments, follow any strange links from social sites?
I've had Adobe Flash updates pop up, which I've closed and ignored then gone to Adobe's site to cross check the version available there and download if necessary.
The latest bunch of scam emails I've been getting aside from the usual "verify bank details" ones have been purpurtedly from Apple offering the bargain of $9 for a $100 iTunes card:-
a) They don't know my name
b) since when did Apple start using Hotmail?
I delete them without opening the attachment, a bit of common sense goes a long way with things like this.