Monday, 17 January 2011

Blast away web ads (for fun)

Best thing ever? No, don't be stupid.

It's pretty fun though.

Today I was told about this lovely bit of JavaScript which lets you zap-shoot-fly-blast your way around your internet browser.

It's brilliant.

Visit your favourite website (or any website) then visit this web address (ie. copy and paste the below as you would a website address and hit enter):

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 away you go. Arrow keys to move about, space to shoot, Esc to quit. And don't worry, you're not blasting away important stuff, just refresh the page (F5 in most browsers) to get back all that stuff you destroyed. And yes it's safe, it's just fun web-stuffs.