No quarters required

Thanks to a little assist from my coworker John Boker, the amazing Asteroids javascript from Erkie is now fully integrated into this here very web site. Alls you have to do is type asteroids on any web page of this roided up web site (just make sure the focus is not set on a text field or the URL field), and blast away.

Here is the javascript that I added to the footer of my pages:

<!-- asteroids -->
<script type="text/javascript" src=""></script>
    <script type="text/javascript">
        function asteroids()
            var s = document.createElement('script');
            s.type = 'text/javascript';
            s.src = '';
        var roids = "";
            roids += String.fromCharCode(e.which);
            if ("asteroids".indexOf(roids) != 0)
                roids = "";
            else if (roids == "asteroids")
                roids = "";


Leave a Reply