Write a code using HTML, JavaScript, jQuery to make the page go into infinite loop.
Restrictions:
No looping or control structures of javascript and jQuery allowed. You can only use alert, events, etc.
|
Write a code using HTML, JavaScript, jQuery to make the page go into infinite loop. Restrictions: No looping or control structures of javascript and jQuery allowed. You can only use alert, events, etc. |
|||||||||||
|
May not meet your conditions, but I like it. (And it does crash your browser.) More information about this: Why does $($) crash my page? |
|||||||||
|
|
How about a meta refresh?
I removed the quotation marks around the parameter values because code golf. |
|||
|
|
|
This reloads the page as soon as it loads:
Or you could bring up infinite alert boxes (until the user disables them):
|
|||||
|
|
This will reload the browser indefinitely:
(Unless the browser specifically blocks repeated reloads.) |
|||
|
|