Snippet for the Firefox about:home page that let you play with a fox. Jump over enemies, catch stars and make a lot of points!
- Set up home-snippets-server and install home-snippets-switcher.
- Open a terminal.
git clone git://github.com/mozilla/about-home-jumping-fox-game.git
cd about-home-jumping-fox-game
make
- Paste the contents of
./bin/index.html
into a new snippet via the home-snippets-server admin interface.- If you started the home-snippets-server with
python manage.py runserver
the admin interface is located at http://localhost:8000/admin/.
- If you started the home-snippets-server with
- In the
about-home-jumping-fox-game
directory, run the commandpython -m SimpleHTTPServer 3033
- This runs a web server in the current directory on port 3033. If you want to use a different port, you will have to change the command as well as changing the iframe link in the snippet code.
- Navigate to
about:home
and make sure you point the home-snippets-switcher tohttp://localhost:8000