The HN homepage is very reliant on everything being there. One shot to a number did this: http://skitch.com/jackowayed/d29n5/hn-ass-kicked
Asteroids JavaScript Bookmarklet to blow up any web site
61–70 of 77 posts
Re: Asteroids JavaScript Bookmarklet to blow up any web site
#62Awesome. Now someone needs to combine it with websockets/node.js (or similar) so I can see the other players on the same page!
Exactly what you wanted: http://realitymachine.net/asteroids.html And the HN article, if you want to drum up some more players: http://news.ycombinator.com/item?id=1738543 I hacked together a very (very) basic multiplayer with a paper-thin node.js server in coffeescript. Yes, really: http://github.com/cushman/asteroids.js It might deserve a newspost of its own, but I'd like to have a working server running so people…
Re: Asteroids JavaScript Bookmarklet to blow up any web site
#63Re: Asteroids JavaScript Bookmarklet to blow up any web site
#64Holy 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
#65Re: Asteroids JavaScript Bookmarklet to blow up any web site
#66Re: Asteroids JavaScript Bookmarklet to blow up any web site
#67This + the AutoPager extension for Chrome = infinite game
Re: Asteroids JavaScript Bookmarklet to blow up any web site
#68Does anyone want to explain how this works? I had no idea dragging onto a tab could start up javascript on a page. It's amazing!
javascript:function se(d) {return d.selection ? d.selection.createRange().text : d.getSelection()} s = se(document); for (i=0; i<frames.length && !s; i++) s = se(frames[i].document); if (!s || s=='') s = prompt('Enter%20search%20terms%20for%20HackerNews',''); var goo = 'http:'; var g = '//'; var le = 'www.google.com/'; open(goo + g + le + (s ? '#q=site%3Anews.ycombinator.com ' + encodeURIComponent(s) : '')).focus();
Re: Asteroids JavaScript Bookmarklet to blow up any web site
#69Holy 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
#70Someone should add touch events so it works on iPad / iPhone.