Popup & Focus URL Hijacking
I apologize ahead of time for whomever first sent me this – it’s been so long now that I have long since lost the original email. But at some point a few years ago someone sent me a small snippet of JavaScript that could cause a page to be replaced by another page in such a way that if you looked at the URL bar, it didn’t matter because after you looked at it – a few seconds later – it would be replaced by the evil site. Well, today I spent a few minutes toying around with other potential uses for that same code
See the article here:
Popup & Focus URL Hijacking