LiamH Posted October 1, 2010 Posted October 1, 2010 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 :-)
cromertech Posted October 1, 2010 Posted October 1, 2010 (edited) Thats great fun on County's Access Denied page There are a couple of unwanted spaces in that address though between script and http 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 looks like edugeek puts them in ?? Edited October 1, 2010 by cromertech
LosOjos Posted October 1, 2010 Posted October 1, 2010 (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 October 1, 2010 by LosOjos 1
LiamH Posted October 1, 2010 Author Posted October 1, 2010 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now