Try this in IE and don't say I didn't warn you...
file:javascript:while (true) {alert('this browser window will never see the light of day. mohahahha - Dr.Evil');}
To make your effect, I used GOOGLE and found this -> http://www.informit.com/articles/article.asp?p=30019&seqNum=3&rl=1
Can I ask if you did research on this before posting?
Bob
Is there a way to create an alert that disappears after a given amount of time?

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic