Jump to content

Recommended Posts

Posted

Go to a web page, then past this into the address bar

 

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)

 

Hit enter then use the asteroid ship to shoot down individual html elements

 

Arrow keys + spacebar to control the ship

 

Hold B to see remaining targets

 

:-)

Posted (edited)
Doesn't work

 

It does, EduGeek is just screwing with the string, it should be this:

 

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)

 

and you'll probably need to tab back to the main window once you hit enter to be able to control the ship.

 

Nice little time waster :)

 

EDIT:

I've created a bookmark with that script as the address, just a simpler way of doing it :)

Edited by LosOjos
  • Thanks 1
Posted

Looks like it, strip the spaces out hightower and it should work.

 

try this

 

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)

 

Edit:

too slow thanks los0jos

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...