Journal #6795

Posted 14 years ago2010-09-29 13:15:54 UTC
More Javascript neatness:
javascript:var%20s%20=%20document.createElement('script');s.type='text/javascript';document.body.appendChild(s);s.src='http://erkie.github.com/asteroids.min.js';void(0);
Paste that into your browser and you can play Asteroids on any website (yes, you can blow shit up!)! :D

11 Comments

Commented 14 years ago2010-09-29 13:45:20 UTC Comment #38428
Where's the submit button?
Commented 14 years ago2010-09-29 13:56:52 UTC Comment #38429
That's a pretty awesome script.
Commented 14 years ago2010-09-29 13:59:17 UTC Comment #38427
LOL, that is brilliant.
Commented 14 years ago2010-09-29 14:27:22 UTC Comment #38434
time to blow facebook up. Nobody needs those extra notifications
Commented 14 years ago2010-09-29 14:54:02 UTC Comment #38425
doesn't work.
Commented 14 years ago2010-09-29 15:26:19 UTC Comment #38430
What browser are you using Skals? The controls are the arrow keys and space bar. If it's Opera you're using, TWHL's forced line breaks are most likely the problem. This should work in Opera:
javascript:var s=document.createElement('script');
s.type='text/javascript';
document.body.appendChild(s);s.src=
'http://erkie.github.com/asteroids.min.js';void(0);
Commented 14 years ago2010-09-29 15:38:04 UTC Comment #38426
firefox.
Commented 14 years ago2010-09-29 15:39:44 UTC Comment #38431
It works just fine for me in 4.0b6.
Commented 14 years ago2010-09-29 18:39:07 UTC Comment #38433
I don't welcome javascripts of unknown origin.
Commented 14 years ago2010-09-29 19:02:25 UTC Comment #38432
It's fun! If you're having trouble, just delete the entire URL and paste the script in, then press enter.
Commented 14 years ago2010-09-30 18:07:21 UTC Comment #38424
AMAZING

You must log in to post a comment. You can login or register a new account.