If you do an erase & install of OS X, and before you restore any data back to it you still have this problem, then it's almost impossible that your Mac is the source of the problem. Check your router, etc.
I've been having a similar problem for months now and it's gotten to the point where I can't visit certain sites and other just redirect me to nothing almost instantly...like when i try to visit weather.com!
I used to get this "windows security has detected some crap and needs you to install some junk" all the damn time on every website on both ff and safari.
Is there anyone out there who can give a solution to this problem rather than blind speculation and thread-crap? seriously, does anybody ACTUALLY KNOW something about this or is everyone just looking for an opportunity to make someone else look stupid?
It's counter-productive and foolish to come to a forum like this and ask for help, then display this kind of attitude toward those who might be able to solve your problem, especially as your very first post in the forum. It makes people not want to help you.