We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
Looping Alert That never stops
Topic Started: Apr 4 2005, 12:23 PM (719 Views)
JCink
Member
[ *  *  *  *  * ]
Is there a way to create a looping javascript alert? That doesn't stop popping up? Does anyone know the code if such a thing exists? thanks...
Offline Profile Quote Post Goto Top
 
Stefan
Member Avatar
Mew?
[ *  *  *  *  *  *  * ]
Code:
 
<script>
for (;;) {
  alert('blah')
}
</script>

I'm too scared to test it :ph34r:
Offline Profile Quote Post Goto Top
 
Jory
Member Avatar
Member
[ *  *  *  *  *  * ]
I'm stupid enough to test it :P
IE freezes.
FF doesn't, but becomes unusable.

So it works.

btw: what do you need this for??
Offline Profile Quote Post Goto Top
 
JCink
Member
[ *  *  *  *  * ]
Morons in shoutboxes.

Banning them just isn't enough. What I have been using is a simple alert script, that does okay but then there's the smart ones that know how to press enter & fly through it.

Thanks for testing and the code.

IE freezes? hmmmm, I'll try it. I was looking for something that wouldn't crash anything.
Offline Profile Quote Post Goto Top
 
Jory
Member Avatar
Member
[ *  *  *  *  *  * ]
It did here.
But might just be because the 4843483 IE extra toolbars installed.
(Long live pc's shared with rest of familie :( )
Offline Profile Quote Post Goto Top
 
kingy
1 in 10 people understands binary, the other 1 doesn't
[ *  *  *  *  *  * ]
lol...if annoying somebody is what you want there are better ways

you can make a loop that launches pop-ups. then the popups can do annoying stuff lol!
Offline Profile Quote Post Goto Top
 
JCink
Member
[ *  *  *  *  * ]
Yeah, but I'm just looking for something that won't crash the persons computer, else can't I be held responsible for that? If the worst it does is make them have to turn off IE or firefox, or just restart their PC that doesn't break anything, just annoying.

thanks guys this is just what I needed.
Offline Profile Quote Post Goto Top
 
drangonsile
Member
[ *  *  *  * ]
YOU ARE EVIL! all of you. inf popups?!
Offline Profile Quote Post Goto Top
 
JCink
Member
[ *  *  *  *  * ]
hey if you had to cleanup a spam mess from some idiot in a shoutbox all the time you'd want this code so bad to sick on them. :rofl:
Offline Profile Quote Post Goto Top
 
RagingFuryBlack-ZNS
Member
[ *  *  * ]
heeh ebul. wonderfully ebul.
Offline Profile Quote Post Goto Top
 
Das
Member Avatar
Smells of rich mahogany
[ *  *  *  *  *  *  * ]
JCink
April 4, 2005 01:46 PM
Yeah, but I'm just looking for something that won't crash the persons computer, else can't I be held responsible for that? If the worst it does is make them have to turn off IE or firefox, or just restart their PC that doesn't break anything, just annoying.

thanks guys this is just what I needed.

Why don't you just force them to another site? (Re-direct)
Offline Profile Quote Post Goto Top
 
FearKiller
Member Avatar
www.drewscripts.com
[ *  *  *  *  * ]
This is why people turn javascript off :P
Offline Profile Quote Post Goto Top
 
Das
Member Avatar
Smells of rich mahogany
[ *  *  *  *  *  *  * ]
FearKiller
April 4, 2005 08:04 PM
This is why people turn javascript off :P

I forgot you could do that. *Trys to find away to prevent people from turning JS off*
Offline Profile Quote Post Goto Top
 
JCink
Member
[ *  *  *  *  * ]
That's true.

But n00bs who spam shoutboxes with moronic things probably have less a clue about how to turn their computer on let alone turn javascript on and off so I'm not worried. :o
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Technology Chat · Next Topic »
Add Reply