Update: the original version of this gist required you to put some stuff into your Browser Console. I've made it easier now - there's a Firefox add-on you can install instead:
This will add a button to your toolbar (the green square), which upon clicking will copy the grid to your clipboard. Have fun!