Asteroids script for any webpage

Wouldn’t it be nice to play Asteroids on your browser and shoot up a few crappy webpages?

Open up your browser, open your favourite website (www.pcrepairmansblog.com) and paste the following code into your address bar:

javascript:var%20s%20=%20document.createElement('script');s.type='text/javascript';document.body.appendChild(s);s.src='https://erkie.github.com/asteroids.min.js';void(0);

 

 

Instructions

Press Esc to quit

Use the arrow keys to navigate and spacebar to shoot.

Zap the images, adverts, menus, whatever you want!

 

Kudos to erkie over at GitHub for the splendid javascript!
 
Update: Looks like he’s developed the script and gone a bit commercial on us. Shame really but hey-ho, we all need to make a buck. Consequently, the code above doesn’t work but I’ll leave it up in case he ever changes his mind.

Leave a Reply

Your email address will not be published. Required fields are marked *