Just do a system recover. You might be able to get away with not having to reinstall every program you ever put on your computer. If that doesn't work, then you'd have to do a complete reboot of the system. Then stay away from suspicious sites.
Sites which drop adware like it's nobody's...