Skip to content

Instantly share code, notes, and snippets.

@tsmango
Last active October 11, 2015 16:48
Show Gist options
  • Save tsmango/3889097 to your computer and use it in GitHub Desktop.
Save tsmango/3889097 to your computer and use it in GitHub Desktop.
The Rails Rumble's screenshot utility will access your
official *.r13.railsrumble.com URL, but will also append
a special `screenshot` parameter for you to detect.
Example:
http://my-app.r13.railsrumble.com/?screenshot=true
To override your entry's screenshot, detect that parameter,
and serve an alternate HTML page.
The viewport of the capture tool is 1200px wide by 900px high.
Feel free to make a static page with a single centered image.
Screenshots are updated once an hour and start roughly 12 hours
into the competition.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment