If you see errors only on your browser, probably some adware got installed on the browser itself.
If the warnings are inside your OS X then you may try to scan your Mac with ClamXav, it's a open source antivirus which runs only when you ask to, so it will not slow down the mac.