Live data from Hacker News

Asteroids JavaScript Bookmarklet to blow up any web site

erkie.github.com

21–30 of 77 posts

Re: Asteroids JavaScript Bookmarklet to blow up any web site

#21
Reminds me of Quelsolaar's excellent toolkit for his LOVE game: http://www.quelsolaar.com/love/tool_video.html

It also has Asteroids integrated in a similar way, as shown at around 70% into the video (unfortunately the video doesn't have a timecode, but it's worth watching in its entirety anyway.)

Re: Asteroids JavaScript Bookmarklet to blow up any web site

#22
post #15

what an awesome stress reliever. now i can get points for destroying facebook.

Protip for the paranoid: the author could nab your session cookie at the same time, too! :)

Could, but doesn't: http://github.com/erkie/erkie.github.com/blob/master/asteroi...

Though, it appears he was trying to implement high scores, which would send some information to another site, including document.location.href, but it is commented out in the version I linked, and removed in the minified version.

Re: Asteroids JavaScript Bookmarklet to blow up any web site

#25
post #22
post #15

Earlier quoted context omitted.

Protip for the paranoid: the author could nab your session cookie at the same time, too! :)

Could, but doesn't: http://github.com/erkie/erkie.github.com/blob/master/asteroi... Though, it appears he was trying to implement high scores, which would send some information to another site, including document.location.href, but it is commented out in the version I linked, and removed in the minified version.

> Could, but doesn't

Could, but doesn't yet.

If you're not locally rehosting the 'known-good' version that you just audited, you're not being paranoid enough.

Re: Asteroids JavaScript Bookmarklet to blow up any web site

#29
Holy crap, I had an extremely similar idea last month for a bookmarklet that let you machine gun and blow up pages. In fact, it's sitting half complete in a projects folder. Erkie, get out of my head!!!!

At least it's open source, so I guess I can fork it and add in my ideas.

Re: Asteroids JavaScript Bookmarklet to blow up any web site

#30
post #4

This is absolutely brilliant.

It would be awesome to add some js to a website you own to spawn a computer controlled defender if someone uses this script on your site.

I wrote a defense: http://github.com/bl4k/astroid-defense

(bit scrappy, 10 min of code, but funny)

(test it by running asteroids on this page: http://bl4k.github.com/)

Post reply on HN