It is important to understand that no website can scan your computer for malware or suspicious activity. Mac OS X will never display such a message within your web browser.
Press Command-Option-Esc to display the Force Quit Applications window. Force quit your browser to make the message go away. Restart your computer.
Read a great explanation of this scam here.