Last week I was using the latest Safari, searching Google Images for "Child Labor." Safari popped up a dialog window, saying it had "discovered" three Trojans. It offered to "scan" my drive for more. I DIDN'T want to hit either the YES or the NO button - not knowing what commands they actually would send. I wanted to close the dialog window with the small red button in the upper left corner red-yellow-green trio, and then close the offending page. However, the dialog window close button was disabled.
Safari doesn't "scan" and Safari doesn't look for trojans, so this dialog window was bogus. The prudent thing would have been to "Force Quit" the entire Safari application. I wasn't ready to force quit Safari just then because I had something like 20 tabs in 3 windows open. I just wanted to dump the offending page and get on with my work. I am adventurous, I have time machine backups, and I am not giving up my administrator password. So I clicked "NO" I don't want to scan my drive.
Just as I had anticipated Safari (actually the web page) disregarded my "choice" and started "scanning my drive" and in the space of 2 seconds had discovered 17 more trojans and viruses on both my "C" and my "D" drive.
Well, I have a mid range late 2008 MacBook Pro and run 10.6.7. It's a sturdy machine and quick enough for what I use it for - but in no way can it even begin to scan the 250 gig hard drive in a couple of seconds. And, uh, I ain't got no stinkin "C" or "D" drive (and my drive isn't named "Macintosh HD" either.). It was a "movie" that was being played to scare me into purchasing some software. (I say "movie" for lack of a better term - it was probably Java since I don't allow Flash to run on its own without adult supervision.)
The "Movie" was captivating. Lots of flashing words and red text, and I wasn't able to close the page. If it had a soundtrack to accompany it I would have been a goner and seized up in a little ball. I decided I had enough of this and forced quit Safari.
Playing fast and loose I decided to relaunch Safari immediately, and it behaved properly on my home page. I then went into history and told it to "reopen all windows from last session." It started loading all 20+ windows and I navigated over to the offending window and killed it before it could download enough code to re-hijack Safari again. I then went about my work.
Lesson: 1. Observe what is being thrown up in front of you; is it logical ? Would Safari be scanning for viruses? Are windows behaving like they should ? 2. Is it obeying your commands to quit or close windows ? 3. Are its "results" making sense? Why does it say I have "C" drive? How can it scan in 2 seconds ? and 4. If it has flashing lights and lots of red words and lots of movement and lots of offers to "help" you with this terrible problem then it is BOGUS ! Force Quit and shut down your machine and don't give up any passwords until you log in from a cold start. ( anything beyond the Force Quit is probably not necessary - but it's better being safe than sorry, especially if you just got vertigo from the previous lightshow.)
My big takeaway complaint from all of this is why isn't Safari written to ALWAYS allow you to close dialog windows ?