Yep its a scam. I think that's the one they fooled my grandma with. I also had a co-worker (who lacks any kind of computer etiquette) click on something similar and it took over his work laptop, I had to lock down the whole LAN at work for a while, we took that laptop to get worked on at a local computer store, and now I have everyone using firefox with ad blockers and such. I also have been making clones of everyone's hard drives here at work just incase.
TL;DR use a good ad blocker in your web browser so you don't see this kind of crap. Or better yet use Linux/BSD